chrisboyle / sgtpuzzles

Android port of Simon Tatham's Puzzles
https://chris.boyle.name/puzzles
Other
592 stars 167 forks source link

open games from links and respect gameid #511

Open goyalyashpal opened 2 years ago

goyalyashpal commented 2 years ago

allow opening games from the sgtatham's online game links, also interpret game-id

https://www.chiark.greenend.org.uk/~sgtatham/puzzles/js/ game.html#gameid

chrisboyle commented 5 months ago

From Android 12 onwards, Android would not allow this without an opt-in from Simon in the website's metadata, so adding upstream tag.

See https://developer.android.com/training/app-links

Even then I'm not sure I see the use-case: there is already the sgtpuzzles:// URI scheme if you want to link to a puzzle in such a way that the app opens it, and I don't think https links to specific puzzles are currently in widespread use.

goyalyashpal commented 5 months ago

I don't think https links to specific puzzles are currently in widespread use.

if the upstream website is deemed unstable in any way (i.e. liable to go down any time soon), then i'd say yeah fair. but otherwise, i was using those links pretty regularly to play games cross-platform between my pc and android phonw

From Android 12 onwards, Android would not allow this without an opt-in from Simon in the website's metadata

umh wait. my phone is running android 12; and newpipe perfectly opens youtube links by default without any problem. and no, youtube will never add any opt-in to running via newpipe lol. so, this is wrong i'd say... and no, my phone ain't rooted or anything like that. it's plain - oem shipped - realme ui