react-native-3rddigital-appupdate 1.0.8 → 1.0.10

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 +3 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -39,6 +39,7 @@ import { OTAProvider, checkOTAUpdate } from 'react-native-3rddigital-appupdate';
39
39
  const App = () => {
40
40
  useEffect(() => {
41
41
  checkOTAUpdate({
42
+ baseUrl: 'https://your-api-url.com',
42
43
  key: 'YOUR_PROJECT_KEY',
43
44
  iosPackage: 'com.example.ios',
44
45
  androidPackage: 'com.example.android',
@@ -75,6 +76,7 @@ Options:
75
76
 
76
77
  | Key | Type | Required | Description |
77
78
  | ---------------- | ------ | -------- | ----------------------------------------------------- |
79
+ | `baseUrl` | string | ✅ | Base url for app update |
78
80
  | `key` | string | ✅ | Project key to identify the app on your update server |
79
81
  | `iosPackage` | string | ✅ | iOS bundle/package identifier |
80
82
  | `androidPackage` | string | ✅ | Android bundle/package identifier |
@@ -149,7 +151,7 @@ What it does
149
151
 
150
152
  - Bundles your React Native JS + assets
151
153
  - Zips the output
152
- - Uploads bundle + metadata to your update server (https://dev.3rddigital.com/appupdate-api/api/)
154
+ - Uploads bundle + metadata to your update server
153
155
 
154
156
  ## 📄 License
155
157
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-3rddigital-appupdate",
3
- "version": "1.0.8",
3
+ "version": "1.0.10",
4
4
  "description": "A React Native library for seamless over-the-air (OTA) updates with version checks, automatic bundle download, and customizable user prompts for iOS and Android.",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "./lib/typescript/src/index.d.ts",