react-native-nami-sdk 3.3.0-beta.7 → 3.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.
- package/.prettierrc +4 -0
- package/README.md +9 -9
- package/android/README.md +3 -2
- package/android/build.gradle +27 -19
- package/android/gradle/wrapper/gradle-wrapper.properties +1 -1
- package/android/gradlew +0 -0
- package/android/src/main/AndroidManifest.xml +1 -1
- package/android/src/main/java/com/namiml/reactnative/Constants.kt +3 -0
- package/android/src/main/java/com/namiml/reactnative/NamiBridgeModule.kt +91 -0
- package/android/src/main/java/com/namiml/reactnative/NamiBridgePackage.java +140 -0
- package/android/src/main/java/com/{nami/reactlibrary → namiml/reactnative}/NamiCampaignManagerBridge.kt +24 -30
- package/android/src/main/java/com/{nami/reactlibrary → namiml/reactnative}/NamiCustomerManagerBridge.kt +14 -6
- package/android/src/main/java/com/{nami/reactlibrary/NamiEntitlementManagerBridgeModule.kt → namiml/reactnative/NamiEntitlementManagerBridge.kt} +18 -8
- package/android/src/main/java/com/namiml/reactnative/NamiFlowManagerBridge.kt +67 -0
- package/android/src/main/java/com/namiml/reactnative/NamiPaywallManagerBridgeModule.kt +196 -0
- package/android/src/main/java/com/namiml/reactnative/NamiPurchaseManagerBridge.kt +114 -0
- package/android/src/main/java/com/{nami/reactlibrary → namiml/reactnative}/NamiUtil.kt +26 -23
- package/{index.d.ts → dist/index.d.ts} +0 -2
- package/dist/specs/NativeNami.d.ts +15 -0
- package/dist/specs/NativeNamiCampaignManager.d.ts +82 -0
- package/dist/specs/NativeNamiCustomerManager.d.ts +29 -0
- package/dist/specs/NativeNamiEntitlementManager.d.ts +45 -0
- package/dist/specs/NativeNamiFlowManager.d.ts +8 -0
- package/dist/specs/NativeNamiPaywallManager.d.ts +71 -0
- package/dist/specs/NativeNamiPurchaseManager.d.ts +28 -0
- package/dist/src/Nami.d.ts +5 -0
- package/dist/src/NamiCampaignManager.d.ts +29 -0
- package/{src → dist/src}/NamiCustomerManager.d.ts +11 -13
- package/dist/src/NamiEntitlementManager.d.ts +13 -0
- package/dist/src/NamiFlowManager.d.ts +11 -0
- package/dist/src/NamiPaywallManager.d.ts +30 -0
- package/dist/src/NamiPurchaseManager.d.ts +17 -0
- package/dist/src/transformers.d.ts +3 -0
- package/{src → dist/src}/types.d.ts +35 -6
- package/dist/src/version.d.ts +5 -0
- package/index.ts +0 -2
- package/ios/Nami.m +8 -88
- package/ios/Nami.swift +85 -0
- package/ios/NamiCampaignManagerBridge.m +3 -3
- package/ios/NamiCampaignManagerBridge.swift +49 -61
- package/ios/NamiCustomerManager.m +2 -2
- package/ios/NamiCustomerManager.swift +13 -3
- package/ios/NamiEntitlementManagerBridge.m +2 -3
- package/ios/NamiEntitlementManagerBridge.swift +48 -39
- package/ios/NamiFlowManagerBridge.m +2 -2
- package/ios/NamiFlowManagerBridge.swift +10 -6
- package/ios/NamiPaywallManagerBridge.m +3 -3
- package/ios/NamiPaywallManagerBridge.swift +16 -6
- package/ios/NamiPurchaseManagerBridge.m +3 -2
- package/ios/NamiPurchaseManagerBridge.swift +15 -10
- package/ios/RNNami-Bridging-Header.h +1 -3
- package/package.json +20 -8
- package/react-native-config.js +9 -0
- package/react-native-nami-sdk.podspec +11 -3
- package/scripts/generate-version.ts +18 -0
- package/specs/NativeNami.ts +16 -0
- package/specs/NativeNamiCampaignManager.ts +94 -0
- package/specs/NativeNamiCustomerManager.ts +37 -0
- package/specs/NativeNamiEntitlementManager.ts +54 -0
- package/specs/NativeNamiFlowManager.ts +12 -0
- package/specs/NativeNamiPaywallManager.ts +85 -0
- package/specs/NativeNamiPurchaseManager.ts +33 -0
- package/src/Nami.ts +28 -18
- package/src/NamiCampaignManager.ts +57 -53
- package/src/NamiCustomerManager.ts +55 -81
- package/src/NamiEntitlementManager.ts +49 -36
- package/src/NamiFlowManager.ts +35 -45
- package/src/NamiPaywallManager.ts +84 -139
- package/src/NamiPurchaseManager.ts +69 -70
- package/src/transformers.ts +21 -0
- package/src/types.ts +39 -7
- package/src/version.ts +5 -0
- package/tsconfig.json +24 -22
- package/.eslintignore +0 -3
- package/.eslintrc.js +0 -52
- package/.github/workflows/CI.yaml +0 -341
- package/.github/workflows/app_prod.yaml +0 -387
- package/.github/workflows/app_stg.yaml +0 -398
- package/.github/workflows/build.yml +0 -70
- package/.pre-commit-config.yaml +0 -24
- package/.prettierrc.js +0 -7
- package/android/src/main/java/com/nami/reactlibrary/Constants.kt +0 -3
- package/android/src/main/java/com/nami/reactlibrary/NamiBridgeModule.kt +0 -141
- package/android/src/main/java/com/nami/reactlibrary/NamiBridgePackage.java +0 -51
- package/android/src/main/java/com/nami/reactlibrary/NamiFlowManagerBridge.kt +0 -58
- package/android/src/main/java/com/nami/reactlibrary/NamiMLManagerBridgeModule.kt +0 -58
- package/android/src/main/java/com/nami/reactlibrary/NamiManagerBridge.kt +0 -26
- package/android/src/main/java/com/nami/reactlibrary/NamiPaywallManagerBridgeModule.kt +0 -258
- package/android/src/main/java/com/nami/reactlibrary/NamiPurchaseManagerBridge.kt +0 -108
- package/build-utils/get_version_code.py +0 -140
- package/build-utils/preflight.py +0 -46
- package/ios/NamiMLManagerBridge.m +0 -93
- package/ios/NamiManager.m +0 -18
- package/ios/NamiManager.swift +0 -30
- package/ios/RNNami.h +0 -10
- package/ios/RNNami.m +0 -13
- package/src/Nami.d.ts +0 -8
- package/src/NamiCampaignManager.d.ts +0 -18
- package/src/NamiEntitlementManager.d.ts +0 -15
- package/src/NamiFlowManager.d.ts +0 -32
- package/src/NamiMLManager.d.ts +0 -7
- package/src/NamiMLManager.ts +0 -13
- package/src/NamiManager.d.ts +0 -5
- package/src/NamiManager.ts +0 -14
- package/src/NamiPaywallManager.d.ts +0 -34
- package/src/NamiPurchaseManager.d.ts +0 -20
|
@@ -1,341 +0,0 @@
|
|
|
1
|
-
name: CI PR Checks
|
|
2
|
-
env:
|
|
3
|
-
DEVELOPER_DIR: /Applications/Xcode_16.0.0.app/Contents/Developer
|
|
4
|
-
on: pull_request
|
|
5
|
-
|
|
6
|
-
jobs:
|
|
7
|
-
eslint:
|
|
8
|
-
name: ESLint
|
|
9
|
-
permissions:
|
|
10
|
-
actions: write
|
|
11
|
-
contents: write
|
|
12
|
-
id-token: write
|
|
13
|
-
runs-on: ubuntu-latest
|
|
14
|
-
steps:
|
|
15
|
-
- uses: actions/setup-node@v3
|
|
16
|
-
with:
|
|
17
|
-
node-version: "18"
|
|
18
|
-
|
|
19
|
-
- name: 'Checkout ${{ inputs.ref }}'
|
|
20
|
-
uses: actions/checkout@v3
|
|
21
|
-
with:
|
|
22
|
-
path: source
|
|
23
|
-
ref: '${{ inputs.ref }}'
|
|
24
|
-
|
|
25
|
-
- name: Install dependencies
|
|
26
|
-
run: yarn --frozen-lockfile --prefer-offline
|
|
27
|
-
working-directory: source/
|
|
28
|
-
|
|
29
|
-
- name: Linter
|
|
30
|
-
run: |
|
|
31
|
-
npx eslint . --ext .js,.jsx,.ts,.tsx
|
|
32
|
-
working-directory: source/
|
|
33
|
-
tsc:
|
|
34
|
-
name: Generate Declaration Files
|
|
35
|
-
permissions:
|
|
36
|
-
actions: write
|
|
37
|
-
contents: write
|
|
38
|
-
id-token: write
|
|
39
|
-
runs-on: ubuntu-latest
|
|
40
|
-
steps:
|
|
41
|
-
- uses: actions/setup-node@v3
|
|
42
|
-
with:
|
|
43
|
-
node-version: "18"
|
|
44
|
-
|
|
45
|
-
- name: 'Checkout ${{ inputs.ref }}'
|
|
46
|
-
uses: actions/checkout@v3
|
|
47
|
-
with:
|
|
48
|
-
path: source
|
|
49
|
-
ref: '${{ inputs.ref }}'
|
|
50
|
-
|
|
51
|
-
- name: Install dependencies
|
|
52
|
-
run: yarn --frozen-lockfile --prefer-offline
|
|
53
|
-
working-directory: source/
|
|
54
|
-
|
|
55
|
-
- name: Generate .d files
|
|
56
|
-
run: |
|
|
57
|
-
npx tsc
|
|
58
|
-
working-directory: source/
|
|
59
|
-
eslintapps:
|
|
60
|
-
name: ESLint Sample Apps
|
|
61
|
-
permissions:
|
|
62
|
-
actions: write
|
|
63
|
-
contents: write
|
|
64
|
-
id-token: write
|
|
65
|
-
runs-on: ubuntu-latest
|
|
66
|
-
steps:
|
|
67
|
-
- uses: actions/setup-node@v3
|
|
68
|
-
with:
|
|
69
|
-
node-version: "18"
|
|
70
|
-
|
|
71
|
-
- name: 'Checkout ${{ inputs.ref }}'
|
|
72
|
-
uses: actions/checkout@v3
|
|
73
|
-
with:
|
|
74
|
-
path: source
|
|
75
|
-
ref: '${{ inputs.ref }}'
|
|
76
|
-
|
|
77
|
-
- name: Install Basic app dependencies
|
|
78
|
-
run: yarn --frozen-lockfile --prefer-offline
|
|
79
|
-
working-directory: source/examples/Basic
|
|
80
|
-
|
|
81
|
-
- name: Linter Basic
|
|
82
|
-
run: |
|
|
83
|
-
npx eslint . --ext .js,.jsx,.ts,.tsx
|
|
84
|
-
working-directory: source/examples/Basic
|
|
85
|
-
|
|
86
|
-
- name: Install TestNamiTV app dependencies
|
|
87
|
-
run: yarn --frozen-lockfile --prefer-offline
|
|
88
|
-
working-directory: source/examples/TestNamiTV
|
|
89
|
-
|
|
90
|
-
- name: Linter TestNamiTV
|
|
91
|
-
run: |
|
|
92
|
-
npx eslint . --ext .js,.jsx,.ts,.tsx
|
|
93
|
-
working-directory: source/examples/TestNamiTV
|
|
94
|
-
e2e-ios:
|
|
95
|
-
runs-on: macos-15
|
|
96
|
-
env:
|
|
97
|
-
DETOX_CONFIGURATION: ios.sim.release
|
|
98
|
-
|
|
99
|
-
steps:
|
|
100
|
-
- uses: actions/setup-node@v3
|
|
101
|
-
with:
|
|
102
|
-
node-version: 18
|
|
103
|
-
|
|
104
|
-
- name: 'Checkout ${{ inputs.ref }}'
|
|
105
|
-
uses: actions/checkout@v3
|
|
106
|
-
with:
|
|
107
|
-
path: source
|
|
108
|
-
ref: '${{ inputs.ref }}'
|
|
109
|
-
|
|
110
|
-
- name: Cache node_modules
|
|
111
|
-
uses: actions/cache@v3
|
|
112
|
-
id: cache
|
|
113
|
-
with:
|
|
114
|
-
path: source/examples/Basic/node_modules
|
|
115
|
-
key: node-modules-${{ hashFiles('**/yarn.lock') }}
|
|
116
|
-
|
|
117
|
-
- name: Install Yarn Dependencies
|
|
118
|
-
run: yarn install
|
|
119
|
-
working-directory: source/examples/Basic
|
|
120
|
-
|
|
121
|
-
- name: Install macOS dependencies
|
|
122
|
-
run: |
|
|
123
|
-
brew tap wix/brew
|
|
124
|
-
brew install applesimutils
|
|
125
|
-
sudo gem install cocoapods
|
|
126
|
-
gem install CFPropertyList
|
|
127
|
-
env:
|
|
128
|
-
# Speed up build could be updated 0/1 for full install
|
|
129
|
-
HOMEBREW_NO_AUTO_UPDATE: 1
|
|
130
|
-
HOMEBREW_NO_INSTALL_CLEANUP: 1
|
|
131
|
-
|
|
132
|
-
- name: Update App Platform ID
|
|
133
|
-
working-directory: source/examples/Basic/config/
|
|
134
|
-
run: |
|
|
135
|
-
sed -i '' -e "s/APPLE_PROD_APP_PLATFORM_ID/$BASIC_APPLE_PROD_APP_PLATFORM_ID/" index.ts
|
|
136
|
-
env:
|
|
137
|
-
BASIC_APPLE_PROD_APP_PLATFORM_ID: '${{ secrets.APPLE_PROD_APP_PLATFORM_ID }}'
|
|
138
|
-
|
|
139
|
-
# - name: Cache Pods
|
|
140
|
-
# uses: actions/cache@v3
|
|
141
|
-
# id: podcache
|
|
142
|
-
# with:
|
|
143
|
-
# path: source/examples/Basic/ios
|
|
144
|
-
# key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }}
|
|
145
|
-
# restore-keys: |
|
|
146
|
-
# ${{ runner.os }}-pods-
|
|
147
|
-
|
|
148
|
-
- name: Clean node_modules tree
|
|
149
|
-
run: rm -rf node_modules/react-native-nami-sdk/examples
|
|
150
|
-
working-directory: source/examples/Basic
|
|
151
|
-
|
|
152
|
-
- name: Install iOS pods
|
|
153
|
-
run: RCT_NEW_ARCH_ENABLED=0 SWIFT_VERSION=5 pod install --repo-update
|
|
154
|
-
working-directory: source/examples/Basic/ios
|
|
155
|
-
|
|
156
|
-
- name: Rebuild cache detox
|
|
157
|
-
run: yarn detox rebuild-framework-cache
|
|
158
|
-
working-directory: source/examples/Basic
|
|
159
|
-
|
|
160
|
-
- name: Cache Detox build
|
|
161
|
-
id: cache-detox-build
|
|
162
|
-
uses: actions/cache@v3
|
|
163
|
-
with:
|
|
164
|
-
path: source/examples/Basic/ios/Pods
|
|
165
|
-
key: ${{ runner.os }}-detox-build
|
|
166
|
-
restore-keys: |
|
|
167
|
-
${{ runner.os }}-detox-build
|
|
168
|
-
|
|
169
|
-
- name: Detox build
|
|
170
|
-
run: yarn detox build --configuration ${{ env.DETOX_CONFIGURATION }}
|
|
171
|
-
working-directory: source/examples/Basic
|
|
172
|
-
|
|
173
|
-
- name: Detox test
|
|
174
|
-
run: |
|
|
175
|
-
export DETOX_SYNCHRONIZATION_DEBUG=1
|
|
176
|
-
yarn start &
|
|
177
|
-
METRO_BUNDLER_PID=$!
|
|
178
|
-
yarn detox test --configuration ${{ env.DETOX_CONFIGURATION }} e2e/ios --cleanup --headless --record-logs all --loglevel trace
|
|
179
|
-
DETOX_EXIT_CODE=$?
|
|
180
|
-
kill $METRO_BUNDLER_PID
|
|
181
|
-
exit $DETOX_EXIT_CODE
|
|
182
|
-
working-directory: source/examples/Basic
|
|
183
|
-
|
|
184
|
-
- name: Upload artifacts
|
|
185
|
-
if: failure()
|
|
186
|
-
uses: actions/upload-artifact@v4
|
|
187
|
-
with:
|
|
188
|
-
name: detox-artifacts
|
|
189
|
-
path: artifacts
|
|
190
|
-
e2e-android:
|
|
191
|
-
runs-on: ubuntu-latest
|
|
192
|
-
env:
|
|
193
|
-
DETOX_CONFIGURATION: android.emu.release
|
|
194
|
-
|
|
195
|
-
steps:
|
|
196
|
-
- name: Checkout repository
|
|
197
|
-
uses: actions/checkout@v3
|
|
198
|
-
with:
|
|
199
|
-
path: source
|
|
200
|
-
ref: '${{ inputs.ref }}'
|
|
201
|
-
|
|
202
|
-
- name: Setup Node.js
|
|
203
|
-
uses: actions/setup-node@v3
|
|
204
|
-
with:
|
|
205
|
-
node-version: "18"
|
|
206
|
-
|
|
207
|
-
- name: Cache node_modules
|
|
208
|
-
uses: actions/cache@v3
|
|
209
|
-
id: cache
|
|
210
|
-
with:
|
|
211
|
-
path: source/examples/Basic/node_modules
|
|
212
|
-
key: node-modules-${{ hashFiles('**/yarn.lock') }}
|
|
213
|
-
|
|
214
|
-
- name: Install Yarn dependencies
|
|
215
|
-
run: yarn install
|
|
216
|
-
working-directory: source/examples/Basic
|
|
217
|
-
|
|
218
|
-
- name: Setup Java
|
|
219
|
-
uses: actions/setup-java@v3
|
|
220
|
-
with:
|
|
221
|
-
cache: gradle
|
|
222
|
-
distribution: temurin
|
|
223
|
-
java-version: 17
|
|
224
|
-
|
|
225
|
-
- name: Update App Platform ID
|
|
226
|
-
working-directory: source/examples/Basic/config/
|
|
227
|
-
run: |
|
|
228
|
-
sed -i "s/ANDROID_PROD_APP_PLATFORM_ID/$BASIC_ANDROID_PROD_APP_PLATFORM_ID/" index.ts
|
|
229
|
-
#sed -i '' -e "s/ANDROID_PROD_APP_PLATFORM_ID/$BASIC_ANDROID_PROD_APP_PLATFORM_ID/" index.ts
|
|
230
|
-
env:
|
|
231
|
-
BASIC_ANDROID_PROD_APP_PLATFORM_ID: '${{ secrets.ANDROID_PROD_APP_PLATFORM_ID }}'
|
|
232
|
-
|
|
233
|
-
- name: Rebuild cache detox
|
|
234
|
-
run: yarn detox rebuild-framework-cache
|
|
235
|
-
working-directory: source/examples/Basic
|
|
236
|
-
|
|
237
|
-
- name: Cache Detox build
|
|
238
|
-
id: cache-detox-build
|
|
239
|
-
uses: actions/cache@v3
|
|
240
|
-
with:
|
|
241
|
-
path: source/examples/Basic/android/app/build
|
|
242
|
-
key: ${{ runner.os }}-detox-build
|
|
243
|
-
restore-keys: |
|
|
244
|
-
${{ runner.os }}-detox-build
|
|
245
|
-
|
|
246
|
-
- name: Detox build
|
|
247
|
-
run: |
|
|
248
|
-
rm -rf node_modules/react-native-nami-sdk/examples
|
|
249
|
-
yarn detox build --configuration ${{ env.DETOX_CONFIGURATION }}
|
|
250
|
-
working-directory: source/examples/Basic
|
|
251
|
-
|
|
252
|
-
- name: Create the Keystore
|
|
253
|
-
run: |
|
|
254
|
-
# import keystore from secrets
|
|
255
|
-
echo $KEYSTORE_BASE64 | base64 -d > $RUNNER_TEMP/my_production.keystore
|
|
256
|
-
env:
|
|
257
|
-
KEYSTORE_BASE64: '${{ secrets.KEY_STORE_BASE64 }}'
|
|
258
|
-
|
|
259
|
-
- name: Encode the keystore to base64
|
|
260
|
-
id: encode_keystore
|
|
261
|
-
run: |
|
|
262
|
-
echo "SIGNINGKEYBASE64=$(openssl base64 < $RUNNER_TEMP/my_production.keystore | tr -d '\n')" >> $GITHUB_ENV
|
|
263
|
-
|
|
264
|
-
- name: Sign APK
|
|
265
|
-
id: sign_apk
|
|
266
|
-
uses: r0adkll/sign-android-release@v1
|
|
267
|
-
with:
|
|
268
|
-
releaseDirectory: source/examples/Basic/android/app/build/outputs/apk/production/release
|
|
269
|
-
signingKeyBase64: ${{ env.SIGNINGKEYBASE64 }}
|
|
270
|
-
alias: ${{ secrets.KEY_ALIAS }}
|
|
271
|
-
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
|
|
272
|
-
keyPassword: ${{ secrets.KEY_PASSWORD }}
|
|
273
|
-
env:
|
|
274
|
-
BUILD_TOOLS_VERSION: "34.0.0"
|
|
275
|
-
|
|
276
|
-
- name: Sign AndroidTest APK for Detox
|
|
277
|
-
id: sign_androidTest_apk
|
|
278
|
-
uses: r0adkll/sign-android-release@v1
|
|
279
|
-
with:
|
|
280
|
-
releaseDirectory: source/examples/Basic/android/app/build/outputs/apk/androidTest/production/release/
|
|
281
|
-
signingKeyBase64: ${{ env.SIGNINGKEYBASE64 }}
|
|
282
|
-
alias: ${{ secrets.KEY_ALIAS }}
|
|
283
|
-
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
|
|
284
|
-
keyPassword: ${{ secrets.KEY_PASSWORD }}
|
|
285
|
-
env:
|
|
286
|
-
BUILD_TOOLS_VERSION: "34.0.0"
|
|
287
|
-
|
|
288
|
-
- name: Get device name
|
|
289
|
-
id: device
|
|
290
|
-
run: node -e "console.log('AVD_NAME=' + require('./.detoxrc').devices.emulator.device.avdName)" >> $GITHUB_OUTPUT
|
|
291
|
-
working-directory: source/examples/Basic
|
|
292
|
-
|
|
293
|
-
# - name: Cache AVD snapshot
|
|
294
|
-
# uses: actions/cache@v3
|
|
295
|
-
# id: avd-cache
|
|
296
|
-
# with:
|
|
297
|
-
# path: |
|
|
298
|
-
# ~/.android/avd/*
|
|
299
|
-
# ~/.android/adb*
|
|
300
|
-
# key: avd-30-aosp-atd
|
|
301
|
-
#
|
|
302
|
-
# - name: Create AVD and generate snapshot for caching
|
|
303
|
-
# if: steps.avd-cache.outputs.cache-hit != 'true'
|
|
304
|
-
# uses: reactivecircus/android-emulator-runner@v2
|
|
305
|
-
# with:
|
|
306
|
-
# target: aosp_atd
|
|
307
|
-
# api-level: 30
|
|
308
|
-
# arch: x86
|
|
309
|
-
# channel: canary
|
|
310
|
-
# profile: pixel
|
|
311
|
-
# ram-size: 2048M
|
|
312
|
-
# heapSize: 576M
|
|
313
|
-
# # avd-name: ${{ steps.device.outputs.AVD_NAME }}
|
|
314
|
-
# avd-name: Pixel_3a_API_30_AOSP
|
|
315
|
-
# force-avd-creation: false
|
|
316
|
-
# emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
|
|
317
|
-
# disable-animations: false
|
|
318
|
-
# script: echo "Generated AVD snapshot for caching"
|
|
319
|
-
# working-directory: source/examples/Basic
|
|
320
|
-
|
|
321
|
-
- name: Detox test
|
|
322
|
-
uses: reactivecircus/android-emulator-runner@v2
|
|
323
|
-
with:
|
|
324
|
-
target: aosp_atd
|
|
325
|
-
api-level: 30
|
|
326
|
-
arch: x86_64
|
|
327
|
-
disable-animations: true
|
|
328
|
-
ram-size: 4096
|
|
329
|
-
heap-size: 512
|
|
330
|
-
channel: canary
|
|
331
|
-
profile: pixel
|
|
332
|
-
avd-name: Pixel_4_API_34
|
|
333
|
-
script: yarn detox test --configuration ${{ env.DETOX_CONFIGURATION }} e2e/android --headless --record-logs all --loglevel trace
|
|
334
|
-
working-directory: source/examples/Basic
|
|
335
|
-
|
|
336
|
-
- name: Upload artifacts
|
|
337
|
-
if: failure()
|
|
338
|
-
uses: actions/upload-artifact@v4
|
|
339
|
-
with:
|
|
340
|
-
name: detox-artifacts
|
|
341
|
-
path: artifacts
|