ImranR98/Obtainium

obtainium:// readme.md

TidalMist opened this issue · 6 comments

https://github.com/TidalMist/obtainium-http-protocol-redirector
Firefox opens correct
https://tidalmist.github.io/obtainium-http-protocol-redirector/?r=obtainium://app/{"id":"dev.patrickgold.florisboard.beta","url":"https://github.com/florisboard/florisboard","author":"florisboard","name":"FlorisBoard%20Beta","preferredApkIndex":0,"additionalSettings":"{\"includePrereleases\":true,\"fallbackToOlderReleases\":true,\"filterReleaseTitlesByRegEx\":\"\",\"filterReleaseNotesByRegEx\":\"\",\"verifyLatestTag\":false,\"dontSortReleasesList\":false,\"trackOnly\":false,\"versionDetection\":\"standardVersionDetection\",\"apkFilterRegEx\":\"\",\"autoApkFilterByArch\":true,\"appName\":\"\",\"exemptFromBackgroundUpdates\":false,\"skipUpdateNotifications\":false,\"about\":\"\"}"}
Need remove spaces or replace with %20
Idk how i did it. Probably something is wrong.
Or https://tidalmist.github.io/obtainium-http-protocol-redirector/?r=obtainium://app/%7B%22id%22:%22dev.patrickgold.florisboard.beta%22,%22url%22:%22https://github.com/florisboard/florisboard%22,%22author%22:%22florisboard%22,%22name%22:%22FlorisBoard%20Beta%22,%22preferredApkIndex%22:0,%22additionalSettings%22:%22%7B%5C%22includePrereleases%5C%22:true,%5C%22fallbackToOlderReleases%5C%22:true,%5C%22filterReleaseTitlesByRegEx%5C%22:%5C%22%5C%22,%5C%22filterReleaseNotesByRegEx%5C%22:%5C%22%5C%22,%5C%22verifyLatestTag%5C%22:false,%5C%22dontSortReleasesList%5C%22:false,%5C%22trackOnly%5C%22:false,%5C%22versionDetection%5C%22:%5C%22standardVersionDetection%5C%22,%5C%22apkFilterRegEx%5C%22:%5C%22%5C%22,%5C%22autoApkFilterByArch%5C%22:true,%5C%22appName%5C%22:%5C%22%5C%22,%5C%22exemptFromBackgroundUpdates%5C%22:false,%5C%22skipUpdateNotifications%5C%22:false,%5C%22about%5C%22:%5C%22%5C%22%7D%22%7D

What version of Firefox are you using? The link in your first comment works fine on my end.

Latest Iceraven. I have now tried firefox from google play and intradeus link opens not correct too. My fork opens correct. I changed redirect.js

Upd. TIP I try remove every setting in link and got shorten to https://tidalmist.github.io/obtainium-http-protocol-redirector?r=obtainium://app/{"id":"dev.patrickgold.florisboard.beta","url":"https://github.com/florisboard/florisboard","author":"florisboard","name":"FlorisBoard","additionalSettings":"{\"includePrereleases\":true}"} or without additional https://tidalmist.github.io/obtainium-http-protocol-redirector?r=obtainium://app/{"id":"dev.patrickgold.florisboard","url":"https://github.com/florisboard/florisboard","author":"florisboard","name":"FlorisBoard"}
(Upd2 for someone) Check versionDetection before share link because looks like it does not auto detect as if just add in obtainium

Seems like a character limit issue then? May be device dependent or unique to the Iceraven builds as I don't see this issue on regular Firefox or Chromium.

I'm on realme android 13 but now tried on honor android 10 device and its same, firefox and webview browser(1dm) opens without backslashes. Kiwi browser(chrome based) opens with backslashes.
As i wrote in PR, need more people confirm that.
Hamster45105/apps.obtainium.imranr.dev#1
PR fixes for me