-
Notifications
You must be signed in to change notification settings - Fork 342
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
fix: ock app on inactive/backgournd state of app (except deeplinking) #8623
base: develop
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git βοΈ 4 Skipped Deployments
|
00b3fda
to
2e915f2
Compare
2e915f2
to
787a2de
Compare
Platform.OS === "ios" ? appState === "background" : appState.match(/inactive|background/); | ||
|
||
return isAppInBackground; | ||
return appState.match(/inactive|background/); |
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.
Are we sure we don't create other issues here? When I look at the comment it seems that it was done intentionally
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.
i've already seen that the development done before, is related to bypass the lock on deeplink redirection context which i've tested it (in the video) so, i don't think that it will cause another issue.
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 a lot, can you double-check when we open the camera please? I have seen issues related to it in the past. Such as scan a QR Code for Ledger Sync or scan a QR Code for the send flow
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.
hummmm nice recommendation ! i'll do it
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.
when i tested it the first time, it prompt me a camera permission, then when i accept it , the phone is locked. After that the access to the camera wasn't blocking , no issues, but i think it's problematic for BLE pairing for the first time (ios prompt make the app state inactif)
I should reconsider this implementation and look for another status.
Thank you very much for this instructive recommendation @KVNLS
β Checklist
npx changeset
was attached.π Description
app_lock_on_bg_ok.mov
Note: the blurr behaviour when swipe up the app on ios is already in another error ticket.
β Context
https://ledgerhq.atlassian.net/browse/LIVE-15065
π§ Checklist for the PR Reviewers