Is your feature request related to a problem? Please describe.
I'm opening an aepp inside Superhero Wallet (iOS). From aepp's home page I can navigate somewhere. Then I'm pressing back arrow to return to aepp's home page, but instead the whole aepp gets closed.
Describe the solution you'd like
Move the view with iframe to a separate page, like /apps-browser/:url. On that page use history.back() when back arrow clicked. This way browser would firstly rewind pages opened in iframe, and at last would navigate to /apps-browser.
Describe alternatives you've considered
The is no another way to implement back button in frame because we don't have access to iframe's url.
Is your feature request related to a problem? Please describe. I'm opening an aepp inside Superhero Wallet (iOS). From aepp's home page I can navigate somewhere. Then I'm pressing back arrow to return to aepp's home page, but instead the whole aepp gets closed.
Describe the solution you'd like Move the view with iframe to a separate page, like
/apps-browser/:url
. On that page usehistory.back()
when back arrow clicked. This way browser would firstly rewind pages opened in iframe, and at last would navigate to/apps-browser
.Describe alternatives you've considered The is no another way to implement back button in frame because we don't have access to iframe's url.
Additional context
https://github.com/superhero-com/superhero-wallet/assets/9007851/45035d02-0e51-434d-9f6b-8eabf69162c7