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

iOSSimulatorFlush for known iOS Simulator issue with invalid_token #66

Merged
merged 1 commit into from
Jul 5, 2016

Conversation

willhlaw
Copy link
Contributor

@willhlaw willhlaw commented Jul 4, 2016

When using the angular-firebase branch of the NativeScript/sample-Groceries repo, I switched the config's apiURL to my own firebase project and received the invalid_token issue with my iOS Simulator, which was very similar to your documented Known Issues in the readme. Adding an option to init named iOSSimulatorFlush to try to call auth().signOut resolves the issue with the simulator holding onto an invalid_token.

@EddyVerbruggen EddyVerbruggen merged commit 69bfd2a into EddyVerbruggen:master Jul 5, 2016
@EddyVerbruggen
Copy link
Owner

Awesome, thanks for this very useful addition!

@willhlaw
Copy link
Contributor Author

willhlaw commented Jul 7, 2016

I had switched variable names midstream and thought I had synced them before this PR. I was wrong 😦. #67 has fix for the readme so it is iOSEmulatorFlush (emulator, not simulator).

@EddyVerbruggen , thanks for adding the typings and for this plugin!

@EddyVerbruggen
Copy link
Owner

👍

EddyVerbruggen added a commit that referenced this pull request Apr 18, 2017
iOSSimulatorFlush for known iOS Simulator issue with invalid_token
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants