mirror of
https://github.com/status-im/realm-js.git
synced 2025-02-16 00:27:57 +00:00
fixes enumeration test and test setup add async store api tests Log benchmark test errors and some other minor edits Only delete .realm* files for tests sql lite tests run all the tests worthless Make SQLite benchmarks work Make Realm insertion benchmark work like SQLite run each test in release multiple times Open each database once per benchmark test Use same AppDelegate for benchmarks as the example This will load the non-dev JS from the packager. Make the benchmarks actually match their labels Delete benchmark databases during setup phase Some minor code style updates to benchmarks query tests make query test mostly work bug fix and improved logging remove double insertions improved logging and bugfix better logging batch insersions more reasonable counts android
68 lines
2.3 KiB
Prolog
68 lines
2.3 KiB
Prolog
# Add project specific ProGuard rules here.
|
|
# By default, the flags in this file are appended to flags specified
|
|
# in /usr/local/Cellar/android-sdk/24.3.3/tools/proguard/proguard-android.txt
|
|
# You can edit the include path and order by changing the proguardFiles
|
|
# directive in build.gradle.
|
|
#
|
|
# For more details, see
|
|
# http://developer.android.com/guide/developing/tools/proguard.html
|
|
|
|
# Add any project specific keep options here:
|
|
|
|
# If your project uses WebView with JS, uncomment the following
|
|
# and specify the fully qualified class name to the JavaScript interface
|
|
# class:
|
|
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
|
|
# public *;
|
|
#}
|
|
|
|
# Disabling obfuscation is useful if you collect stack traces from production crashes
|
|
# (unless you are using a system that supports de-obfuscate the stack traces).
|
|
-dontobfuscate
|
|
|
|
# React Native
|
|
|
|
# Keep our interfaces so they can be used by other ProGuard rules.
|
|
# See http://sourceforge.net/p/proguard/bugs/466/
|
|
-keep,allowobfuscation @interface com.facebook.proguard.annotations.DoNotStrip
|
|
-keep,allowobfuscation @interface com.facebook.proguard.annotations.KeepGettersAndSetters
|
|
|
|
# Do not strip any method/class that is annotated with @DoNotStrip
|
|
-keep @com.facebook.proguard.annotations.DoNotStrip class *
|
|
-keepclassmembers class * {
|
|
@com.facebook.proguard.annotations.DoNotStrip *;
|
|
}
|
|
|
|
-keepclassmembers @com.facebook.proguard.annotations.KeepGettersAndSetters class * {
|
|
void set*(***);
|
|
*** get*();
|
|
}
|
|
|
|
-keep class * extends com.facebook.react.bridge.JavaScriptModule { *; }
|
|
-keep class * extends com.facebook.react.bridge.NativeModule { *; }
|
|
-keepclassmembers,includedescriptorclasses class * { native <methods>; }
|
|
-keepclassmembers class * { @com.facebook.react.uimanager.UIProp <fields>; }
|
|
-keepclassmembers class * { @com.facebook.react.uimanager.ReactProp <methods>; }
|
|
-keepclassmembers class * { @com.facebook.react.uimanager.ReactPropGroup <methods>; }
|
|
|
|
-dontwarn com.facebook.react.**
|
|
|
|
# okhttp
|
|
|
|
-keepattributes Signature
|
|
-keepattributes *Annotation*
|
|
-keep class com.squareup.okhttp.** { *; }
|
|
-keep interface com.squareup.okhttp.** { *; }
|
|
-dontwarn com.squareup.okhttp.**
|
|
|
|
# okio
|
|
|
|
-keep class sun.misc.Unsafe { *; }
|
|
-dontwarn java.nio.file.*
|
|
-dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement
|
|
-dontwarn okio.**
|
|
|
|
# stetho
|
|
|
|
-dontwarn com.facebook.stetho.**
|