react-native-instantpay-code-push 1.1.0 → 1.1.2

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.
@@ -33,7 +33,7 @@ android {
33
33
  defaultConfig {
34
34
  minSdkVersion getExtOrIntegerDefault("minSdkVersion")
35
35
  targetSdkVersion getExtOrIntegerDefault("targetSdkVersion")
36
-
36
+ consumerProguardFiles 'proguard-rules.pro'
37
37
  buildConfigField "long", "BUILD_TIMESTAMP", "${System.currentTimeMillis()}L" //Added For IpayCodePush
38
38
 
39
39
  //Added For IpayCodePush
@@ -0,0 +1,17 @@
1
+ # Old Architecture
2
+ # Invoked via reflection, when setting js bundle.
3
+ -keepclassmembers class com.facebook.react.ReactInstanceManager {
4
+ private final ** mBundleLoader;
5
+ }
6
+
7
+ # New Architecture
8
+ # Keep fields accessed via reflection in ReactHost
9
+ # Support both Java (mReactHostDelegate) and Kotlin (reactHostDelegate) field names
10
+ -keepclassmembers class com.facebook.react.runtime.ReactHostImpl {
11
+ private final ** mReactHostDelegate;
12
+ private final ** reactHostDelegate;
13
+ }
14
+
15
+ -keepclassmembers class * implements com.facebook.react.runtime.ReactHostDelegate {
16
+ ** jsBundleLoader;
17
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-instantpay-code-push",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "description": "React Native plugin for the CodePush service",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "./lib/typescript/src/index.d.ts",
@@ -38,8 +38,7 @@
38
38
  "typecheck": "tsc",
39
39
  "lint": "eslint \"**/*.{js,ts,tsx}\"",
40
40
  "test": "jest",
41
- "release": "release-it --only-version",
42
- "generateBundle" : "ruby generateBundle.rb --projectDir /var/www/npm-package/react-native-instantpay-code-push/example --platform ANDROID --enableHermes true"
41
+ "release": "release-it --only-version"
43
42
  },
44
43
  "keywords": [
45
44
  "react-native",