Compare commits

..

29 Commits

Author SHA1 Message Date
Ibrahim Hadeed
09e5734720 1.2.3 2016-06-01 06:56:53 -04:00
Ibrahim Hadeed
5fa6d1d022 tslint 2016-06-01 06:56:04 -04:00
Ibrahim Hadeed
556125145d Merge branch 'master' of https://github.com/driftyco/ionic-native 2016-06-01 06:53:39 -04:00
Ibrahim Hadeed
b444e5f316 Tslint 2016-06-01 06:52:56 -04:00
Ibrahim Hadeed
4b9902300d Merge pull request #177 from driftyco/googlemaps
Googlemaps
2016-06-01 06:48:18 -04:00
Ibrahim Hadeed
6282d743a8 reset circle.yml to previous config 2016-06-01 06:47:50 -04:00
Ibrahim Hadeed
f659bd24f3 export all from googlemaps plugin 2016-06-01 06:46:05 -04:00
Ibrahim Hadeed
1286bdb5be almost complete 2016-06-01 06:44:56 -04:00
Ibrahim Hadeed
1ba119b451 almost complete 2016-06-01 06:41:59 -04:00
Ibrahim Hadeed
4eeb5b3525 fix marker + circle 2016-06-01 06:20:25 -04:00
Ibrahim Hadeed
f3509689db working! 2016-06-01 06:05:15 -04:00
perry
7e61e3bd7c fix improve this doc link 2016-05-26 12:53:09 -05:00
Ibrahim Hadeed
6b5f216fa4 remove duplicate identifier 2016-05-25 17:42:25 -04:00
Ibrahim Hadeed
2e8b745576 Fixes 2016-05-25 17:40:00 -04:00
Ibrahim Hadeed
16e3264c84 Fix ts issues 2016-05-25 17:12:47 -04:00
Ibrahim Hadeed
e884a9cb89 enable circleci 2016-05-25 17:08:28 -04:00
Ibrahim Hadeed
72d9047da8 fixes! 2016-05-25 17:07:53 -04:00
Ibrahim Hadeed
bec74e6f44 add notes 2016-05-25 17:03:43 -04:00
Ibrahim Hadeed
5cf9fde505 add InstanceProperty decorator 2016-05-25 16:59:32 -04:00
Ibrahim Hadeed
1ff614edec fixes 2016-05-25 16:48:03 -04:00
Ibrahim Hadeed
531e616278 add marker class 2016-05-25 16:43:18 -04:00
Ibrahim Hadeed
346ca3e403 add marker object (temporary) 2016-05-25 03:52:00 -04:00
Ibrahim Hadeed
3aefd5a46d typo 2016-05-25 03:33:27 -04:00
Ibrahim Hadeed
c531114f46 formatting 2016-05-25 03:32:05 -04:00
Ibrahim Hadeed
5517e510dc add more functions 2016-05-25 03:31:27 -04:00
Ibrahim Hadeed
fbb1353827 add docs 2016-05-25 03:12:58 -04:00
Ibrahim Hadeed
9f67fa79db add googlemap features 2016-05-25 03:12:11 -04:00
Ibrahim Hadeed
6c485ed1f6 added docs 2016-05-25 00:53:35 -04:00
Ibrahim Hadeed
cc267038e6 add missing return type
closes #172
2016-05-25 00:28:19 -04:00
9 changed files with 997 additions and 27 deletions

View File

@@ -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": {

View File

@@ -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>

View File

@@ -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,

View File

@@ -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.

View File

@@ -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)

View File

@@ -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 {

View File

@@ -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

View File

@@ -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);
}
},