Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
cordova-firebase-plugin
Advanced tools
Readme
This plugin wraps the Firebase remote config, performance, analytics, crashlytics, messaging, and authentication SDK with an easy to use api and detailed documentation. Follow the below instructions for iOS setup and plugin use.
>=6.0.0 and <=8.1.2
>=4.0.0 and <=5.0.0
>=3.2.1
Install the above plugin dependency if you don't already have it installed. Place your Firebase configuration file (GoogleService-Info.plist) into the root folder of your project. View Firebase support for details on how to download the file if you did not download it in the above Firebase Setup.
- My Project/
platforms/
plugins/
www/
config.xml
GoogleService-Info.plist <--
...
Install the plugin with this command:
cordova plugin add cordova-firebase-plugin --save
or for Ionic this command:
ionic cordova plugin add cordova-firebase-plugin
or add this to your config.xml:
<plugin name="cordova-firebase-plugin" spec="1.2.0" />
CordovaFirebasePlugin.reportNonFatalCrash("Test Error Name", "Test Error Message", "Test Error URL", "Test Error Stacktrace")
Build the app, run it with Xcode on a device/simulator, press stop in Xcode, reopen the app, run the above crash report code, exit the app, remove it from the background, and then reopen it to send the test crash.
You will have to manually place your configuration file in the platforms/ios/My Project/Resources
folder of your project and hard code the app id and api key in plugin.xml
.
The plugin currently does not have typings.
declare var CordovaFirebasePlugin: any;
var CordovaFirebasePlugin;
CordovaFirebasePlugin.setAnalyticsScreenName("Login");
CordovaFirebasePlugin.setCrashlyticsUserID("123");
CordovaFirebasePlugin.setAnalyticsUserID("123");
CordovaFirebasePlugin.reportEvent("Login_Success", {timestamp:new Date()} );
CordovaFirebasePlugin.setAnalyticsUserProperty("Role", "Admin");
CordovaFirebasePlugin.reportNonFatalCrash("errorName", "errorMessage", "errorUrl", "stackTrace");
FAQs
A cordova plugin that wraps the Firebase SDK with an easy to use api.
The npm package cordova-firebase-plugin receives a total of 16 weekly downloads. As such, cordova-firebase-plugin popularity was classified as not popular.
We found that cordova-firebase-plugin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.