react-native-background-geolocation: not working on android without GMS (google mobile service )
a lot of our client use this plugin and can’t work on huawei device bcz its HMS Base we need to make a integration with Huawei mobile service we have the same functionality of google and the same method and event name but we need to change the importing of google can any one help us on this issue i think its a easy thing but we don’t have access to the core code please advice
Your Environment
- Plugin version:latest
- Platform: Android
- OS version:androdi 10,9
- Device manufacturer / model:huawei mate 30 hms (not gms)
Expected Behavior
should works in both HMS and GMS
Actual Behavior
not working in HMS Devices
Steps to Reproduce
1.just run the it on HMS Device you will see the error at the log
Context
About this issue
- Original URL
- State: open
- Created 4 years ago
- Comments: 15 (8 by maintainers)
Who wants to be the first to test Huawei HMS support? Install the plugin from this repo (branch
#hms)Unfortunately, I discovered after purchase that my
$650Nova 9 SE does not have a Gyroscope and HMSActivityRecognitionAPI doesn’t work when Gyroscope is missing. Google Play Services’ActivityRecognitionAPI will still work with at least an accelerometer.I’ve been playing with the Huawei Convertor: Huawei support is coming soon.