Closed AdenITD closed 4 years ago
Hi @AdenITD,
thank you for the issue report. We are investigating this and we will get back to you when we find a solution. It seems that while performing code shrinking, R8 removes some methods and classes from our SDK that should be present, which is not the case with the proguard.
Also, we have tested our native Android SDK with R8 and everything works fine, this problem is specific for Xamarin.
Hi @AdenITD,
for now, you should include custom shrinker configuration file, like described here and add the following rule:
-keep public class com.microblink.**
Thank's Ivan, adding the custom proguard config with the line above has worked.
Repo steps:
microblinkFactory.CreateMicroblinkScanner()
Exception: Java.Lang.ClassNotFoundException
Message:
StackTrace: