Open ComBatVision opened 1 year ago
For some Reasons DJISDKModel.java class is loosing lambda expression in release version:
KeyListener var4 = (var2xx, var3x) -> {
if (var3x != null) {
var2.updateWidgetObservable(var2x).subscribeOn(AndroidSchedulers.mainThread()).startWith(var2.transformValueObservable(var3x, var2x)).subscribe();
}
};
This issue appears in case SDK is used in a amdroid library gradle module, not in the main application module.
In case of SDK is used inside android library module it is required to add compile only dependency to provided SDK in application gradle.
compileOnly "com.dji:dji-sdk-provided:4.16.4"
Could you investigate is it possible to fix this problem to be able to isolate integration with SDK completely in android library module.
Hello. We have an application with recommended Proguard rules, but it fails in release version with AbstractMethodError when adding almost any widget on UI. Usual SDK without UX work pretty well.
What we are doing wrong?
Proguard rules: