dji-sdk / Mobile-SDK-iOS

DJI Mobile SDK for iOS: http://developer.dji.com/mobile-sdk/
Other
578 stars 255 forks source link

Mavic Mini camera:didUpdateStorageState returns multiple locations #377

Open brien-crean opened 4 years ago

brien-crean commented 4 years ago

Looks like there may be a bug in camera:didUpdateStorageState. It is returning a DJICameraStorageLocationInternalStorage enum periodically as well as a valid DJICameraStorageLocationSDCard for the storageState.location value even though the Mini does not support internal storage.

All of the other values apart from location look to be either false or 0

DJICameraStorageLocationInternalStorage Screen Shot 2020-07-29 at 1 51 10 PM

DJICameraStorageLocationSDCard Screen Shot 2020-07-29 at 1 55 01 PM

Drone Mavic Mini DJI SDK Version 4.13

dji-dev commented 4 years ago

Agent comment from Luce Luo in Zendesk ticket #37492:

Dear Customer,

Thank you for contacting DJI. Sorry that it's a known issue and you can refer this workaround for the being time. https://github.com/dji-sdk/Mobile-SDK-iOS/commit/8584ae5711178713d7708231bfba65760fec6abd

Thanks,

Luce Luo DJI Developer Support
inline-364911814.png