Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
blowdart.me: https://bsky.app/profile/blowdart.me/post/3l2ifc6t2bp2f
This was done by vaguely following: https://docs.expo.dev/guides/progressive-web-apps/
This PR adds a basic PWA setup. This isn't everything I wanted, I also wanted PWA notifications but I couldn't figure how to get Expo notifications working for PWAs, I'm not even sure Expo notifications support PWAs. I'm happy to add Expo notifications to Bsky PWA's, but I'll need guidance from bsky team on doing that, I don't want to make a mess.
What's in this PR:
Bugs:
Notes:
It would be good to have a second pair of eyes ensure PWA caching is working correctly and I haven't generally messed up. I haven't done PWAs via expo before. I've tried to keep everything as clean and minimal as possible, but totally possible I've done something wrong. This commit is intended to help get a start on PWAs if the team is interested, Mastodon also supports PWAs.
output.mp4
(My login credentials and 2FA code are cut from that video, which is why it looks like the loading icon came up immediately, I have not performed any session handoff magic.).
Thanks,
Josh 🦋