Skip to content
Snippets Groups Projects
Commit 64bbb5d6 authored by Rodrigo Nascimento's avatar Rodrigo Nascimento
Browse files

Disconnect user when app goes to background and reconnect when back to foreground. Fixes #432

parent 6fb54f7f
No related branches found
No related tags found
No related merge requests found
if Meteor.isCordova
document.addEventListener 'pause', ->
Meteor.disconnect()
document.addEventListener 'resume', ->
Meteor.reconnect()
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment