Closed aaronbach closed 2 years ago
Hi @aaronbach
You can try to exclude completely our plugins from being obfuscated by adding:
-keep public class com.scandit.capacitor.** {
public protected *;
}
In case you have more detailed questions, please feel free to reach out to us directly:
Thanks @ScanditSupport this is working for me
Im using Capacitor 3 in combination with proguard in android. The debug build is working great, but the production build is not working.
The Problem is, when I set
minifyEnabled true
inbuild.gradle
, I get the following Error, when I callawait ScanditCaptureCorePlugin.initializePlugins();
in Typescript.Here are my Proguard Rules, to ignore general Capacitor Plugins during minification.
I also tried the following:
but I still get the same Error (please see Screenshot).
Am I missing something?
We are a paying Scandit Customer, please let me know if this is the wrong place for Support.
Thanks