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
+5-12Lines changed: 5 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ For readability the supported features have been moved to their own README's:
26
26
*[Storage](docs/STORAGE.md)
27
27
*[Crash Reporting](docs/CRASHREPORTING.md)
28
28
*[Analytics](docs/ANALYTICS.md)
29
-
*[Invites](docs/INVITES.md)
29
+
*[Invites and Dynamic Links](docs/INVITES_DYNAMICLINKS.md)
30
30
*[AdMob](docs/ADMOB.md)
31
31
32
32
## Prerequisites
@@ -74,9 +74,6 @@ You can also change the configuration by deleting the `firebase.nativescript.jso
74
74
### iOS
75
75
The Firebase iOS SDK is installed via Cocoapods, so run `pod repo update` to ensure you have the latest spec.
76
76
77
-
### Android
78
-
Install the latest packages 'Google Play Services' and 'Google Repository' in your [Android SDK Manager](http://stackoverflow.com/a/37310513)
79
-
80
77
#### Google Play Services Version
81
78
The plugin will default to version 10.0+ of the Android `play-services-base` SDK.
82
79
If you need to change the version (to for instance the latest version), you can add a project ext property `googlePlayServicesVersion` like so:
@@ -226,16 +223,12 @@ Another possible error is "FirebaseApp with name [DEFAULT] doesn't exist." which
226
223
placing `google-services.json` to `platforms/android/google-services.json` (see above), and making
227
224
the changes to `build.gradle` which are mentioned above as well.
228
225
229
-
#### Could not find any version that matches com.google.android.gms:play-services-auth:11.0.+.
230
-
That means making sure you have the latest `Google Repository` bits installed.
226
+
#### Errors regarding API level 26.0.0
227
+
Update your local Android SDKs:
231
228
232
229
Just run `$ANDROID_HOME/tools/bin/sdkmanager --update` from a command prompt
233
230
or launch the SDK manager from Android Studio, expand `Extras` and install any pending updates.
234
231
235
-
Also, an error like "Could not find com.google.firebase:firebase-core:10.0.0" can be caused by having
236
-
more than one version of the Android SDK installed. Make sure ANDROID_HOME is set to the Android SDK directory
237
-
that is being updated otherwise it will seem as though your updates have no effect.
238
-
239
232
#### Found play-services:10.A.B, but version 11.X.Y is needed..
240
233
Update your Android bits like the issue above and reinstall the android platform in your project.
241
234
@@ -248,12 +241,12 @@ android {
248
241
// other stuff here
249
242
250
243
project.ext {
251
-
googlePlayServicesVersion = "11.0.+"
244
+
googlePlayServicesVersion = "11.2.+"
252
245
}
253
246
}
254
247
```
255
248
256
-
Where `"11.0.+"` is best set to the same value as the version on[this line](https://github.com/EddyVerbruggen/nativescript-plugin-firebase/blob/master/platforms/android/include.gradle#L23).
249
+
Where `"11.2.+"` is best set to the same value as the `firebase-core` dependency version in[this file](https://github.com/EddyVerbruggen/nativescript-plugin-firebase/blob/master/platforms/android/include.gradle).
257
250
258
251
## Credits
259
252
The starting point for this plugin was [this great Gist](https://gist.github.com/jbristowe/c89a7bcae7fc9a035ee7) by [John Bristowe](https://github.com/jbristowe).
0 commit comments