supportingami / sami-maths-club

A collection of resources for extra-curricular maths clubs. Available for Android, IOS and Web
https://mathsclub.samicharity.co.uk
GNU General Public License v3.0
4 stars 1 forks source link

Add deeplinking and url previews #78

Closed chrismclarke closed 3 years ago

chrismclarke commented 3 years ago

Would be nice if sharing a link to a specific problem shows a URL snippet with the problem image and some text, and that it can open directly within the app

Tested adding angular universal for SSR and better link previews but didn't work well. Suggest Dynamic links might be better option. Could create script to populate (including og tags), and allow user to open in app or web https://firebase.google.com/docs/dynamic-links/create-manually

Would still require deep links on device https://capacitorjs.com/docs/guides/deep-links

Interim solution could be to populate via api https://medium.com/@jalalio/dynamic-og-tags-in-your-statically-firebase-hosted-polymer-app-476f18428b8b

chrismclarke commented 3 years ago

Android deeplinking tested working, just need to sort ios

chrismclarke commented 3 years ago

ios working, will go live in 2.5.5. End result is to use universal links (ios) and app links (android). Firebase would still be nice for persisting across installs and opening in app on ios when clicked in safari, but less important if include popup on web version (and currently no well-supported capacitor plugin). closing