Skip to content
This repository was archived by the owner on Apr 4, 2023. It is now read-only.

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

Open
manuelfrey opened this issue Nov 5, 2019 · 1 comment

Comments

@manuelfrey
Copy link

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
Copy link
Author

Workaround:

  • do not use --clean
  • call tns build... two times

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant