Open brien-crean opened 4 years ago
Agent comment from Luce Luo in Zendesk ticket #34055:
Dear Customer,
Thank you for contacting DJI. To help us collect questions in detail, please fill in the form below and we will handle this ticket once we have received it. https://formcrafts.com/a/dji-developer-feedback-en
Thanks,
Luce Luo DJI Dev Team
Thanks @dji-dev I submitted the form for this issue
When using the Mavic 2 with the Mobile SDK
setStorageLocation:withCompletion
is not setting the storage location passed to it. In the completion callback I usegetStorageLocationWithCompletion
to check what the storage location has now been set and it returns the correct value I passed in e.g. DJICameraStorageLocationInternalStorage.However when I take photos they are stored on the previously set storage location which was the SD card. If I then restart my iOS app I can see that the storage is set to the SD card.
Also If I go into DJI Go I can see that the storage location has not changed from SD card. The only way to currently change the storage location is to use the Go 4 app. I can set it to internal storage here and my app is now able to store photos on the internal storage.
SDK Version: 4.11.2 Drone: Mavic 2 Pro