react-native-nitro-storage 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -46,6 +46,7 @@ android {
46
46
  minSdkVersion getExtOrIntegerDefault("minSdkVersion")
47
47
  targetSdkVersion getExtOrIntegerDefault("targetSdkVersion")
48
48
  buildConfigField "boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled().toString()
49
+ consumerProguardFiles "consumer-rules.pro"
49
50
 
50
51
  externalNativeBuild {
51
52
  cmake {
@@ -0,0 +1,4 @@
1
+ # Keep AndroidStorageAdapter and all its methods - accessed via JNI reflection
2
+ -keep class com.nitrostorage.AndroidStorageAdapter { *; }
3
+ -keepclassmembers class com.nitrostorage.AndroidStorageAdapter { *; }
4
+ -keepclassmembers class com.nitrostorage.AndroidStorageAdapter$Companion { *; }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-nitro-storage",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "The fastest, most complete storage solution for React Native. Synchronous Memory, Disk, and Secure storage in one unified API. Built with Nitro Modules.",
5
5
  "main": "lib/commonjs/index.js",
6
6
  "module": "lib/module/index.js",