cordova-plugin-firebase
Advanced tools
Comparing version 0.1.17 to 0.1.18
@@ -11,3 +11,3 @@ { | ||
"name": "cordova-plugin-firebase", | ||
"version": "0.1.17", | ||
"version": "0.1.18", | ||
"description": "Cordova plugin for Google Firebase", | ||
@@ -14,0 +14,0 @@ "cordova": { |
@@ -10,7 +10,7 @@ # cordova-plugin-firebase | ||
``` | ||
<plugin name="cordova-plugin-firebase" spec="0.1.17" /> | ||
<plugin name="cordova-plugin-firebase" spec="0.1.18" /> | ||
``` | ||
or by running: | ||
``` | ||
cordova plugin add cordova-plugin-firebase@0.1.17 --save | ||
cordova plugin add cordova-plugin-firebase@0.1.18 --save | ||
``` | ||
@@ -88,2 +88,6 @@ 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: | ||
Notification icon on Android: | ||
The plugin will look for and use notification_icon in drawable resources if it exists, otherwise the default app icon will is used. | ||
### grantPermission (iOS only) | ||
@@ -90,0 +94,0 @@ |
exports.getInstanceId = function(success, error) { | ||
success(); | ||
if (typeof success === 'function') { | ||
success(); | ||
} | ||
}; | ||
exports.getToken = function(success, error) { | ||
success(); | ||
if (typeof success === 'function') { | ||
success(); | ||
} | ||
}; | ||
@@ -16,59 +20,89 @@ | ||
exports.grantPermission = function(success, error) { | ||
success(); | ||
if (typeof success === 'function') { | ||
success(); | ||
} | ||
}; | ||
exports.setBadgeNumber = function(number, success, error) { | ||
success(); | ||
if (typeof success === 'function') { | ||
success(); | ||
} | ||
}; | ||
exports.getBadgeNumber = function(success, error) { | ||
success(); | ||
if (typeof success === 'function') { | ||
success(); | ||
} | ||
}; | ||
exports.subscribe = function(topic, success, error) { | ||
success(); | ||
if (typeof success === 'function') { | ||
success(); | ||
} | ||
}; | ||
exports.unsubscribe = function(topic, success, error) { | ||
success(); | ||
if (typeof success === 'function') { | ||
success(); | ||
} | ||
}; | ||
exports.logEvent = function(name, params, success, error) { | ||
success(); | ||
if (typeof success === 'function') { | ||
success(); | ||
} | ||
}; | ||
exports.setUserId = function(id, success, error) { | ||
success(); | ||
if (typeof success === 'function') { | ||
success(); | ||
} | ||
}; | ||
exports.setUserProperty = function(name, value, success, error) { | ||
success(); | ||
if (typeof success === 'function') { | ||
success(); | ||
} | ||
}; | ||
exports.activateFetched = function (success, error) { | ||
success(); | ||
if (typeof success === 'function') { | ||
success(); | ||
} | ||
}; | ||
exports.fetch = function (cacheExpirationSeconds, success, error) { | ||
success(); | ||
if (typeof success === 'function') { | ||
success(); | ||
} | ||
}; | ||
exports.getByteArray = function (key, namespace, success, error) { | ||
success(); | ||
if (typeof success === 'function') { | ||
success(); | ||
} | ||
}; | ||
exports.getValue = function (key, namespace, success, error) { | ||
success(); | ||
if (typeof success === 'function') { | ||
success(); | ||
} | ||
}; | ||
exports.getInfo = function (success, error) { | ||
success(); | ||
if (typeof success === 'function') { | ||
success(); | ||
} | ||
}; | ||
exports.setConfigSettings = function (settings, success, error) { | ||
success(); | ||
if (typeof success === 'function') { | ||
success(); | ||
} | ||
}; | ||
exports.setDefaults = function (defaults, namespace, success, error) { | ||
success(); | ||
if (typeof success === 'function') { | ||
success(); | ||
} | ||
}; |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
30856714
245
264