Logging after Disconnect
in iOS
I am trying to log MetaTrackr data over a long period of time. While the device is logging, I need to be able to disconnect from the device and kill the app. I have a "Start Monitoring" button connected to a function which calls startLoggingAsync on several events. I also have a "Stop Monitoring" button which calls downloadAndStopLoggingAsync on the same events. When running *within* the active application, these functions work properly. However if I kill the app, turn off bluetooth, or switch to a different view within the app while logging, I am unable to retrieve the data upon reopening and downloading.
I have followed the documentation for logging.
Any suggestions why the functions don't seem to be working as they are supposed to?
This discussion has been closed.
Comments