Closed jameslevine closed 2 years ago
@jameslevine one problem I can see off the bat is that your proguard rules are referencing com.urbanairship.unityplugin.UnityPlugin
.
Probably want to add:
-keep class com.urbanairship.reactnative.** { *; }
But it should already be working with your other keeps. Try it and let us know.
Any update on this? Closing for now.
❗For how-to inquiries involving Airship functionality or use cases, please contact (support)[https://support.airship.com/].
Preliminary Info
What Airship dependencies are you using?
"urbanairship-react-native": "11.0.2",
What are the versions of any relevant development tools you are using?
Report
What unexpected behavior are you seeing?
I am getting an error when I set up Proguard.
My proguard-rules.pro file looks like this:
If I comment out this useEffect here which sets up Airship, the app runs perfectly:
If you have any light to shed on why this might be happening, it would be much appreciated.
What is the expected behavior?
Expected behaviour should be no error and app loads as expected
What are the steps to reproduce the unexpected behavior?
I am building the app in release mode
Do you have logging for the issue?