Skip to content
This repository has been archived by the owner on Jul 27, 2019. It is now read-only.

Commit

Permalink
Only changing the indentation to 4 spaces.
Browse files Browse the repository at this point in the history
  • Loading branch information
sagrawal31 committed Jun 17, 2019
1 parent 1911802 commit b8eb565
Show file tree
Hide file tree
Showing 3 changed files with 176 additions and 174 deletions.
100 changes: 50 additions & 50 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,52 +1,52 @@
{
"name": "cordova-plugin-firebase-lib",
"version": "3.0.0",
"author": {
"name": "Wiz Panda Techno Solutions",
"url": "https://www.wizpanda.com/"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/wizpanda/cordova-plugin-firebase-lib"
},
"description": "Cordova plugin for Google Firebase",
"cordova": {
"id": "cordova-plugin-firebase-lib",
"platforms": [
"android",
"ios",
"browser"
]
},
"keywords": [
"ecosystem:cordova",
"cordova-android",
"cordova-ios",
"cordova-browser",
"firebase",
"push",
"notifications",
"phone auth"
],
"scripts": {
"version": "node ./bump-version.js && git add -A plugin.xml",
"postversion": "git push && git push --tags && npm publish --verbose",
"test": "npm run test:ios && npm run test:android && npm run test:browser",
"test:android": "npm run test:[email protected]:[email protected] && npm run test:[email protected]:[email protected] && npm run test:[email protected]:[email protected]",
"test:browser": "npm run test:[email protected]:[email protected] && npm run test:[email protected]:[email protected] && npm run test:[email protected]:[email protected]",
"test:ios": "npm run test:[email protected]:[email protected] && npm run test:[email protected]:[email protected] && npm run test:[email protected]:[email protected]",
"test:[email protected]:[email protected]": "bash ./test/test-default.sh 6.5.0 ios 4.5.4",
"test:[email protected]:[email protected]": "bash ./test/test-default.sh 7.1.0 ios 4.5.4",
"test:[email protected]:[email protected]": "bash ./test/test-default.sh 8.0.0 ios 4.5.4",
"test:[email protected]:[email protected]": "bash ./test/test-default.sh 6.5.0 android 6.4.0 && bash ./test/test-with-3-plugins.sh 6.5.0 android 6.4.0 cordova-plugin-request-location-accuracy cordova-android-play-services-gradle-release cordova-android-firebase-gradle-release",
"test:[email protected]:[email protected]": "bash ./test/test-default.sh 7.1.0 android 7.1.0 && bash ./test/test-with-3-plugins.sh 7.1.0 android 7.1.0 cordova-plugin-request-location-accuracy cordova-android-play-services-gradle-release cordova-android-firebase-gradle-release",
"test:[email protected]:[email protected]": "bash ./test/test-default.sh 8.0.0 android 7.1.0 && bash ./test/test-with-3-plugins.sh 8.0.0 android 7.1.0 cordova-plugin-request-location-accuracy cordova-android-play-services-gradle-release cordova-android-firebase-gradle-release",
"test:[email protected]:[email protected]": "bash ./test/test-default.sh 6.5.0 browser 5.0.3",
"test:[email protected]:[email protected]": "bash ./test/test-default.sh 7.1.0 browser 5.0.3",
"test:[email protected]:[email protected]": "bash ./test/test-default.sh 8.0.0 browser 5.0.3"
},
"dependencies": {
"xcode": "^2.0.0"
}
"name": "cordova-plugin-firebase-lib",
"version": "3.0.0",
"author": {
"name": "Wiz Panda Techno Solutions",
"url": "https://www.wizpanda.com/"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/wizpanda/cordova-plugin-firebase-lib"
},
"description": "Cordova plugin for Google Firebase",
"cordova": {
"id": "cordova-plugin-firebase-lib",
"platforms": [
"android",
"ios",
"browser"
]
},
"keywords": [
"ecosystem:cordova",
"cordova-android",
"cordova-ios",
"cordova-browser",
"firebase",
"push",
"notifications",
"phone auth"
],
"scripts": {
"version": "node ./bump-version.js && git add -A plugin.xml",
"postversion": "git push && git push --tags && npm publish --verbose",
"test": "npm run test:ios && npm run test:android && npm run test:browser",
"test:android": "npm run test:[email protected]:[email protected] && npm run test:[email protected]:[email protected] && npm run test:[email protected]:[email protected]",
"test:browser": "npm run test:[email protected]:[email protected] && npm run test:[email protected]:[email protected] && npm run test:[email protected]:[email protected]",
"test:ios": "npm run test:[email protected]:[email protected] && npm run test:[email protected]:[email protected] && npm run test:[email protected]:[email protected]",
"test:[email protected]:[email protected]": "bash ./test/test-default.sh 6.5.0 ios 4.5.4",
"test:[email protected]:[email protected]": "bash ./test/test-default.sh 7.1.0 ios 4.5.4",
"test:[email protected]:[email protected]": "bash ./test/test-default.sh 8.0.0 ios 4.5.4",
"test:[email protected]:[email protected]": "bash ./test/test-default.sh 6.5.0 android 6.4.0 && bash ./test/test-with-3-plugins.sh 6.5.0 android 6.4.0 cordova-plugin-request-location-accuracy cordova-android-play-services-gradle-release cordova-android-firebase-gradle-release",
"test:[email protected]:[email protected]": "bash ./test/test-default.sh 7.1.0 android 7.1.0 && bash ./test/test-with-3-plugins.sh 7.1.0 android 7.1.0 cordova-plugin-request-location-accuracy cordova-android-play-services-gradle-release cordova-android-firebase-gradle-release",
"test:[email protected]:[email protected]": "bash ./test/test-default.sh 8.0.0 android 7.1.0 && bash ./test/test-with-3-plugins.sh 8.0.0 android 7.1.0 cordova-plugin-request-location-accuracy cordova-android-play-services-gradle-release cordova-android-firebase-gradle-release",
"test:[email protected]:[email protected]": "bash ./test/test-default.sh 6.5.0 browser 5.0.3",
"test:[email protected]:[email protected]": "bash ./test/test-default.sh 7.1.0 browser 5.0.3",
"test:[email protected]:[email protected]": "bash ./test/test-default.sh 8.0.0 browser 5.0.3"
},
"dependencies": {
"xcode": "^2.0.0"
}
}
156 changes: 79 additions & 77 deletions www/firebase-browser.js
Original file line number Diff line number Diff line change
@@ -1,71 +1,73 @@
exports.getVerificationID = function (number, success, error) {
if (typeof success === 'function') {
success();
}
if (typeof success === 'function') {
success();
}
};

exports.getInstanceId = function (success, error) {
if (typeof success === 'function') {
success();
}
if (typeof success === 'function') {
success();
}
};

exports.getToken = function (success, error) {
if (typeof success === 'function') {
success();
}
if (typeof success === 'function') {
success();
}
};

exports.getId = function (success, error) {
if (typeof success === 'function') {
success();
}
if (typeof success === 'function') {
success();
}
};

exports.onNotificationOpen = function (success, error) {};
exports.onNotificationOpen = function (success, error) {
};

exports.onTokenRefresh = function (success, error) {};
exports.onTokenRefresh = function (success, error) {
};

exports.grantPermission = function (success, error) {
if (typeof success === 'function') {
success();
}
if (typeof success === 'function') {
success();
}
};

exports.setBadgeNumber = function (number, success, error) {
if (typeof success === 'function') {
success();
}
if (typeof success === 'function') {
success();
}
};

exports.getBadgeNumber = function (success, error) {
if (typeof success === 'function') {
success();
}
if (typeof success === 'function') {
success();
}
};

exports.subscribe = function (topic, success, error) {
if (typeof success === 'function') {
success();
}
if (typeof success === 'function') {
success();
}
};

exports.unsubscribe = function (topic, success, error) {
if (typeof success === 'function') {
success();
}
if (typeof success === 'function') {
success();
}
};

exports.logEvent = function (name, params, success, error) {
if (typeof success === 'function') {
success();
}
if (typeof success === 'function') {
success();
}
};

exports.logError = function (message, success, error) {
if (typeof success === 'function') {
success();
}
if (typeof success === 'function') {
success();
}
};

exports.setCrashlyticsUserId = function (userId, success, error) {
Expand All @@ -75,85 +77,85 @@ exports.setCrashlyticsUserId = function (userId, success, error) {
};

exports.setScreenName = function (name, success, error) {
if (typeof success === 'function') {
success();
}
if (typeof success === 'function') {
success();
}
};

exports.setUserId = function (id, success, error) {
if (typeof success === 'function') {
success();
}
if (typeof success === 'function') {
success();
}
};

exports.setUserProperty = function (name, value, success, error) {
if (typeof success === 'function') {
success();
}
if (typeof success === 'function') {
success();
}
};

exports.activateFetched = function (success, error) {
if (typeof success === 'function') {
success();
}
if (typeof success === 'function') {
success();
}
};

exports.fetch = function (cacheExpirationSeconds, success, error) {
if (typeof success === 'function') {
success();
}
if (typeof success === 'function') {
success();
}
};

exports.getByteArray = function (key, success, error) {
if (typeof success === 'function') {
success();
}
if (typeof success === 'function') {
success();
}
};

exports.getValue = function (key, success, error) {
if (typeof success === 'function') {
success();
}
if (typeof success === 'function') {
success();
}
};

exports.getInfo = function (success, error) {
if (typeof success === 'function') {
success();
}
if (typeof success === 'function') {
success();
}
};

exports.setConfigSettings = function (settings, success, error) {
if (typeof success === 'function') {
success();
}
if (typeof success === 'function') {
success();
}
};

exports.setDefaults = function (defaults, success, error) {
if (typeof success === 'function') {
success();
}
if (typeof success === 'function') {
success();
}
};

exports.verifyPhoneNumber = function (number, timeOutDuration, success, error) {
if (typeof success === 'function') {
success();
}
if (typeof success === 'function') {
success();
}
};

exports.setAnalyticsCollectionEnabled = function (enabled, success, error) {
if (typeof success === 'function') {
success();
}
if (typeof success === 'function') {
success();
}
};

exports.setPerformanceCollectionEnabled = function (enabled, success, error) {
if (typeof success === 'function') {
success();
}
if (typeof success === 'function') {
success();
}
};

exports.clearAllNotifications = function (success, error) {
if (typeof success === 'function') {
success();
}
if (typeof success === 'function') {
success();
}
};
Loading

0 comments on commit b8eb565

Please sign in to comment.