react-native-dji-mobile
react-native-dji-mobile copied to clipboard
TypeError: null is not an object (evaluating 'DJIMobile.ProductConnection')
I am trying to update to the latest code in develop and the latest DJI SDK. I am plugging along, but I just ran into this error (on Android).
It isn't clear to me where the DJIMobile.ProductConnection string is being defined. I don't see it in the Android native module...
Actually, DJIMobile was null. I believe it was null because there are two Package files in android and react-native config was picking the wrong one. I removed DJIMissionControlWrapperPackage.java and it seems like it is working. I think that file isn't necessary for anything anyway.