dji-sdk / Mobile-SDK-iOS

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

SDK incorrectly reports files being stored to SD card when no SD card is inserted #333

Open cmbasnett opened 4 years ago

cmbasnett commented 4 years ago

SDK Version: 4.11 Drone: Mavic 2 Pro

The SDK is incorrectly reporting new media file storage locations in the didGenerateNewMediaFile delegate function.

Steps:

  1. Remove any SD card from the Mavic 2 Pro.
  2. Set the camera storage location to Internal Storage (through DJI GO app or SDK, doesn't matter).
  3. Take a photo with the drone.

In the hook for DJICamera's didGenerateNewMediaFile event, the value for DJIMedia.storageLocation is always DJICameraStorageLocationSDCard, regardless of where it's actually storing the photos.

I also verified that it is is indeed actually storing the photos on internal storage, not the SD card.

Calls to DJICamera.getStorageLocation report the storage location as being internal storage.

dji-dev commented 4 years ago

Public comment from Luce Luo in Zendesk ticket #29629:

Dear Customer,

Thank you for contacting DJI. Sorry for this. This issue will be fixed in the coming v4.11.1 version. Please pay attention to the official release.

Thanks,

Luce Luo DJI Dev Team