You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 4, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+3-23Lines changed: 3 additions & 23 deletions
Original file line number
Diff line number
Diff line change
@@ -48,31 +48,11 @@ You can reconfigure the plugin by going to the `node_modules/nativescript-plugin
48
48
49
49
You can also change the configuration by deleting the `firebase.nativescript.json` and reinstalling the plugin.
50
50
51
-
### iOS
52
-
[Looking to automate this step](https://github.com/EddyVerbruggen/nativescript-plugin-firebase/issues/136), but for now, to build with Xcode 8 (iOS 10 SDK), you need to open the Xcode project via the platforms/ios/appname.__xcworkspace__/ file - then select your app's target, capabilities, enable 'Keychain sharing'.
53
-
54
51
### Android
55
-
Install packages 'Google Play Services' and 'Google Repository' in your [Android SDK Manager](http://stackoverflow.com/a/37310513)
56
-
57
-
#### Open `platforms/android/build.gradle`
58
-
We're trying to automate these steps, but for now:
59
-
60
-
- Near the top there's a dependencies section, add `classpath "com.google.gms:google-services:3.0.0"` so it becomes something like:
61
-
```
62
-
dependencies {
63
-
classpath "com.android.tools.build:gradle:X.X.X"
64
-
classpath "com.google.gms:google-services:3.0.0"
65
-
}
66
-
```
67
-
68
-
#### google-services.json
69
-
Firebase configures the native Android project using a *google-services.json* file.
70
-
You can place it at `app/App_Resources/Android/google-services.json`.
71
-
72
-
This plugin adds an after-prepare NativeScript CLI hook that will copy it to the native android project at `platforms/android/google-services.json`.
52
+
Install the latest packages 'Google Play Services' and 'Google Repository' in your [Android SDK Manager](http://stackoverflow.com/a/37310513)
73
53
74
54
#### Google Play Services Version
75
-
The plugin will default to version 9.6.0+ of the Android `play-services-base` SDK.
55
+
The plugin will default to version 9.8.0+ of the Android `play-services-base` SDK.
76
56
If you need to change the version (to for instance the latest version), you can add a project ext property `googlePlayServicesVersion` like so:
77
57
78
58
```
@@ -215,7 +195,7 @@ Also, an error like "Could not find com.google.firebase:firebase-core:9.0.0" can
215
195
more than one version of the Android SDK installed. Make sure ANDROID_HOME is set to the Android SDK directory
216
196
that is being updated otherwise it will seem as though your updates have no effect.
217
197
218
-
#### Found play-services:9.0.0, but version 9.0.2 is needed..
198
+
#### Found play-services:9.0.0, but version 9.X.Y is needed..
219
199
Update your Android bits like the issue above and reinstall the android platform in your project.
0 commit comments