Skip to content

bug: urlscheme handler fails to navigate to post after app is initialized by graysky:/… invocation #530

@donaldguy

Description

@donaldguy

Describe the bug

As I awkwardly accidentally captured in TheIconfactory/Tapestry#23 (comment):

Proof the settings (mostly - failure + initializing split screen was unexpected but left in for completeness) working:

Timeline.1.mov

(⌃ Edited to downscale for GitHub size cap, but went ahead and cut out 2 pauses and also an inadvertent detour to Home Screen between 0:17 and 0:18 ;

such detour does NOT seem to be required for it working again on a different skeet/post, but there happened to be one omitted here)

Urlscheme based invocation will only navigate to the post requested if the app was already initialized. Otherwise it remains on the Home Screen.

In video above was as split screen (alongside a shortcut for getting bundle id commensurate to that PR), but subsequent testing confirms repro on fullscreen as well

To reproduce

  1. Close graysky from app switcher (or likely simply wait long enough that iOS/iPadOS has unloaded as inactive, as I believe was case for video above - following failed attempts to beef up PR with some other clients too)

  2. Open a url such as graysky://profile/graysky.app/post/3lhcz54xyas24 (in safari, from another app, in shortcuts)

  3. Observe that you are still on homepage (after splash screen and brief spinner)

  4. Switch apps back to where ever else, reinvoke the URL

  5. See that as expected post is now loaded

Additional information

Graysky Version 1.6.3 , newly installed from App Store minutes before first occurrence (I’d been using on older iPad previously tho)

iPad Air 13-inch (M2) [MV273LL/A] running iPadOS 18.3 (22D63)

Battery is pretty low, but I doubt that’s causing a race

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions