Skip to content

Commit

Permalink
Update proguard rules
Browse files Browse the repository at this point in the history
  • Loading branch information
robertying committed Jan 27, 2024
1 parent 382e310 commit 67f926f
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions android/app/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,37 @@
-keepnames class * extends expo.modules.core.BasePackage
-keepnames class * implements expo.modules.core.interfaces.Package

-keep @expo.modules.core.interfaces.DoNotStrip class *
-keepclassmembers class * {
@expo.modules.core.interfaces.DoNotStrip *;
}

-keep class * implements expo.modules.kotlin.records.Record {
*;
}
-keep enum * implements expo.modules.kotlin.types.Enumerable {
*;
}
-keepnames class kotlin.Pair

-keep,allowoptimization,allowobfuscation class * extends expo.modules.kotlin.modules.Module {
public <init>();
public expo.modules.kotlin.modules.ModuleDefinitionData definition();
}

-keepclassmembers class * implements expo.modules.kotlin.views.ExpoView {
public <init>(android.content.Context);
public <init>(android.content.Context, expo.modules.kotlin.AppContext);
}

-keepclassmembers class * {
expo.modules.kotlin.viewevent.ViewEventCallback *;
}

-keepclassmembers class * {
expo.modules.kotlin.viewevent.ViewEventDelegate *;
}


# crash reports

Expand Down

0 comments on commit 67f926f

Please sign in to comment.