Closed brandon-watkins-avcrm closed 5 months ago
Hey @brandon-watkins-avcrm
Unfortunately, DJI do not support Mavic 3 with their Mobile SDK 4. It is only supported by Mobile SDK 5 (and only on Android): https://developer.dji.com
This plugin is a wrapper around DJI Mobile SDK 4.
I'm planning to work on DJI Flutter Plugin for SDK 5, however I'm not sure when I'll get to it yet...
Hey mate I am having some issues connecting a Mavic 3 drone with the example Android app. Would really appreciate any advice/guidance :)
Setup: Mavic 3 - Classic. Galaxy Tab 8 - Android 13 connection via cable to Remote Controller. I have confirmed the Drone connects successfully in the DJI Fly app.
What I have done: Created/Registered a new app in the DJI console with the Android example package name and updated the key in the code. (I have also tried with the key you provide) Run the Android app on my device. Selected "Register App" -> Status = Registered Selected "Connect" -> Status = Connected Selected "Delegate" -> Status Error [!]
Debugging/looking at the logs: When the
delegateDrone()
method is calledDJISDKManager.getInstance().product
isUnknown
and then(drone as Aircraft).flightController
isnull
.Here is a dump of the logs, there are some suspicious errors being thrown which could be the cause of the issues...