-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
android fix issue with localbroadcastmanager; version bumped; adding …
…simple demo project;
- Loading branch information
Showing
14 changed files
with
4,798 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
.DS_Store | ||
|
||
# Generated by package manager | ||
node_modules/ | ||
|
||
# Generated by Cordova | ||
/plugins/ | ||
/platforms/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"plugins":["cordova-plugin-whitelist","cordova-plugin-zoomimageview"]} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?xml version='1.0' encoding='utf-8'?> | ||
<widget id="com.example.hello" version="1.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0"> | ||
<name>HelloWorld</name> | ||
<description> | ||
A sample Apache Cordova application that responds to the deviceready event. | ||
</description> | ||
<author email="[email protected]" href="http://cordova.io"> | ||
Apache Cordova Team | ||
</author> | ||
<content src="index.html" /> | ||
<access origin="*" /> | ||
<allow-intent href="http://*/*" /> | ||
<allow-intent href="https://*/*" /> | ||
<allow-intent href="tel:*" /> | ||
<allow-intent href="sms:*" /> | ||
<allow-intent href="mailto:*" /> | ||
<allow-intent href="geo:*" /> | ||
<platform name="android"> | ||
<allow-intent href="market:*" /> | ||
<preference name="GradlePluginKotlinEnabled" value="true" /> | ||
<preference name="GradlePluginKotlinCodeStyle" value="official" /> | ||
<preference name="GradlePluginKotlinVersion" value="1.6.0-RC" /> | ||
</platform> | ||
<platform name="ios"> | ||
<allow-intent href="itms:*" /> | ||
<allow-intent href="itms-apps:*" /> | ||
</platform> | ||
</widget> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{} |
Oops, something went wrong.