dji-sdk / Mobile-UXSDK-iOS

DJI Mobile UXSDK is a suite of product agnostic UI objects that fast tracks the development of iOS applications using the DJI Mobile SDK.
Other
73 stars 43 forks source link

SDK 4.8 is broken - does not connect to aircraft at all #58

Open Izhido opened 5 years ago

Izhido commented 5 years ago

DJI UX SDK 4.8 seems to be broken.

Working on an app that uses SDK v 4.7.1 (installed as recommended, using Cocoapods) to perform some readings from the Vision and ultrasonic sensors, while using UX SDK 4.7.1 and DJIWidget 1.1 to provide FPV & configuration & status to the app, by using DUXDefaultLayoutViewController as a child of a Container View. Works fine, as expected, while connected to a Phantom 4 Pro v2, by using an iPad Air with iOS 12.1 . The project itself is built using Xcode 10.1 .

Upon migrating to (UX) SDK v 4.8, as well as DJIWidget 1.2, the app suddenly stops working - no FPV, sensors are no longer giving any output - the red indicator that signals that there is no Vision sensor output is always on - , and there is a permanent red triangle shown on at the top right side of the screen. The menu at the checklist does not report anything wrong. When running DJI Go 4, the app doesn't report anything wrong with the aircraft, either.

Went back to (UX) SDK v 4.7.1, while keeping DJIWidget 1.2, and the app starts working again as expected.

If required, I can provide a minimal build of my app to reproduce the issue.

biomiker commented 5 years ago

I have observed this problem as well. Reverting to 4.7.1 fixed the problem.