cordova-plugin-firebase
Advanced tools
Comparing version 0.1.12 to 0.1.13
@@ -11,3 +11,3 @@ { | ||
"name": "cordova-plugin-firebase", | ||
"version": "0.1.12", | ||
"version": "0.1.13", | ||
"description": "Cordova plugin for Google Firebase", | ||
@@ -14,0 +14,0 @@ "cordova": { |
@@ -9,7 +9,7 @@ # cordova-plugin-firebase | ||
``` | ||
<plugin name="cordova-plugin-firebase" spec="0.1.12" /> | ||
<plugin name="cordova-plugin-firebase" spec="0.1.13" /> | ||
``` | ||
or by running: | ||
``` | ||
cordova plugin add cordova-plugin-firebase@0.1.12 --save | ||
cordova plugin add cordova-plugin-firebase@0.1.13 --save | ||
``` | ||
@@ -57,3 +57,3 @@ Download your Firebase configuration files, GoogleService-Info.plist for ios and google-services.json for android, and place them in the root folder of your cordova project: | ||
Register notification callback: | ||
Register notification callback: | ||
``` | ||
@@ -178,3 +178,3 @@ window.FirebasePlugin.onNotificationOpen(function(notification) { | ||
### getByteArray (Android only) | ||
**NOTE: byte array is only available for SDK 19+** | ||
Retrieve a Remote Config byte array: | ||
@@ -181,0 +181,0 @@ ``` |
@@ -9,2 +9,6 @@ exports.getInstanceId = function(success, error) { | ||
exports.onTokenRefreshNotification = function(success, error) { | ||
success(); | ||
}; | ||
exports.grantPermission = function(success, error) { | ||
@@ -11,0 +15,0 @@ success(); |
@@ -11,2 +11,6 @@ var exec = require('cordova/exec'); | ||
exports.onTokenRefreshNotification = function(success, error) { | ||
exec(success, error, "FirebasePlugin", "onTokenRefreshNotification", []); | ||
}; | ||
exports.grantPermission = function(success, error) { | ||
@@ -13,0 +17,0 @@ exec(success, error, "FirebasePlugin", "grantPermission", []); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
30917041
207