Initial commit
commit
b6ca6a8218
@ -0,0 +1,26 @@
|
|||||||
|
#
|
||||||
|
# Licensed to the Apache Software Foundation (ASF) under one
|
||||||
|
# or more contributor license agreements. See the NOTICE file
|
||||||
|
# distributed with this work for additional information
|
||||||
|
# regarding copyright ownership. The ASF licenses this file
|
||||||
|
# to you under the Apache License, Version 2.0 (the
|
||||||
|
# "License"); you may not use this file except in compliance
|
||||||
|
# with the License. You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing,
|
||||||
|
# software distributed under the License is distributed on an
|
||||||
|
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
|
# KIND, either express or implied. See the License for the
|
||||||
|
# specific language governing permissions and limitations
|
||||||
|
# under the License.
|
||||||
|
|
||||||
|
.DS_Store
|
||||||
|
|
||||||
|
# Generated by package manager
|
||||||
|
node_modules/
|
||||||
|
|
||||||
|
# Generated by Cordova
|
||||||
|
/plugins/
|
||||||
|
/platforms/
|
||||||
@ -0,0 +1,25 @@
|
|||||||
|
{
|
||||||
|
"version": "0.2.0",
|
||||||
|
"configurations": [
|
||||||
|
{
|
||||||
|
"name": "Run Android on emulator",
|
||||||
|
"type": "cordova",
|
||||||
|
"request": "launch",
|
||||||
|
"platform": "android",
|
||||||
|
"target": "Pixel_4_API_30",
|
||||||
|
"port": 9222,
|
||||||
|
"sourceMaps": true,
|
||||||
|
"cwd": "${workspaceFolder}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Run Android on device",
|
||||||
|
"type": "cordova",
|
||||||
|
"request": "launch",
|
||||||
|
"platform": "android",
|
||||||
|
"target": "device",
|
||||||
|
"port": 9222,
|
||||||
|
"sourceMaps": true,
|
||||||
|
"cwd": "${workspaceFolder}"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@ -0,0 +1,80 @@
|
|||||||
|
// Type definitions for Apache Cordova
|
||||||
|
// Project: http://cordova.apache.org
|
||||||
|
// Definitions by: Microsoft Open Technologies Inc. <http://msopentech.com>
|
||||||
|
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||||
|
//
|
||||||
|
// Copyright (c) Microsoft Open Technologies, Inc.
|
||||||
|
// Licensed under the MIT license.
|
||||||
|
|
||||||
|
interface Cordova {
|
||||||
|
/** Invokes native functionality by specifying corresponding service name, action and optional parameters.
|
||||||
|
* @param success A success callback function.
|
||||||
|
* @param fail An error callback function.
|
||||||
|
* @param service The service name to call on the native side (corresponds to a native class).
|
||||||
|
* @param action The action name to call on the native side (generally corresponds to the native class method).
|
||||||
|
* @param args An array of arguments to pass into the native environment.
|
||||||
|
*/
|
||||||
|
exec(success: () => any, fail: () => any, service: string, action: string, args?: string[]): void;
|
||||||
|
/** Gets the operating system name. */
|
||||||
|
platformId: string;
|
||||||
|
/** Gets Cordova framework version */
|
||||||
|
version: string;
|
||||||
|
/** Defines custom logic as a Cordova module. Other modules can later access it using module name provided. */
|
||||||
|
define(moduleName: string, factory: (require: any, exports: any, module: any) => any): void;
|
||||||
|
/** Access a Cordova module by name. */
|
||||||
|
require(moduleName: string): any;
|
||||||
|
/** Namespace for Cordova plugin functionality */
|
||||||
|
plugins:CordovaPlugins;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface CordovaPlugins {}
|
||||||
|
|
||||||
|
interface Document {
|
||||||
|
addEventListener(type: "deviceready", listener: (ev: Event) => any, useCapture?: boolean): void;
|
||||||
|
addEventListener(type: "pause", listener: (ev: Event) => any, useCapture?: boolean): void;
|
||||||
|
addEventListener(type: "resume", listener: (ev: Event) => any, useCapture?: boolean): void;
|
||||||
|
addEventListener(type: "backbutton", listener: (ev: Event) => any, useCapture?: boolean): void;
|
||||||
|
addEventListener(type: "menubutton", listener: (ev: Event) => any, useCapture?: boolean): void;
|
||||||
|
addEventListener(type: "searchbutton", listener: (ev: Event) => any, useCapture?: boolean): void;
|
||||||
|
addEventListener(type: "startcallbutton", listener: (ev: Event) => any, useCapture?: boolean): void;
|
||||||
|
addEventListener(type: "endcallbutton", listener: (ev: Event) => any, useCapture?: boolean): void;
|
||||||
|
addEventListener(type: "volumedownbutton", listener: (ev: Event) => any, useCapture?: boolean): void;
|
||||||
|
addEventListener(type: "volumeupbutton", listener: (ev: Event) => any, useCapture?: boolean): void;
|
||||||
|
|
||||||
|
removeEventListener(type: "deviceready", listener: (ev: Event) => any, useCapture?: boolean): void;
|
||||||
|
removeEventListener(type: "pause", listener: (ev: Event) => any, useCapture?: boolean): void;
|
||||||
|
removeEventListener(type: "resume", listener: (ev: Event) => any, useCapture?: boolean): void;
|
||||||
|
removeEventListener(type: "backbutton", listener: (ev: Event) => any, useCapture?: boolean): void;
|
||||||
|
removeEventListener(type: "menubutton", listener: (ev: Event) => any, useCapture?: boolean): void;
|
||||||
|
removeEventListener(type: "searchbutton", listener: (ev: Event) => any, useCapture?: boolean): void;
|
||||||
|
removeEventListener(type: "startcallbutton", listener: (ev: Event) => any, useCapture?: boolean): void;
|
||||||
|
removeEventListener(type: "endcallbutton", listener: (ev: Event) => any, useCapture?: boolean): void;
|
||||||
|
removeEventListener(type: "volumedownbutton", listener: (ev: Event) => any, useCapture?: boolean): void;
|
||||||
|
removeEventListener(type: "volumeupbutton", listener: (ev: Event) => any, useCapture?: boolean): void;
|
||||||
|
|
||||||
|
addEventListener(type: string, listener: (ev: Event) => any, useCapture?: boolean): void;
|
||||||
|
removeEventListener(type: string, listener: (ev: Event) => any, useCapture?: boolean): void;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface Window {
|
||||||
|
cordova:Cordova;
|
||||||
|
}
|
||||||
|
|
||||||
|
// cordova/argscheck module
|
||||||
|
interface ArgsCheck {
|
||||||
|
checkArgs(argsSpec: string, functionName: string, args: any[], callee?: any): void;
|
||||||
|
getValue(value?: any, defaultValue?: any): any;
|
||||||
|
enableChecks: boolean;
|
||||||
|
}
|
||||||
|
|
||||||
|
// cordova/urlutil module
|
||||||
|
interface UrlUtil {
|
||||||
|
makeAbsolute(url: string): string
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Apache Cordova instance */
|
||||||
|
declare var cordova: Cordova;
|
||||||
|
|
||||||
|
declare module 'cordova' {
|
||||||
|
export = cordova;
|
||||||
|
}
|
||||||
@ -0,0 +1,18 @@
|
|||||||
|
<?xml version='1.0' encoding='utf-8'?>
|
||||||
|
<widget id="dk.bpfilip.aafestival" version="1.0.6" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
|
||||||
|
<name>Å-Festival</name>
|
||||||
|
<description>Å-Festival festival app</description>
|
||||||
|
<author email="bpfilip@gmail.com" href="https://bpfilip.dk">
|
||||||
|
Filip Borum Poulsen
|
||||||
|
</author>
|
||||||
|
<content src="https://aa-festival.dk/" />
|
||||||
|
<allow-intent href="http://*/*" />
|
||||||
|
<allow-intent href="https://*/*" />
|
||||||
|
<allow-navigation href="https://aa-festival.dk/*" />
|
||||||
|
<icon src="res/icon.png" />
|
||||||
|
<platform name="android">
|
||||||
|
<preference name="android-compileSdkVersion" value="33" />
|
||||||
|
<preference name="android-targetSdkVersion" value="33" />
|
||||||
|
<preference name="android-minSdkVersion" value="18" />
|
||||||
|
</platform>
|
||||||
|
</widget>
|
||||||
@ -0,0 +1 @@
|
|||||||
|
{}
|
||||||
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,20 @@
|
|||||||
|
{
|
||||||
|
"name": "dk.bpfilip.aafestival",
|
||||||
|
"displayName": "Å-Festival",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"description": "Å-Festival app",
|
||||||
|
"main": "index.js",
|
||||||
|
"author": "Filip Borum Poulsen",
|
||||||
|
"license": "Apache-2.0",
|
||||||
|
"devDependencies": {
|
||||||
|
"cordova-android": "^10.1.2",
|
||||||
|
"cordova-browser": "^6.0.0"
|
||||||
|
},
|
||||||
|
"cordova": {
|
||||||
|
"platforms": [
|
||||||
|
"browser",
|
||||||
|
"android"
|
||||||
|
],
|
||||||
|
"plugins": {}
|
||||||
|
}
|
||||||
|
}
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 35 KiB |
@ -0,0 +1,3 @@
|
|||||||
|
/// <reference path="..\.vscode\typings\cordova\cordova.d.ts"/>
|
||||||
|
/// <reference path="..\.vscode\typings\cordova\plugins\InAppBrowser.d.ts"/>
|
||||||
|
/// <reference path="..\.vscode\typings\cordova\plugins\NetworkInformation.d.ts"/>
|
||||||
Loading…
Reference in New Issue