react-native-acoustic-mobile-push-wallet-beta 3.9.8 → 3.9.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.
package/README.md
CHANGED
|
@@ -1,45 +1,22 @@
|
|
|
1
1
|
# react-native-acoustic-mobile-push-wallet-beta
|
|
2
|
-
|
|
3
|
-
Contains Android/iOS native SDKs + the wrapper code to create plugins for React Native
|
|
2
|
+
Optional Campaign plugin for ios wallet feature.
|
|
4
3
|
|
|
4
|
+
### Plugin Dependencies
|
|
5
|
+
react-native-acoustic-mobile-push-beta
|
|
6
|
+
react-native-acoustic-mobile-push-inapp-beta
|
|
7
|
+
react-native-acoustic-mobile-push-inbox-beta
|
|
5
8
|
----
|
|
6
9
|
|
|
7
10
|
[Overview](https://developer.goacoustic.com/acoustic-campaign/docs/add-the-react-native-plug-in-to-your-app#overview)
|
|
8
11
|
---
|
|
9
12
|
|
|
10
|
-
|
|
11
|
-
|
|
13
|
+
## Install
|
|
14
|
+
Add `react-native-acoustic-mobile-push-wallet-beta` to the project.
|
|
12
15
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
* `cd SampleApp`
|
|
17
|
-
* `yarn install`
|
|
16
|
+
```shell yarn
|
|
17
|
+
yarn add react-native-acoustic-mobile-push-wallet-beta
|
|
18
|
+
```
|
|
18
19
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
### Run iOS
|
|
24
|
-
* `cd ios`
|
|
25
|
-
* `pod install`
|
|
26
|
-
* open `.xcworkspace` file in xcode
|
|
27
|
-
* build to device or simulator
|
|
28
|
-
|
|
29
|
-
### Testing the Sample app
|
|
30
|
-
Tests are stored in the `SampleApp/e2e` directory. All test files of the form `*.spec.js` will be automatically picked up and run by the CI pipeline.
|
|
31
|
-
|
|
32
|
-
To run tests, first build the app using the desired configuration using `detox -c [config name] build`, then run the tests using `detox -c [config name] run`.
|
|
33
|
-
|
|
34
|
-
Available configurations are:
|
|
35
|
-
* ios-15
|
|
36
|
-
* ios-14
|
|
37
|
-
* ios-13
|
|
38
|
-
* android-31
|
|
39
|
-
* android-30
|
|
40
|
-
* android-29
|
|
41
|
-
* android-28
|
|
42
|
-
* android-27
|
|
43
|
-
* android-25
|
|
44
|
-
|
|
45
|
-
Test results will be placed in `SampleApp/test-results.xml`.
|
|
20
|
+
```shell npm
|
|
21
|
+
npm i react-native-acoustic-mobile-push-wallet-beta
|
|
22
|
+
```
|
package/package.json
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"main": "index.js",
|
|
25
25
|
"name": "react-native-acoustic-mobile-push-wallet-beta",
|
|
26
26
|
"peerDependencies": {
|
|
27
|
-
"react-native-acoustic-mobile-push-beta": "3.9.
|
|
27
|
+
"react-native-acoustic-mobile-push-beta": "3.9.10"
|
|
28
28
|
},
|
|
29
29
|
"repository": {
|
|
30
30
|
"directory": "plugins/react-native-acoustic-mobile-push-wallet",
|
|
@@ -35,5 +35,5 @@
|
|
|
35
35
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
36
36
|
},
|
|
37
37
|
"summary": "react-native ios android mobile push Campaign",
|
|
38
|
-
"version": "3.9.
|
|
38
|
+
"version": "3.9.10"
|
|
39
39
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
require 'json'
|
|
2
2
|
|
|
3
3
|
package = JSON.parse(File.read('package.json'))
|
|
4
|
-
mobilePushConfig = JSON.parse(File.read('../../
|
|
4
|
+
mobilePushConfig = JSON.parse(File.read('../../CampaignConfig.json'))
|
|
5
5
|
repository = package["repository"]["url"]
|
|
6
6
|
useRelease = mobilePushConfig["useRelease"]
|
|
7
7
|
dependencyName = useRelease ? 'AcousticMobilePush' : 'AcousticMobilePushDebug'
|