dji-sdk / Mobile-SDK-Android-V5

MSDK V5 Sample
Other
266 stars 142 forks source link

US Remote ID fails with Mobile SDK v5 #426

Open MohamedKari opened 3 days ago

MohamedKari commented 3 days ago

In the US, I deployed an Android app based on Mobile SDK V5 (5.9.0.1659) to a Pixel 7a (Android API 33), connected it to RC-N1 via USB-C which is bound to a Mini 3 Pro. However, I receive the error:

Remote ID Error. Unable to take off. Make sure DJI Fly can access mobile device location.

GPS permissions are set to "Always allow" for the MSDK-based app. GPS signal is received on the Android phone (Pixel 7a). Mobile data (5G) is also active.

With the official DJI Fly app (V 1.14.0), Remote ID works perfectly fine and the drone takes off, so it must be the SDK implementation. Is there a fix for this problem?

dji-dev commented 1 day ago

Agent comment from yating.liao in Zendesk ticket #117830:

Could you please confirm if the process of your app has been running in the foreground? Are you experiencing the same issue with the sample code in version 5.9 or 5.10?

°°°

MohamedKari commented 8 hours ago

Yes, the app is running in foreground.

Also, I updated and it does not work in 5.9 nor 5.10.

dji-dev commented 2 hours ago

Agent comment from yating.liao in Zendesk ticket #117830:

Could you please let me know if you encounter the same error when using the sample code for MSDK? I would like to confirm whether your software settings, such as services and other factors, might be causing the MSDK to misjudge the situation.

°°°