This demo-ng-firestore
project uses Firebase and Firestore for signalling.
- Create a Firebase project
- Under
Authentication
enableAnonymous
as a sign-in method - Under
Database
enable theFirestore
database - Under
Project Settings
add an application for Android and/or iOS where the package name or bundle id matches the NativeScript id from this app'spackage.json
(e.g.org.nativescript.demongfirestore
) - Copy the file
google-services.json
obtained from Firebase to this project'sApp_Resources/Android
directory - Copy the file
GoogleService-Info.plist
obtained from Firebase to this project'sApp_Resources/iOS
directory - If you are running in your own NativeScript project on Android, ensure that you copied this demo project's
App_Resources/Android/app.gradle
&App_Resources/Android/gradle.properties
files. - Run the app on two real devices and tap the "call" button.