mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-02-16 00:00:02 +08:00
Compare commits
29 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
09e5734720 | ||
|
|
5fa6d1d022 | ||
|
|
556125145d | ||
|
|
b444e5f316 | ||
|
|
4b9902300d | ||
|
|
6282d743a8 | ||
|
|
f659bd24f3 | ||
|
|
1286bdb5be | ||
|
|
1ba119b451 | ||
|
|
4eeb5b3525 | ||
|
|
f3509689db | ||
|
|
7e61e3bd7c | ||
|
|
6b5f216fa4 | ||
|
|
2e8b745576 | ||
|
|
16e3264c84 | ||
|
|
e884a9cb89 | ||
|
|
72d9047da8 | ||
|
|
bec74e6f44 | ||
|
|
5cf9fde505 | ||
|
|
1ff614edec | ||
|
|
531e616278 | ||
|
|
346ca3e403 | ||
|
|
3aefd5a46d | ||
|
|
c531114f46 | ||
|
|
5517e510dc | ||
|
|
fbb1353827 | ||
|
|
9f67fa79db | ||
|
|
6c485ed1f6 | ||
|
|
cc267038e6 |
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ionic-native",
|
||||
"version": "1.2.2",
|
||||
"version": "1.2.3",
|
||||
"description": "Native plugin wrappers for Cordova and Ionic with TypeScript, ES6+, Promise and Observable support",
|
||||
"main": "dist/index.js",
|
||||
"directories": {
|
||||
|
||||
2
scripts/docs/templates/common.template.html
vendored
2
scripts/docs/templates/common.template.html
vendored
@@ -104,7 +104,7 @@ docType: "<$ doc.docType $>"
|
||||
|
||||
</h1>
|
||||
|
||||
<a class="improve-v2-docs" href='http://github.com/driftyco/ionic-native/edit/master/<$ doc.fileInfo.relativePath $>#L<$ doc.location.start.line $>'>
|
||||
<a class="improve-v2-docs" href="http://github.com/driftyco/ionic-native/edit/master/<$ doc.fileInfo.relativePath|replace('/home/ubuntu/ionic', '')|replace('//','/') $>#L<$ doc.location.start.line $>">
|
||||
Improve this doc
|
||||
</a>
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@ import {Transfer} from './plugins/filetransfer';
|
||||
import {Flashlight} from './plugins/flashlight';
|
||||
import {Geolocation} from './plugins/geolocation';
|
||||
import {Globalization} from './plugins/globalization';
|
||||
import {GoogleMaps} from './plugins/googlemaps';
|
||||
import {GoogleMap} from './plugins/googlemaps';
|
||||
import {GoogleAnalytics} from './plugins/googleanalytics';
|
||||
import {Hotspot} from './plugins/hotspot';
|
||||
import {ImagePicker} from './plugins/imagepicker';
|
||||
@@ -59,7 +59,7 @@ import {Toast} from './plugins/toast';
|
||||
import {TouchID} from './plugins/touchid';
|
||||
import {Vibration} from './plugins/vibration';
|
||||
import {WebIntent} from './plugins/webintent';
|
||||
|
||||
export * from './plugins/googlemaps';
|
||||
export {
|
||||
ActionSheet,
|
||||
AdMob,
|
||||
@@ -92,7 +92,6 @@ export {
|
||||
Flashlight,
|
||||
Geolocation,
|
||||
Globalization,
|
||||
GoogleMaps,
|
||||
GoogleAnalytics,
|
||||
Hotspot,
|
||||
ImagePicker,
|
||||
@@ -153,7 +152,7 @@ window['IonicNative'] = {
|
||||
Flashlight: Flashlight,
|
||||
Geolocation: Geolocation,
|
||||
Globalization: Globalization,
|
||||
GoogleMaps : GoogleMaps,
|
||||
GoogleMap : GoogleMap,
|
||||
GoogleAnalytics: GoogleAnalytics,
|
||||
Hotspot: Hotspot,
|
||||
ImagePicker: ImagePicker,
|
||||
|
||||
@@ -19,7 +19,7 @@ export interface Location {
|
||||
/**
|
||||
* true if location recorded as part of debug
|
||||
*/
|
||||
debug: boolean
|
||||
debug: boolean;
|
||||
|
||||
/**
|
||||
* UTC time of this fix, in milliseconds since January 1, 1970.
|
||||
|
||||
@@ -271,7 +271,7 @@ export class Calendar {
|
||||
* @return A Promise that resolves with the list of calendars, or rejects with an error.
|
||||
*/
|
||||
@Cordova()
|
||||
static listCalendars() { return; }
|
||||
static listCalendars(): Promise<any> { return; }
|
||||
|
||||
/**
|
||||
* Get a list of all future events in the specified calendar. (iOS only)
|
||||
|
||||
@@ -31,7 +31,7 @@ export interface FileUploadOptions {
|
||||
/**
|
||||
* A set of optional key/value pairs to pass in the HTTP request.
|
||||
*/
|
||||
params?: { [s: string]: any; }
|
||||
params?: { [s: string]: any; };
|
||||
|
||||
/**
|
||||
* Whether to upload the data in chunked streaming mode.
|
||||
@@ -44,7 +44,7 @@ export interface FileUploadOptions {
|
||||
* than one value. On iOS, FireOS, and Android, if a header named
|
||||
* Content-Type is present, multipart form data will NOT be used.
|
||||
*/
|
||||
headers?: { [s: string]: any; }
|
||||
headers?: { [s: string]: any; };
|
||||
}
|
||||
|
||||
export interface FileUploadResult {
|
||||
@@ -67,7 +67,7 @@ export interface FileUploadResult {
|
||||
/**
|
||||
* The HTTP response headers by the server.
|
||||
*/
|
||||
headers: { [s: string]: any; }
|
||||
headers: { [s: string]: any; };
|
||||
}
|
||||
|
||||
export interface FileTransferError {
|
||||
|
||||
@@ -107,7 +107,7 @@ export class Globalization {
|
||||
successIndex: 1,
|
||||
errorIndex: 2
|
||||
})
|
||||
static stringToNumber(stringToConvert: string, options: {type: string}): Promise<{value:number|string}> {return; }
|
||||
static stringToNumber(stringToConvert: string, options: {type: string}): Promise<{value: number|string}> {return; }
|
||||
|
||||
/**
|
||||
*
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -21,9 +21,9 @@ export class Screenshot {
|
||||
(resolve, reject) => {
|
||||
navigator.screenshot.save(
|
||||
(error, result) => {
|
||||
if(error){
|
||||
if (error) {
|
||||
reject(error);
|
||||
}else{
|
||||
}else {
|
||||
resolve(result);
|
||||
}
|
||||
},
|
||||
@@ -46,9 +46,9 @@ export class Screenshot {
|
||||
(resolve, reject) => {
|
||||
navigator.screenshot.URI(
|
||||
(error, result) => {
|
||||
if(error){
|
||||
if (error) {
|
||||
reject(error);
|
||||
}else{
|
||||
}else {
|
||||
resolve(result);
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user