Tony D’Addeo
@deodad
🔙 New Mini App API for Back Navigation - 1-line integration for standard web apps - custom integration available for advanced use cases - back control will vary depending on platform; web is button, iOS is a swipe left, Android is native back control (swipe and/or hardware / virtual button) simple yet powerful https://miniapps.farcaster.xyz/docs/sdk/back
13 replies
16 recasts
100 reactions
timdaub
@timdaub.eth
Just tested? Is the swipe implementation FC-inhouse implemented? It feels like it haha (sorry) 1. Safari iOS swipe gesture can be started at left edge of screen and it will move the view like pushing a piece of paper to the right. After several attempts I cannot make the Safari gesture work on FC mini apps 2. Drag down gesture for closing mini app on Mini app starter sometimes interferes with left to right back swipe gesture. I guess the close-drawer swipe gesture can be disabled with `await sdk.actions.ready({ disableNativeGestures: true });`? 3. I think the mobile iOS version of this feature needs a signifier that back swiping can be done now. So I'd also show the back button left pointing caret on iOS that you're currently only showing on desktop 4. I know this is a ton to ask, but I'd love to have the ability to implement an external link browser for my mini app. So e.g. if you open that Source code link on your moe Mini App stater it would open that (see 👇 on how it looks like in the Kiwi iOS app).
2 replies
0 recast
2 reactions
timdaub
@timdaub.eth
Anyways @deodad not meaning to sound dismissive or negative here! I'm super bullish on this feature!
1 reply
0 recast
2 reactions
Tony D’Addeo
@deodad
np appreciate the feedback no this is a native webview gesture. I suspect what is making it feel janky is the conflict of swipe to dismiss gesture + swipe to go back gesture. will try disabling the swipe down gesture and i bet that will fell better. re a button, we considered it and did some design prototypes but it wasn't working especially on smaller devices. we're open to reconsider at some point but wanted to try leaning into gestures first and see how it landed
2 replies
0 recast
2 reactions
Tony D’Addeo
@deodad
following up here: this should be live if you're on the latest version of the app imo feels a lot better, let me know what you thnk
1 reply
0 recast
0 reaction
timdaub
@timdaub.eth
> re a button, we considered it and did some design prototypes but it wasn't working especially on smaller devices. we're open to reconsider at some point but wanted to try leaning into gestures first and see how it landed I know from shoulder-surfing style UI interviews that some normie iOS users are unaware of the right swipe to move back. And rather they navigate the phone using the visible back button on the top right. I think the back button being there to signify that a state transition backwards is possible would allow to tap into existing user patterns e.g. users knowing from the browser that a bright left-arrow means they can go back
2 replies
0 recast
1 reaction