oasis-wallet-web
oasis-wallet-web copied to clipboard
Fix physical back button behavior on Android
Solution
Current behavior of physical back button on Android is unexpected. Back button was closing the app, which is not the expected behavior. This correctly integrates with react-router-dom
to navigate one page in history back and only closes the app, if there is no history.
Resources
https://github.com/oasisprotocol/oasis-wallet-web/assets/9722540/448d4168-03c1-4a1f-944d-e19d03e669e7
Deployed to Cloudflare Pages
Latest commit: | 84e063694ea9de7aacf993bc5f1a6e635b7908d8 |
Status: | ✅ Deploy successful! |
Preview URL: | https://3c9fd0be.oasis-wallet.pages.dev |
New and removed dependencies detected. Learn more about Socket for GitHub ↗︎
🚮 Removed packages: npm/@protobufjs/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected]
👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎
This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.
FYI: Tried with https://ionic-docs-5utg8ms4c-ionic1.vercel.app/docs/v5/developing/hardware-back-button but didn't seem to work for some reason.