react-native-3rddigital-appupdate 1.0.0 → 1.0.1
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 +4 -4
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# react-native-
|
|
1
|
+
# react-native-3rddigital-appupdate
|
|
2
2
|
|
|
3
3
|
A React Native library for **seamless Over-The-Air (OTA) updates** with:
|
|
4
4
|
|
|
@@ -10,9 +10,9 @@ A React Native library for **seamless Over-The-Air (OTA) updates** with:
|
|
|
10
10
|
## 🚀 Installation
|
|
11
11
|
|
|
12
12
|
```sh
|
|
13
|
-
npm install react-native-
|
|
13
|
+
npm install react-native-3rddigital-appupdate
|
|
14
14
|
# or
|
|
15
|
-
yarn add react-native-
|
|
15
|
+
yarn add react-native-3rddigital-appupdate
|
|
16
16
|
```
|
|
17
17
|
|
|
18
18
|
This package has peer dependencies that also need to be installed:
|
|
@@ -34,7 +34,7 @@ cd ios && pod install
|
|
|
34
34
|
```sh
|
|
35
35
|
import React, { useEffect } from 'react';
|
|
36
36
|
import { View, Text } from 'react-native';
|
|
37
|
-
import { OTAProvider, checkOTAUpdate } from 'react-native-
|
|
37
|
+
import { OTAProvider, checkOTAUpdate } from 'react-native-3rddigital-appupdate';
|
|
38
38
|
|
|
39
39
|
const App = () => {
|
|
40
40
|
useEffect(() => {
|
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.1",
|
|
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",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
],
|
|
34
34
|
"scripts": {
|
|
35
35
|
"build": "bob build",
|
|
36
|
-
"example": "yarn workspace react-native-
|
|
36
|
+
"example": "yarn workspace react-native-3rddigital-appupdate-example",
|
|
37
37
|
"test": "jest",
|
|
38
38
|
"typecheck": "tsc",
|
|
39
39
|
"lint": "eslint \"**/*.{js,ts,tsx}\"",
|
|
@@ -48,14 +48,14 @@
|
|
|
48
48
|
],
|
|
49
49
|
"repository": {
|
|
50
50
|
"type": "git",
|
|
51
|
-
"url": "git+https://github.com/latest3rddigital/react-native-
|
|
51
|
+
"url": "git+https://github.com/latest3rddigital/react-native-3rddigital-appupdate.git"
|
|
52
52
|
},
|
|
53
|
-
"author": "Sagar Bhavsar <sagar@3rddigital.com> (https://github.com/latest3rddigital/react-native-
|
|
53
|
+
"author": "Sagar Bhavsar <sagar@3rddigital.com> (https://github.com/latest3rddigital/react-native-3rddigital-appupdate)",
|
|
54
54
|
"license": "MIT",
|
|
55
55
|
"bugs": {
|
|
56
|
-
"url": "https://github.com/latest3rddigital/react-native-
|
|
56
|
+
"url": "https://github.com/latest3rddigital/react-native-3rddigital-appupdate/issues"
|
|
57
57
|
},
|
|
58
|
-
"homepage": "https://github.com/latest3rddigital/react-native-
|
|
58
|
+
"homepage": "https://github.com/latest3rddigital/react-native-3rddigital-appupdate#readme",
|
|
59
59
|
"publishConfig": {
|
|
60
60
|
"registry": "https://registry.npmjs.org/"
|
|
61
61
|
},
|