Questions tagged [nativescript-firebase]

This open source plugin is useful to connect firebase with nativescript. Here is the github project for the same.

This open source plugin is useful to connect firebase (https://console.firebase.google.com) with nativescript. Here is the github project for the same. https://github.com/EddyVerbruggen/nativescript-plugin-firebase

33 questions
3
votes
1 answer

NativeScript Firebase already initialized

I am using Firebase in my app and I've noticed when I am actively making changes and LiveSync updates the app it will sometimes say "firebase.init error: Firebase already initialized". This happens when the changes don't trigger a whole application…
3
votes
1 answer

NativeScript firebase plugin

I'm developing a mobile app using nativeScript. When i'm trying to use nativeScript firebase plugin, nativeScript sidekick app gives the following error: Plugin nativescript-plugin-firebase is not included in preview app on device…
Shiwantha Viraj
  • 301
  • 3
  • 8
2
votes
0 answers

Failed to build plugin @nativescript/firebase : Error: Command gradlew.bat failed with exit code 1

When I run my app I am getting this error: nativescript-plugin-firebase: building for same environment, not forcing prepare. FAILURE: Build failed with an exception. What went wrong: Execution failed for task ':javaPreCompileRelease'. This…
1
vote
0 answers

The given sign-in provider is disabled error while it is enabled in the console

I have created a new app with SvelteNative and I want to use firebase auth in it. I installed @nativescript/firebase-core and @nativescript/firebase-auth in my project and I have added the file app/App_Resources/Android/google-service.json that I…
1
vote
1 answer

nativescript-firebase ios initialisation ReferenceError: FIROptions is not defined

I have an issue with the firebase initialisation on my nativescript app (nativescript-vue). I am using the nativescript-firebase plugin from https://github.com/EddyVerbruggen/nativescript-plugin-firebase Here is my initialisation: import { messaging…
1
vote
2 answers

How to use Firebase IdToken to generate OAuth Access for Google drive?

Update In my Nativescript-Angular application I'm using @nativescript/firebase plugin which uses Firebase authentication and in the scope I have provided https://www.googleapis.com/auth/drive. firebase .login({ type:…
1
vote
0 answers

Firebase authentication change listener is never triggered in nativescript-angular app

I using nativescript firebase (@nativescript/firebase) plugin version 11.1.3 in my project. I want to check if the user is logged in at the start of the application and redirect to 'items page' or login accordingly. Therefore, I've included…
1
vote
0 answers

nativescript angular app silently crash using firebase on ios

I run this command tns run ios --device "iPhone 11" and get Webpack compilation complete. Watching for file changes. Webpack build done! Successfully transferred bundle.875fd225a41f2a304241.hot-update.js on device…
JSmith
  • 4,519
  • 4
  • 29
  • 45
1
vote
0 answers

nativescript: Ads from Admob not working in production

I'm using the nativescript firebase package which includes Admob. When testing in Android, I have my androidInterstitalId set to a test ID that is listed here by Google: https://developers.google.com/admob/android/test-ads . I also have testing…
1
vote
3 answers

Nativescript app keeps crashing on android after adding firebase plugin

my nativescript app was working fine until i added firebase plugin. Now, when i run it on my device, it gives the error message 'app has stopped working' . Please help this is the plugin i'm…
kunlee
  • 591
  • 1
  • 4
  • 15
1
vote
0 answers

Automatically read FCM notification when i re-open the app in nativescript?

I am using Firebase cloud messaging in my nativescript app. I receive notifications and they are read when I click them. But is there any way that I can automatically access the data of received notifications (when the app is in background / killed)…
1
vote
1 answer

Nativescript Android keeps crashing

I am creating a nativescript application and when I try to debug on my android device (connected via usb) the app opens the splash screen and immediately crashes without any errors shown in the console. I open another terminal and use adb logcat *:W…
Ryan Langton
  • 6,294
  • 15
  • 53
  • 103
1
vote
1 answer

How to integrate nativescript-plugin-firebase with Nativescript app for push notification

Hi guyz I am new to Nativescript & I am trying to integrate Firebase with Nativescript but seam to have hit a blocker. I have used nativescript-plugin-firebase to connect to firebase and followed the documentation, but i do not receive any…
1
vote
2 answers

Nativescript: How to login as an admin and manage user account in Firebase

I am struggling to find a solution on how to use Firebase Admin services in order manage user account (remove user from Firebase Auth in particular). This nativescript-plugin-firebase provides all possible calls to firebase services, however there…
1
vote
0 answers

NativeScript Firebase Notification Callback Issue

I have an application written in NativeScript. I use Firebase plugin for push notifications. The first problem is that when a device is in the background or it's killed I can't receive any notifications (sending only data parameter) but when I open…
1
2 3