Skip to content

Commit

Permalink
Upgrade example-app to RN SDK 0.14 (#590)
Browse files Browse the repository at this point in the history
* all in one commit.

* recover masked-view dependency.

* update script for Bitrise test for example android & match packages versions required by Expo.

* update bitrise.yml

* update lock file

* update rn-sdk version.

* sync dev-app code.

* some adjustments.
  • Loading branch information
ianlin-bbpos authored Dec 19, 2023
1 parent 70d6a5f commit 9d085e2
Show file tree
Hide file tree
Showing 87 changed files with 4,271 additions and 5,331 deletions.
9 changes: 9 additions & 0 deletions .detoxrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
"binaryPath": "example-app/ios/build/Build/Products/Debug-iphonesimulator/StripeTerminalReactNativeExampleApp.app",
"build": "xcodebuild -workspace example-app/ios/exampleapp.xcworkspace -configuration Debug -scheme exampleapp -destination 'platform=iOS Simulator,name=iPhone SE (3rd generation)' -derivedDataPath example-app/ios/build"
},
"android.example.debug": {
"type": "android.apk",
"binaryPath": "example-app/android/app/build/outputs/apk/debug/app-debug.apk",
"build": "cd example-app/android && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug ; cd -"
},
"ios.debug": {
"type": "ios.app",
"binaryPath": "dev-app/ios/build/Build/Products/Debug-iphonesimulator/StripeTerminalReactNativeDevApp.app",
Expand Down Expand Up @@ -56,6 +61,10 @@
"device": "simulator",
"app": "ios.example.debug"
},
"android.example": {
"device": "ci-emulator",
"app": "android.example.debug"
},
"ios": {
"device": "simulator",
"app": "ios.debug"
Expand Down
5 changes: 2 additions & 3 deletions bitrise.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,9 @@ workflows:
- api_level: '30'
- yarn@0:
inputs:
- command: build:android:ci
- command: e2e:build:example:android
- cache_local_deps: 'yes'
- workdir: example-app
title: yarn build:android
title: yarn e2e:build:example:android
before_run:
- prep_all
after_run:
Expand Down
6 changes: 0 additions & 6 deletions example-app/android/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,5 @@ local.properties
*.iml
*.hprof

# BUCK
buck-out/
\.buckd/
*.keystore
!debug.keystore

# Bundle artifacts
*.jsbundle
55 changes: 0 additions & 55 deletions example-app/android/app/BUCK

This file was deleted.

Loading

0 comments on commit 9d085e2

Please sign in to comment.