actual icon indicating copy to clipboard operation
actual copied to clipboard

iOS PWA sometimes cannot go back

Open gagegogan opened this issue 1 year ago • 12 comments

Verified issue does not already exist?

  • [X] I have searched and found no existing issue

What happened?

Occasionally on iOS, if you install the app as a PWA. It will open you into the ad transaction screen and you are not able to go back with the back button.

https://github.com/actualbudget/actual/assets/10763068/1c064b82-e82c-4a05-b4e1-6dcc909aa363

What error did you receive?

None

Where are you hosting Actual?

Docker

What browsers are you seeing the problem on?

Chrome, Safari

Operating System

Mobile Device

gagegogan avatar Jan 01 '24 17:01 gagegogan

Was the add transaction page the first page that was opened?

joel-jeremy avatar Jan 01 '24 18:01 joel-jeremy

Yes

gagegogan avatar Jan 01 '24 19:01 gagegogan

I'm not familiar with the code base. But I presume it has something to do with the history of the browser or lack thereof.

gagegogan avatar Jan 01 '24 19:01 gagegogan

It definitely has to do with history. Although, I believe there's a web manifest argument to provide a start URL. That could be another work around. Let me try and re-create this issue a few more times and see exactly when it happens.

gagegogan avatar Jan 01 '24 19:01 gagegogan

I have the same issue on Android, in case Actual is published as homescreen shortcut. Using the latest Edge.

jsehnoutka avatar Jan 03 '24 22:01 jsehnoutka

Yep that's when I have it. It can be fixed by either changing the way history works or fixing the root cause that's opening the add transaction screen whenever you open the app. The way around it is to tilt to landscape and then back to portrait mode.

gagegogan avatar Jan 03 '24 22:01 gagegogan

Thanks for the tip! I used to bypass it by using the Mobile version in browser, but this is also good workaround.

It's weird though, I am prety sure this is a fresh issue. I update my Edge image frequently, but this issue started showing itself very recently (days at most), at least on my device.

jsehnoutka avatar Jan 03 '24 22:01 jsehnoutka

Will definitely look out for this - I'm on ioS Safari and have not seen it yet despite using the web responsive mobile version daily. I'm on Fly.

Kidglove57 avatar Jan 07 '24 19:01 Kidglove57

@Kidglove57 it needs to be in pwa mode

gagegogan avatar Jan 07 '24 19:01 gagegogan

Yes, always in PWA on my iPhone. Will watch out for this though. Mine always defaults to the Budget screen on opening.

Kidglove57 avatar Jan 07 '24 19:01 Kidglove57

I have chrome so that might affect it. Mine opens as a standalone so I'm not sure witch browser

gagegogan avatar Jan 07 '24 19:01 gagegogan

I just have the Safari link saved to the home screen and it then opens as an app. I may try Chrome.

PS Have now saved from Chrome to Home screen. will see how it goes

Kidglove57 avatar Jan 07 '24 19:01 Kidglove57