* feat - introduce the plugin wrapper for code-push and type definitions
* feat(code-push) - change the signature of the methods to return Promise & decorate them with Cordova decorator
* fix(code push) - in sync method call the native method
* fix(code-push) : use decorator on syc to mark it as an observable / add sample usage
* docs(code-push) : add the link to the sample repository
* fix - merge errors
* fix(code-push) : add description field on CodePush class / remove not needed IWindow interface declaration
* Fixes syntax error in usage example, and improves usage formatting
* Moves error codes into usage section
* Adds basics of geofence plugin
* Updates exports to include Geofence
* Adds geofence docs and tested functions
* Corrects promise types and comments out unimplemented functions
* Minor updates to geofence
* Reverts camera-preview changes for this branch to master
* Removes preview settings from options obj and creates proper rect interface
* Changes startCamera() signature to match plugin
* Adds alpha to function signature
* Removes CameraPreviewOptions and CameraPreviewSize interfaces that don't match plugin
* Adds back CameraPreviewSize interface - oops
* Updates docs for startCamera()
* Changes CameraPreviewSize interface to Size to match plugin
* Adds docs for takePicture
* Reverts change to signature of setOnPictureTakenHandler
* Adds CameraPreview prefix to interfaces
We don't want that the reject cb takes the position of an optional
argument that has not been defined
For example the Dialogs.alert method takes an optional 'buttonLabel'
string. In case we do not set this value, and thus want to use the
default value, the 'reject'
callback get spliced into this position due the fact that the splice
start index is bigger than the array length.
Dialogs.alert("title", "message", "My button text") --> args =
["title", resolve, "message", "My button text", reject]
Dialogs.alert("title", "message") --> args = ["title", resolve,
"message", reject] --> reject is on the position of the buttontitle!
The cordova-plugin-dialogs alert function receives the wrong arguments
—> alert: function(message, completeCallback, title, buttonLabel)
The buttonLabel will receive the "reject" callback instead of a
undefined value.
* Additions to documentations and type definitions
Added return types to documentation as well as modified return type definition to match actual types returned.
Used union types for promises where applicable.
Builds and gulp docs ok.
* Update file.ts
* feat(inappbrowser): the inAppBrowser class is no longer static
* feat(inappbrowser): fallback on window.open if plugin not available
* change warning text to match expected release version
Since the plugin's methods return already a promise, the workaround with the `sync` option was used. This worked well for the method calls. However, when either cordova or the plugin was not available, an error was thrown, instead of rejecting the returned promise.
Therefore a better way is to use the `otherPromise` option, introduced with https://github.com/driftyco/ionic-native/releases/tag/v1.3.8.
* Added OneSignal wrapper
* documentation
* Changes for callback of notification revieced
* fixes for @Cordova decorators without Promise return
* Merge
* Improvements to OneSignal
extended init function with notificationOpenedCallback as an optional parameter
* Platforms removed
OneSignal supports more than only these 3 platforms. It's available to nearly all Cordova platforms.
* Init method turned into observable
* Screen Orientation Plugin added. Closes#342
* Added VideoPlayer plugin #318
* Added OneSignal wrapper
* documentation
* Changes for callback of notification revieced
* fixes for @Cordova decorators without Promise return
* Merge
* Improvements to OneSignal
extended init function with notificationOpenedCallback as an optional parameter
* Platforms removed
OneSignal supports more than only these 3 platforms. It's available to nearly all Cordova platforms.
* Init method turned into observable
* Screen Orientation Plugin added. Closes#342