cordova-plugin-firebase
Advanced tools
Comparing version 0.1.3 to 0.1.4
@@ -11,3 +11,3 @@ { | ||
"name": "cordova-plugin-firebase", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "Cordova plugin for Google Firebase", | ||
@@ -14,0 +14,0 @@ "cordova": { |
@@ -8,4 +8,23 @@ # cordova-plugin-firebase | ||
### Android dependencies | ||
In android studio -> sdk manager, make sure to have the following installed: | ||
* Google Repository | ||
## Installation | ||
Add and configure the plugin in your app's config.xml, see sample below. You can get the values needed by downloading your projects config file from the Firebase Console, see https://support.google.com/firebase/answer/7015592. | ||
``` | ||
<plugin name="cordova-plugin-firebase"> | ||
<variable name="AD_UNIT_ID_FOR_BANNER_TEST" value="ca-app-pub-1234567890123456/1234567890" /> | ||
<variable name="AD_UNIT_ID_FOR_INTERSTITIAL_TEST" value="ca-app-pub-1234567890123456/1234567890" /> | ||
<variable name="CLIENT_ID" value="123456789012-abcdefghijklmnopqrstuvwxyz123456.apps.googleusercontent.com" /> | ||
<variable name="REVERSED_CLIENT_ID" value="com.googleusercontent.apps.123456789012-abcdefghijklmnopqrstuvwxyz123456" /> | ||
<variable name="API_KEY" value="abcdefghijklmnopqrstuvwxyz1234-abcdefgh" /> | ||
<variable name="GCM_SENDER_ID" value="123456789012" /> | ||
<variable name="BUNDLE_ID" value="my.bundle.id" /> | ||
<variable name="PROJECT_ID" value="project-id" /> | ||
<variable name="STORAGE_BUCKET" value="project-id.appspot.com" /> | ||
<variable name="IS_ADS_ENABLED" value="true" /> | ||
<variable name="IS_ANALYTICS_ENABLED" value="false" /> | ||
<variable name="IS_APPINVITE_ENABLED" value="false" /> | ||
<variable name="IS_GCM_ENABLED" value="true" /> | ||
<variable name="IS_SIGNIN_ENABLED" value="true" /> | ||
<variable name="GOOGLE_APP_ID" value="1:123456789012:ios:abcdefghijklmnop" /> | ||
<variable name="DATABASE_URL" value="https://project-id.firebaseio.com" /> | ||
</plugin> | ||
``` |
24006120
30