react-native-ota-client 0.2.0-beta.1 → 0.3.0

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.
Files changed (2) hide show
  1. package/README.md +0 -31
  2. package/package.json +11 -3
package/README.md CHANGED
@@ -167,37 +167,6 @@ override func bundleURL() -> URL? {
167
167
 
168
168
  Provide the configuration from host-owned build settings and bundle only the public verification key. Use HTTPS for release builds. `allowLocalHttp` is for explicit local development only and is restricted to `localhost`, `127.0.0.1`, or `::1`; OTA downloads must match the configured server origin. iOS returns whether an update is staged from `closeAppToApplyUpdate()` and requires the user to relaunch. Call `markUpdateSuccessful()` after the first usable React screen mounts.
169
169
 
170
- The example app reads `OTA_SERVER_URL`, `OTA_RUNTIME_VERSION`, and `OTA_CHANNEL` from its Info.plist build substitutions and expects an `ota_publisher_public.pem` public key resource in the app bundle. Configure these values and add the matching public key to exercise its OTA flow.
171
-
172
- ## Development and verification
173
-
174
- For implementation architecture, behavioral invariants, suggested change workflow, and verification commands, see the [coding-agent implementation guide](agent.md).
175
-
176
- From the SDK package directory, install the locked Yarn dependencies with the bundled Yarn executable and build its example:
177
-
178
- ```sh
179
- node .yarn/releases/yarn-4.18.1.cjs install
180
- node .yarn/releases/yarn-4.18.1.cjs workspace react-native-ota-client-example build:android
181
- ```
182
-
183
- The Android library unit tests run through the example's Gradle project:
184
-
185
- ```sh
186
- cd example/android
187
- ./gradlew :react-native-ota-client:testDebugUnitTest
188
- ```
189
-
190
- Build a development debug app to verify native linking and Metro. OTA activation requires a release APK; debug builds use Metro and report activation as disabled.
191
-
192
- For iOS, run `pod install` from `example/ios`, then build the `OtaSdkExample` scheme for Debug and Release. Debug uses Metro; Release selects a verified OTA bundle when configured and otherwise uses the embedded bundle. The standalone activation-state checks can be run from the package root with:
193
-
194
- ```sh
195
- swiftc ios/OtaActivationPolicy.swift ios/Tests/main.swift -o /tmp/ota-activation-policy-tests
196
- /tmp/ota-activation-policy-tests
197
- ```
198
-
199
- Signature/package validation tests and live simulator/device activation and rollback exercises remain required before claiming end-to-end OTA readiness.
200
-
201
170
  For the companion OTA server API and release contract, see the [`react-native-ota-server` GitHub repository](https://github.com/arjunnarangali/react-native-ota-server).
202
171
 
203
172
  ## License
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "react-native-ota-client",
3
- "version": "0.2.0-beta.1",
4
- "description": "Android over-the-air JavaScript updates for React Native applications",
3
+ "version": "0.3.0",
4
+ "description": "Android and iOS OTA updates and over-the-air JavaScript updates for React Native apps",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "./lib/typescript/src/index.d.ts",
7
7
  "exports": {
@@ -42,7 +42,15 @@
42
42
  },
43
43
  "keywords": [
44
44
  "react-native",
45
- "android"
45
+ "react-native-ota",
46
+ "react-native-ota-updates",
47
+ "react-native-updates",
48
+ "ota",
49
+ "ota-updates",
50
+ "over-the-air",
51
+ "over-the-air-updates",
52
+ "android",
53
+ "ios"
46
54
  ],
47
55
  "repository": {
48
56
  "type": "git",