| 5ae19ef9 | 22-Jun-2023 |
Kudo Chien <[email protected]> |
[go] update stripe-react-native to 0.28.0 (#23035)
# Why
update vendoring modules for sdk 49
# How
- `et uvm -m @stripe/stripe-react-native -c 'v0.28.0'`
- backport native stripe version t
[go] update stripe-react-native to 0.28.0 (#23035)
# Why
update vendoring modules for sdk 49
# How
- `et uvm -m @stripe/stripe-react-native -c 'v0.28.0'`
- backport native stripe version to old sdks' podspec and build.gradle
- transform manually
- [android] remove `GooglePayButtonManager.kt`, `GooglePayButtonView.kt`
- [android] remove `GooglePayButtonManager()` and
`AddToWalletButtonManager()` in `StripeSdkPackage.kt`
- [android] revert `import host.exp.expoview.R` change in
`CardFormView.kt`
- [ios] remove `stripe-react-native/ios/Tests/**/*` test files
# Test Plan
1. clone and setup [stripe example
app](https://github.com/stripe/stripe-react-native#run-the-example-app)
2. in `example/`
- `yarn add file:/path/to/expo/packages/expo`
- yarn add for `[email protected]`, `[email protected]` and other unsynced
packages
- and other necessary changes. i'd shared my patch file here:
https://gist.github.com/Kudo/1d976feb403c325828b61b301bea3276
3. install unversioned expo go to simulator/emulator
4. modify the stripe cloned repo's maestro e2e test cases
- cd `e2e-tests`
- modify the ***.yml** file you want to test and replace `- launchApp`
to
```yml
- stopApp
- openLink: exp://127.0.0.1:8081
```
- replace the 127.0.0.1:8081 to the local dev-server address
5. run maestro test, e.g. `maestro --device {device_id} test -e
APP_ID=host.exp.Exponent cardfield-basic.yml`
6. i only went through these test cases
- cardfield-basic.yml
- paymentsheet-basic.yml
- paymentsheet-customFlow.yml
show more ...
|