@reclaimprotocol/inapp-rn-sdk 0.10.7 → 0.10.9

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.
@@ -17,7 +17,7 @@ Pod::Spec.new do |s|
17
17
 
18
18
  s.source_files = "ios/**/*.{h,m,mm,cpp,swift}"
19
19
  s.private_header_files = "ios/generated/**/*.h"
20
- s.dependency "ReclaimInAppSdk", "~> 0.10.7"
20
+ s.dependency "ReclaimInAppSdk", "~> 0.10.9"
21
21
 
22
22
  # Use install_modules_dependencies helper to install the dependencies if React Native version >=0.71.0.
23
23
  # See https://github.com/facebook/react-native/blob/febf6b7f33fdb4904669f99d795eba4c0f95d7bf/scripts/cocoapods/new_architecture.rb#L79.
package/README.md CHANGED
@@ -114,6 +114,20 @@ error.innerError
114
114
 
115
115
  ## Troubleshooting
116
116
 
117
+ ### Cronet errors on android without play services
118
+
119
+ On android devices which don't have play services, you may get following errors in Android logs: `java.lang.RuntimeException: All available Cronet providers are disabled. A provider should be enabled before it can be used.`, `Google-Play-Services-Cronet-Provider is unavailable.`. This is because the Reclaim InApp SDK depends on cronet for making http requests.
120
+
121
+ To fix this, you need to use embedded cronet in your android app by adding the following dependency in your build.gradle dependencies block:
122
+
123
+ ```gradle
124
+ dependencies {
125
+ // ... other dependencies (not shown for brevity)
126
+ // Use embedded cronet
127
+ implementation("org.chromium.net:cronet-embedded:113.5672.61")
128
+ }
129
+ ```
130
+
117
131
  ### Compatibility Notice: expo-dev-client on iOS
118
132
 
119
133
  Please be aware of a known incompatibility between ReclaimInAppSdk and the [`expo-dev-client`](https://www.npmjs.com/package/expo-dev-client) package on the iOS platform.
@@ -138,7 +152,7 @@ pod update ReclaimInAppSdk
138
152
 
139
153
  ## Migration
140
154
 
141
- - Migration steps for [0.10.7](https://github.com/reclaimprotocol/reclaim-inapp-reactnative-sdk/blob/main/documentation/migration.md#0107)
155
+ - Migration steps for [0.10.9](https://github.com/reclaimprotocol/reclaim-inapp-reactnative-sdk/blob/main/documentation/migration.md#0109)
142
156
  - Migration steps for [0.9.2](https://github.com/reclaimprotocol/reclaim-inapp-reactnative-sdk/blob/main/documentation/migration.md#092)
143
157
  - Migration steps for [0.9.1](https://github.com/reclaimprotocol/reclaim-inapp-reactnative-sdk/blob/main/documentation/migration.md#091)
144
158
  - Migration steps for [0.9.0](https://github.com/reclaimprotocol/reclaim-inapp-reactnative-sdk/blob/main/documentation/migration.md#090)
@@ -118,7 +118,7 @@ dependencies {
118
118
  implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
119
119
 
120
120
  //noinspection UseTomlInstead
121
- implementation "org.reclaimprotocol:inapp_sdk:0.10.7"
121
+ implementation "org.reclaimprotocol:inapp_sdk:0.10.9"
122
122
  }
123
123
 
124
124
  if (isNewArchitectureEnabled()) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reclaimprotocol/inapp-rn-sdk",
3
- "version": "0.10.7",
3
+ "version": "0.10.9",
4
4
  "description": "Reclaim Protocol's InApp React Native SDK for ZK proof generations for requests with an in-app experience of web verification",
5
5
  "source": "./src/index.ts",
6
6
  "main": "./lib/commonjs/index.js",