Meteor Cordova: How to trick offline meteor cordova app to think it is logged in by using user document from localstorage
I have a meteor electron/cordova app that has user accounts. I am familiar with this package meteor ground user. https://github.com/gwendall/meteor-ground-user It seems to work for the cordova app, but fails with the electron build. With the electron build the app just gets stuck logging in. And Meteor.logginIn() is always true. So I am hoping someone can advice me how to manually on startup, if Meteor.status().connected is false, check localstorage for last logged in user, and auto login the user in with that document and userId. Summary: Initial condition: Uses User Accounts User has previously used the app and logged in when connected User is opening the app when offline Meteor electron app https://github.com/wojtkowiak/meteor-desktop Saves user document to localstorage https://github.com/gwendall/meteor-ground-user Goal: After opening the app offline, use the saved user document, and automatically make the client think the user is logged in with the offline user document.
Cordova local notification plugin, click handler not working outside of the app
Hybrid Mobile App: Difference between PhoneGap and Cordova
cordova facebook login does not respond on actual device
Ionic / Cordova not working with Crosswalk
How to load cordova.js from a remote website?
ionic-native-transitions not working, no animation
Phonegap build online - iOS ATS configuration
How to run cordova build with -Xlint:deprecation
Phonegap - Adding header to WebView - jQuery Mobile
Phonegap Build InAppBrowser for cli-5.2.0
How to prevent landscape orientation in phonegap(html)?
vs2015 template for cordova - ios simulator
Ionic: Impelement Diagnostic Plugin (no ngCordova Plugin)
CLLocationManager does not have allowsBackgroundLocationUpdates member variable
Adding cordova bluetooth to meteor project
Ionic run does nothing