dji-sdk / Mobile-SDK-iOS

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

How should DJIUASRemoteIDManager be used by 3d-party developers? #544

Open YaroTs opened 1 year ago

YaroTs commented 1 year ago

DJIUASRemoteIDManager class was added in the 4.16.2 release for Remote ID compliance.

Could you please explain what should I do in my app to comply with this regulation rules?

  1. Is it enough just to update my app with the latest iOS SDK 4.16.2 ?
  2. Should I add some UI inside my app for users to be able to set area code with DJIUASRemoteIDManager.setAreaCode method and show them remoteIDStatus from DJIUASRemoteIDManagerDelegate?

Or is something else required?

DJI-William commented 1 year ago
  1. Upgrade your iOS sdk TO 4.16.2.
  2. Make sure your app has a permission to read the current location of the iOS device.
  3. Make sure your app is running at foregournd. The above 3 steps are enough. The DJIUASRemoteIDManager.setAreaCode will return the meesages the aircraft is sending on that area. It just help you to print the relevant information on your app. The RID function itself is embedded in firmware. SDK just gathering the broadcasting messages.