-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Setup react-native-wallet
on Android
#60270
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setup react-native-wallet
on Android
#60270
Conversation
…wallet-to-expensify
…wallet-to-expensify
…wallet-to-expensify
…ensify' into @zfurtak/introduce-wallet-to-expensify
…wallet-to-expensify
I agree, I don't know if @zfurtak has taken a look at the comment yet. |
As was said in the slack thread, this is not expected and I'm fixing it right now. |
I'm not 100% sure so @mountiny you can correct me, however I think the problem might be in the cc: @brunovjk |
Reviewing in a moment |
The problem we had when we were not logged in with a Google account is no longer reproducible. I updated the Screenshots/Videos from my checklist, you can get back to them to better understand the results:
|
@brunovjk nice, I think we can test most of this internally then and its behind beta. Let us know when you approve this |
@brunovjk I think we should go ahead with merging the PR if android part is ok, @Skalakid will address those iOS issues in a follow-up as soon as this PR is merged 😊 |
There is 1 edge case left, (showed in this comment) when user enters |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
Actually this one might be QA-able by QA |
Will have to be QAed in production (its behind beta) because the the staging setup |
🚀 Deployed to production by https://github.com/mountiny in version: 9.1.46-12 🚀
|
Explanation of Change
This PR introduces and tests react-native-wallet library on Android in Expensify App.
Because of limited access to Google Push Provisioning SDK we didn't add it to main Expensify repo, instead we use SDK already present in
Mobile-Expensify
. Therefore, usage ofreact-native-wallet
library is possible only on hybrid app, the module is not linked on standalone build.The whole feature is hidden behind wallet beta, because of difficulties in testing iOS PR.
After both platforms are confirmed and working, we will publish the library to
npm
and change thetgz
local module for the one fromnpm
.Important
For this PR to work we need to make changes in⚠️
Mobile-Expensify
build.gradle
and merge it at once.Here is the raised PR to Mobile-Expensify
Note
This PR add an In-App Provisioning for Android only, iOS one was already added in this PR.
The feature is hidden behind the special beta flag, so we can test it properly before launching it for everybody.
Fixed Issues
$ #36957
PROPOSAL:
Tests
Tip
To be able to test and use In-App Provisioning you need to use physical Android device and signed app.
It must be a hybrid app build. (Make sure to clean cache carefully between switching testing standalone and hybrid)
To test it on debug build changes are needed in
Mobile-Expensify/Android/build.gradle
Note
On other platforms (web, desktop, mWeb) and also on standalone app the
Add to Google Wallet
button shouldn't be visible.Add to Google Wallet
button is availableAdd to Google Wallet
button isn't visible on the page when the specified card is already in the wallet. On dev build Could Not Add Card alert appears at the end. On prod everything should be fineOffline tests
QA Steps
as above
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
android-demo.mov
Android: mWeb Chrome
android_mweb.mov
iOS: Native
ios.mp4
iOS: mWeb Safari
ios_mweb.mp4
MacOS: Chrome / Safari
web.mov
MacOS: Desktop
desktop.mov