mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-06-08 00:00:19 +08:00
Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 97ba9b4fe1 | |||
| 96369db3a9 | |||
| 961cff185d | |||
| 9a733c3b4a | |||
| 95ac7e1855 | |||
| 6683aa450c | |||
| d0cb3049e5 |
+16
-1
@@ -1,3 +1,18 @@
|
||||
<a name="2.9.0"></a>
|
||||
# [2.9.0](https://github.com/driftyco/ionic-native/compare/v2.8.1...v2.9.0) (2017-03-18)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **background-geolocation:** configure returns an observable ([961cff1](https://github.com/driftyco/ionic-native/commit/961cff1))
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* **background-mode:** added moveToBackground and moveToForeground ([#1181](https://github.com/driftyco/ionic-native/issues/1181)) ([95ac7e1](https://github.com/driftyco/ionic-native/commit/95ac7e1))
|
||||
|
||||
|
||||
|
||||
<a name="2.8.1"></a>
|
||||
## [2.8.1](https://github.com/driftyco/ionic-native/compare/v2.8.0...v2.8.1) (2017-03-10)
|
||||
|
||||
@@ -310,7 +325,7 @@
|
||||
|
||||
### BREAKING CHANGES
|
||||
|
||||
* device: device property no longer exists
|
||||
* **device:** device property no longer exists
|
||||
|
||||
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ionic-native",
|
||||
"version": "2.8.1",
|
||||
"version": "2.9.0",
|
||||
"description": "Native plugin wrappers for Cordova and Ionic with TypeScript, ES6+, Promise and Observable support",
|
||||
"main": "dist/es5/index.js",
|
||||
"module": "dist/esm/index.js",
|
||||
|
||||
@@ -12,7 +12,7 @@ import { Observable } from 'rxjs/Observable';
|
||||
*
|
||||
* AppPreferences.fetch('key').then((res) => { console.log(res); });
|
||||
*
|
||||
*
|
||||
*```
|
||||
*/
|
||||
@Plugin({
|
||||
pluginName: 'AppPreferences',
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import {Cordova, Plugin} from './plugin';
|
||||
import { Cordova, Plugin } from './plugin';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
|
||||
declare var window;
|
||||
|
||||
@@ -363,12 +364,13 @@ export class BackgroundGeolocation {
|
||||
* Configure the plugin.
|
||||
*
|
||||
* @param options {BackgroundGeolocationConfig} options An object of type Config
|
||||
* @return {Promise<any>}
|
||||
* @return {Observable<any>}
|
||||
*/
|
||||
@Cordova({
|
||||
callbackOrder: 'reverse'
|
||||
callbackOrder: 'reverse',
|
||||
observable: true
|
||||
})
|
||||
static configure(options: BackgroundGeolocationConfig): Promise<any> { return; }
|
||||
static configure(options: BackgroundGeolocationConfig): Observable<any> { return; }
|
||||
|
||||
/**
|
||||
* Turn ON the background-geolocation system.
|
||||
|
||||
@@ -123,6 +123,24 @@ export class BackgroundMode {
|
||||
})
|
||||
static on(event: string): Observable<any> { return; }
|
||||
|
||||
/**
|
||||
* Android allows to programmatically move from foreground to background.
|
||||
*/
|
||||
@Cordova({
|
||||
platforms: ['Android'],
|
||||
sync: true
|
||||
})
|
||||
static moveToBackground(): void {}
|
||||
|
||||
/**
|
||||
* Android allows to programmatically move from background to foreground.
|
||||
*/
|
||||
@Cordova({
|
||||
platforms: ['Android'],
|
||||
sync: true
|
||||
})
|
||||
static moveToForeground(): void {}
|
||||
|
||||
/**
|
||||
* Override the back button on Android to go to background instead of closing the app.
|
||||
*/
|
||||
|
||||
@@ -4,7 +4,7 @@ import { Observable } from 'rxjs/Observable';
|
||||
declare var cordova: any;
|
||||
|
||||
export interface InAppBrowserOptions {
|
||||
/** Set to yes or no to ruen the InAppBrowser's location bar on or off. */
|
||||
/** Set to yes or no to turn the InAppBrowser's location bar on or off. */
|
||||
location?: 'yes' | 'no';
|
||||
/** Set to yes to create the browser and load the page, but not show it. The loadstop event fires when loading is complete.
|
||||
* Omit or set to no (default) to have the browser open and load normally. */
|
||||
|
||||
@@ -76,14 +76,6 @@ export class PhotoLibrary {
|
||||
})
|
||||
static getAlbums(): Promise<AlbumItem[]> { return; }
|
||||
|
||||
/**
|
||||
* @private
|
||||
*/
|
||||
static getThumbnailURL(photoId: string, options?: GetThumbnailOptions): Promise<string>;
|
||||
/**
|
||||
* @private
|
||||
*/
|
||||
static getThumbnailURL(libraryItem: LibraryItem, options?: GetThumbnailOptions): Promise<string>;
|
||||
/**
|
||||
* Provides means to request URL of thumbnail, with specified size or quality.
|
||||
* @param photo {string | LibraryItem} Id of photo, or LibraryItem.
|
||||
@@ -96,14 +88,6 @@ export class PhotoLibrary {
|
||||
})
|
||||
static getThumbnailURL(photo: string | LibraryItem, options?: GetThumbnailOptions): Promise<string> { return; }
|
||||
|
||||
/**
|
||||
* @private
|
||||
*/
|
||||
static getPhotoURL(photoId: string, options?: GetPhotoOptions): Promise<string>;
|
||||
/**
|
||||
* @private
|
||||
*/
|
||||
static getPhotoURL(libraryItem: LibraryItem, options?: GetPhotoOptions): Promise<string>;
|
||||
/**
|
||||
* Provides means to request photo URL by id.
|
||||
* @param photo {string | LibraryItem} Id or LibraryItem.
|
||||
@@ -116,14 +100,6 @@ export class PhotoLibrary {
|
||||
})
|
||||
static getPhotoURL(photo: string | LibraryItem, options?: GetPhotoOptions): Promise<string> { return; }
|
||||
|
||||
/**
|
||||
* @private
|
||||
*/
|
||||
static getThumbnail(photoId: string, options?: GetThumbnailOptions): Promise<Blob>;
|
||||
/**
|
||||
* @private
|
||||
*/
|
||||
static getThumbnail(libraryItem: LibraryItem, options?: GetThumbnailOptions): Promise<Blob>;
|
||||
/**
|
||||
* Returns thumbnail as Blob.
|
||||
* @param photo {string | LibraryItem} Id or LibraryItem.
|
||||
@@ -136,14 +112,6 @@ export class PhotoLibrary {
|
||||
})
|
||||
static getThumbnail(photo: string | LibraryItem, options?: GetThumbnailOptions): Promise<Blob> { return; }
|
||||
|
||||
/**
|
||||
* @private
|
||||
*/
|
||||
static getPhoto(photoId: string, options?: GetPhotoOptions): Promise<Blob>;
|
||||
/**
|
||||
* @private
|
||||
*/
|
||||
static getPhoto(libraryItem: LibraryItem, options?: GetPhotoOptions): Promise<Blob>;
|
||||
/**
|
||||
* Returns photo as Blob.
|
||||
* @param photo {string | LibraryItem} Id or LibraryItem.
|
||||
|
||||
Reference in New Issue
Block a user