Closed ShortArrow closed 3 years ago
I think the following is important in ⬆️.
Pending exception java.lang.ClassNotFoundException: api.natsuite.natshare.NativeCallback
So I tried turn off Proguard. After that myapp show expected behavior on Android 11!
So searching for way how to use both Proguard and NatShare.
Because I need Proguard!
First, I tried to put the "Custum Proguard Setting Text File". then I included this code.
-keep class api.natsuite.natshare.NativeCallback{ *; }
But this is nothing effects.
Am I making a mistake in the syntax? Or is the specified class name different?
how to use both Proguard and NatShare.
Assets\Plugins\Android\proguard-user.txt
-keep class api.natsuite.**{
*;
}
This is own answer.
This is a good note. I will add the note about Proguard to the online docs. But your rule is correct, you need to keep anything with api.natsuite.*
.
Environment
Problem
NetShare is good job on iOS. But crash on Android!
Code
Error Message
I show my
adb logcat
data.