EddyVerbruggen / nativescript-plugin-firebase

:fire: NativeScript plugin for Firebase
https://firebase.google.com
MIT License
1.01k stars 441 forks source link

Problem with Nativescript Release-Build: App will abort after start with nativescript-plugin-firebase #1466

Open manuelfrey opened 5 years ago

manuelfrey commented 5 years ago

I have observed the following problem: if I build in a clean environment (or using tns build android -- clean) the app will abort direct after start.

Tested it with the following scenario:

  1. I have a simple nativescript "hello world app" like created with tns create my-app-name --template tns-template-blank-ng
  2. Start/Build the app with tns build android --release --clean ... => it works!
  3. Add the nativescript firebase plugin tns plugin add nativescript-plugin-firebase
  4. Start/Build the app with tns build android --release --clean ... => it fails!
  5. After removing the nativescript plugin it works again

My Environment: Dev-OS: Windows 10 Nativescript 6.1.2 / Angular / Android nativescript-plugin-firebase; 10.1.1

Expected: If I build the app with --clean, I expect a working app. If this is not possible it should return a hint / error message

manuelfrey commented 5 years ago

Workaround: