Closed cooperka closed 7 years ago
Hi @Aminoid, I noticed you're not watching this repo so I wanted to ping you directly. Do you mind taking a quick look at this PR? Let me know if you want any more info!
I'll be using your fork while this isn't merged :)
Thanks for the pull-request @cooperka. Merged it and is available in release v3.2.0
Motivation
Some simulators (for both iOS and Android) don't support activity recognition, and even some real Android devices don't have Google Play Services installed. For these devices, the app may crash with native error logs that never get sent to JS and thus are impossible to handle elegantly.
Changes
start
andstop
on both Android and iOSstart
on Android if Google Play Services doesn't exist, or on iOS if motion data isn't available (inDEV
)ActivityRecognition.ios.js
Example
Notes