cordova-background-geolocation-lt icon indicating copy to clipboard operation
cordova-background-geolocation-lt copied to clipboard

is this plugin doesn't works on Huawei phones (HMS)?

Open mehmetkaynak opened this issue 3 years ago • 6 comments

  • Plugin version: 4.1.2
  • Platform: Huawei
  • OS version: Android 10
  • Device manufacturer / model: JNY-LX1
  • Cordova version (cordova -v): latest
  • Cordova platform version (cordova platform ls): latest
  • Plugin config provided to #ready:

is this plugin doesn't works on Huawei phones (HMS)? I asked Huawei technical support and they said the map is not compatible with HMS. Their answer : https://ibb.co/X5C7fnV

Expected Behavior

Actual Behavior

Steps to Reproduce

Context

Debug logs

Logs
PASTE_YOUR_LOGS_HERE

mehmetkaynak avatar Sep 06 '21 08:09 mehmetkaynak

No. Huawei HMS is not supported.

christocracy avatar Sep 06 '21 08:09 christocracy

I've been playing with the Huawei Convertor: Huawei support is coming soon.

christocracy avatar Feb 03 '23 17:02 christocracy

I've been playing with the Huawei Convertor: Huawei support is coming soon.

Nice to see this.

mehmetkaynak avatar Feb 07 '23 08:02 mehmetkaynak

It’s going to require a separate license key for $99.

christocracy avatar Feb 07 '23 11:02 christocracy

My first Huawei HMS phone arrived today and the plugin worked with on first boot of the demo app.

christocracy avatar Feb 13 '23 20:02 christocracy

Who wants to be the first to test it? Install the plugin from this repo (branch #hms)

(insert ionic if using that).

$ [ionic] cordova plugin add https://github.com/transistorsoft/cordova-background-geolocation-lt.git#hms

Unfortunately, I discovered after purchase that my $650 Nova 9 SE does not have a Gyroscope and HMS ActivityRecognition API doesn't work when Gyroscope is missing. Google Play Services' ActivityRecognition API will still work with at least an accelerometer.

TSLocationManager: ╔═════════════════════════════════════════════
TSLocationManager: ║ DEVICE SENSORS
TSLocationManager: ╠═════════════════════════════════════════════
TSLocationManager: ╟─ ✅  ACCELEROMETER: {Sensor name="acc_s004_002 Accelerometer Non-wakeup", vendor="Kionix", version=132096, type=1, maxRange=78.45318, resolution=0.0023928226, power=0.145, minDelay=2500}
TSLocationManager: ╟─ ⚠️  GYROSCOPE:  none.  Motion-detection system performance will be degraded
TSLocationManager: ╟─ ✅  MAGNETOMETER: {Sensor name="mag_s004_001 Magnetometer Non-wakeup", vendor="QST", version=258, type=2, maxRange=4912.0, resolution=0.1, power=1.1, minDelay=10000}
TSLocationManager: ╟─ ✅  SIGNIFICANT_MOTION: {Sensor name="sns_smd  Wakeup", vendor="qualcomm", version=1, type=17, maxRange=1.0, resolution=1.0, power=0.025, minDelay=-1}
TSLocationManager: ╚═════════════════════════════════════════════

christocracy avatar Feb 18 '23 14:02 christocracy

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Apr 19 '24 01:04 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar May 03 '24 01:05 github-actions[bot]