All Projects → chemerisuk → cordova-support-google-services

chemerisuk / cordova-support-google-services

Licence: MIT license
DEPRECATED. Cordova plugin to add google services support

Projects that are alternatives of or similar to cordova-support-google-services

JiaCordova
在Cordova及插件的基础上封装一些常用的功能,不断更新中
Stars: ✭ 35 (-14.63%)
Mutual labels:  cordova, cordova-plugin
Create-a-custom-Cordova-plugin
How to create a custom cordova plugin and bridge it between your native code and a new or existing Cordova project
Stars: ✭ 32 (-21.95%)
Mutual labels:  cordova, cordova-plugin
cordova-plugin-purchases
Cordova in-app purchases and subscriptions made easy.
Stars: ✭ 52 (+26.83%)
Mutual labels:  cordova, cordova-plugin
cordova-plugin-zeep
Zip compression/decompression for the cordova/phonegap platform
Stars: ✭ 27 (-34.15%)
Mutual labels:  cordova, cordova-plugin
cordova-plugin-webpack
Integrate webpack into your Cordova workflow.
Stars: ✭ 61 (+48.78%)
Mutual labels:  cordova, cordova-plugin
cordova-fonts
Cordova plugin for enumerating fonts on a mobile device
Stars: ✭ 14 (-65.85%)
Mutual labels:  cordova, cordova-plugin
cordova-line-login-plugin
A cordova plugin for easy implementation of LINE login using LineSDK.
Stars: ✭ 20 (-51.22%)
Mutual labels:  cordova, cordova-plugin
Cordova Plugin Wkwebview File Xhr
Cordova Plugin for WebView File XHR
Stars: ✭ 116 (+182.93%)
Mutual labels:  cordova, cordova-plugin
ionic-hockeyapp
Need HockeyApp in your Ionic application, add this package!
Stars: ✭ 19 (-53.66%)
Mutual labels:  cordova, cordova-plugin
hms-cordova-plugin
This repo contains all of Cordova HMS plugins.
Stars: ✭ 78 (+90.24%)
Mutual labels:  cordova, cordova-plugin
Cordova Plugin Fingerprint Aio
👆 📱 Cordova Plugin for fingerprint sensors (and FaceID) with Android and iOS support
Stars: ✭ 236 (+475.61%)
Mutual labels:  cordova, cordova-plugin
cordova-gmv-barcode-scanner
A Cordova barcode scanning plugin based on the Google Mobile Vision library for iOS & Android.
Stars: ✭ 48 (+17.07%)
Mutual labels:  cordova, cordova-plugin
Cordova Plugin Touch Id
💅 👱‍♂️ Forget passwords, use a fingerprint scanner!
Stars: ✭ 209 (+409.76%)
Mutual labels:  cordova, cordova-plugin
cordova-plugin-android-window-background
Simple Cordova plugin to set Android window background on start-up 🎨 🍭
Stars: ✭ 15 (-63.41%)
Mutual labels:  cordova, cordova-plugin
Cordova Plugin Audioinput
This iOS/Android Cordova/PhoneGap plugin enables audio capture from the device microphone, by in near real-time forwarding audio to the web layer of your application. A typical usage scenario for this plugin would be to use the captured audio as source for a web audio node chain, where it then can be analyzed, manipulated and/or played.
Stars: ✭ 137 (+234.15%)
Mutual labels:  cordova, cordova-plugin
cordova-study
📱 Cordova学习记录,Cordova插件的使用,热更新、media、device、集成x5内核等等。
Stars: ✭ 19 (-53.66%)
Mutual labels:  cordova, cordova-plugin
Wifiwizard2
A Cordova plugin for managing Wifi networks (new version of WiFiWizard) - Latest is version 3+
Stars: ✭ 106 (+158.54%)
Mutual labels:  cordova, cordova-plugin
Cordova Plugin Add Swift Support
🔨 Swiftify your Cordova app !
Stars: ✭ 108 (+163.41%)
Mutual labels:  cordova, cordova-plugin
cordova-plugin-downloadmanager
A Cordova plugin to download file in system's default download manager
Stars: ✭ 45 (+9.76%)
Mutual labels:  cordova, cordova-plugin
cordova-plugin-dbmeter
🎤📣 Cordova plugin to get decibels from the microphone
Stars: ✭ 33 (-19.51%)
Mutual labels:  cordova, cordova-plugin

DEPRECATION NOTICE: no longer needed. Use preference GradlePluginGoogleServicesEnabled for cordova-android version 9 or higher.

Cordova plugin to add support for google services

NPM version NPM downloads Twitter

Donate Your help is appreciated. Create a PR, submit a bug or just grab me 🍺

As part of enabling Google APIs or Firebase services in your Android application you may have to add the google-services plugin to your build.gradle file.

Index

Installation

cordova plugin add cordova-support-google-services --save

You also need to download google-services.json on Android and GoogleService-Info.plist on iOS from Firebase console and put them into the cordova project root folder. Then use <resource-file> to copy those files into appropriate folders:

<platform name="android">
    <resource-file src="google-services.json" target="app/google-services.json" />
    ...
</platform>
<platform name="ios">
    <resource-file src="GoogleService-Info.plist" />
    ...
</platform>

Note: if you use cordova-android below version 7 specify target="google-services.json" instead.

FAQ

Build Error: Failed to apply plugin [class 'com.google.gms.googleservices.GoogleServicesPlugin']

It looks like you have another dependency on a google play services lib with a generic verison *. You have to fix ALL dependency version(s) to be more more specific like 11.0.+. In order to do that fix version strings for any play services library you have in platforms/android/project.properties.

Build Error: Could not generate a proxy class for class com.google.gms.googleservices.GoogleServicesTask.

Open platform/android/build.gradle and change version of the first com.android.tools.build:gradle:

classpath 'com.android.tools.build:gradle:1.2.3+'

Duplicate resources: .../platforms/android/build/generated/res/google-services/armv7/debug/values/values.xml:string/google_api_key, .../platforms/android/res/values/strings.xml:string/google_api_key

Remove google_api_key and google_app_id from any existing xml file from platform/android/res/ folder. Those values now come from an automatically generated values.xml.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].