react-native-3rddigital-appupdate 1.0.8 → 1.0.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.
- package/README.md +2 -0
- 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 |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-3rddigital-appupdate",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.9",
|
|
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",
|