EddyVerbruggen/nativescript-plugin-firebase

Editing CSS or HTML during Android emulator Livesync wipes auth state but preserves old firebase instance

Open

#244 opened on Dec 22, 2016

View on GitHub
 (3 comments) (1 reaction) (0 assignees)TypeScript (429 forks)github user discovery
help wanted

Repository metrics

Stars
 (1,005 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

When I edit typescript files, the app restarts correctly - the app relaunches and the login state gets preserved.

But when I edit CSS or HTML the opposite behavior occurs - the app resets but the old firebase instance doesn't get removed (I get a JS: firebase.init error: You already ran init error) and the auth state is not preserved (I have to manually re-login every time).

Is there some sort of ""soft reset" bug causing these failed relaunches?

Contributor guide