forked from getsentry/sentry-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproguard-rules.pro
More file actions
21 lines (15 loc) · 792 Bytes
/
Copy pathproguard-rules.pro
File metadata and controls
21 lines (15 loc) · 792 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
##---------------Begin: proguard configuration for NDK ----------
# The Android SDK checks at runtime if this class is available via Class.forName
-keep class io.sentry.android.ndk.SentryNdk { *; }
# The JNI layer uses this class through reflection
-keep class io.sentry.protocol.DebugImage { *; }
# For native methods, see http://proguard.sourceforge.net/manual/examples.html#native
-keepclasseswithmembernames,includedescriptorclasses class io.sentry.** {
native <methods>;
}
# don't warn jetbrains annotations
-dontwarn org.jetbrains.annotations.**
# To ensure that stack traces is unambiguous
# https://developer.android.com/studio/build/shrink-code#decode-stack-trace
-keepattributes LineNumberTable,SourceFile
##---------------End: proguard configuration for NDK ----------