Last active
August 30, 2016 07:41
-
-
Save phund/1233fa7d9cbc2811eb4117e15a2182b4 to your computer and use it in GitHub Desktop.
meteor cordova google plus
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-Override corrdova build. Fix crash app | |
``` | |
java.lang.RuntimeException: Unable to get provider com.google.firebase.provider.FirebaseInitProvider: java.lang.IllegalStateException: Incorrect provider authority in manifest. Most likely due to a missing applicationId variable in application's build.gradle. | |
``` | |
Note: Add override after meteor reset or catch error | |
``` | |
.meteor/local/cordova-build/platforms/android" is not an Android project. | |
``` | |
<project-dir>/cordova-build-overrride/flatforms/android/build-extra.grade | |
``` | |
android { | |
defaultConfig { | |
applicationId "com.id1cqhd0l1y3m9b41adabq5" | |
} | |
} | |
``` | |
applicationId: Use for package name on config android google+ | |
Version cordova-plugin-googleplus <= 4.0.9 incompatibility with cordova-plugin-facebook4 | |
Version [email protected] incompatibility with meteor-cordova-google-plus | |
To resolve conflict when use cordova-plugin-facebook and meteor-cordova-google-plus. | |
Add override cordova build <project-dir>/cordova-build-overrride/flatforms/android/build-extra.grade | |
``` | |
android { | |
defaultConfig { | |
applicationId "com.id1cqhd0l1y3m9b41adabq5" | |
} | |
} | |
configurations { | |
all*.exclude group: 'com.android.support', module: 'support-v4' | |
all*.exclude group: 'com.google.android.gms', module: 'play-services' | |
} | |
``` | |
Add android flatform and ios platform to project on deverloper.google.com | |
https://developers.google.com/mobile/add?platform=android&cntapi=signin | |
https://developers.google.com/mobile/add?platform=ios&cntapi=signin | |
Get SHA1 of sign keytool: | |
keytool -exportcert -alias <alias-key> -list -v |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment