Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Checking for connectivity / current user #7

Open
tvogels opened this issue Sep 28, 2015 · 3 comments
Open

Checking for connectivity / current user #7

tvogels opened this issue Sep 28, 2015 · 3 comments

Comments

@tvogels
Copy link

tvogels commented Sep 28, 2015

How would one go about checking for connection status in this framework? In the ideal case, I would be looking for a Meteor-style reactive variable that says whether the DDP connection is currently open and working or not. I want to use it to automatically reconnect after the app is reopened the phone awakes from 'sleep mode'.

On a similar note, I would also want the same for finding out whether the user is logged in. Something like Meteor.user() ...

Would this be difficult? Tips are very welcome.

@wbashir
Copy link

wbashir commented Nov 20, 2015

+1 This would be interesting to know if you have solved the problem already. Looking to migrate a meteor app into a mobile platform and having difficultly accessing the Meteor.user() helper

@tvogels
Copy link
Author

tvogels commented Nov 20, 2015

I haven't solved the problem yet, unfortunately. I don't know enough about the platform to add such a feature at the current time. I'm still interested, though.

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

No branches or pull requests

3 participants