-
-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: urlscheme handler fails to navigate to post after app is initialized by graysky:/… invocation #530
Comments
As an aside, it would be good to explicitly document this urlscheme functionality, I could not find it when I looked (and had initial trouble turning it up by keyword search on the source as well) |
Initial attempt to check if it also happens navigating to https://bsky.app/profile/graysky.app/post/3lhcz54xyas24 with the safari extension enabled seemed to result in the extension failing to work entirely (Directly entering url in safari stays there, as does following links from DDG search results; entering the url into spotlight initially opened official Bluesky client instead. After uninstalling that, spotlight & shortcuts just go to safari and stays as well. Pushing extension button displays: ![]() Popover ; TBD if safari or device restart following bsky app uninstall remedies) |
yeah, switching back to my older iPad ( 2018 11" Pro with A12XBionic; MU162LL/A ) that:
I also cannot get the extension to seem to work (initialized in background graysky or otherwise) [via in-safari navigation, from spotlight, from the link in above comment in github app] I did initially not have safari set as default browser on here, but I do now -- I did get the (also newly enabled for testing) "Open in Ivory" extension to catch/redirect a link to https://mastodon.social/@bcantrill ; and it Open-in-app bannered: https://mastodon.social/@bcantrill/113976133850603810 [after an open in background of the profile page]) - so the broad functionality is still possible Open in Ivory didn't catch anything on my home instance (hachyderm.io) tho - so there may be finicky session/cookie stuff (or they just may not have it as a url slug?); logging out of bsky.app did not immediately appear to make a difference [ no evidence either of your extension picking up a profile (v post) link [as |
I'm not using Graysky a huge amount these days, but fwiw I ran into this issue too when I made an 'Open in Graysky' Shortcut. It works great when the app is already open in the background, but it just opens up to the Skyline when it's not. |
Yeah, I think this is because it (incorrectly) redirects you to the home page after logging in. This is probably fixable |
Describe the bug
As I awkwardly accidentally captured in TheIconfactory/Tapestry#23 (comment):
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
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)
Open a url such as
graysky://profile/graysky.app/post/3lhcz54xyas24
(in safari, from another app, in shortcuts)Observe that you are still on homepage (after splash screen and brief spinner)
Switch apps back to where ever else, reinvoke the URL
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
The text was updated successfully, but these errors were encountered: