Shared-Reality-Lab / IMAGE-browser

IMAGE project browser extensions & client-side code
Other
2 stars 0 forks source link

Enable visible buttons, to make exension work in Kiwi/Yandex browsers on Android #372

Open jeffbl opened 8 months ago

jeffbl commented 8 months ago

@satvik messaged in slack:

Chrome itself doesn't support extensions for mobile devices, but some third-party browsers based on Chromium, such as Firefox for Android, Kiwi Browser, and Yandex Browser, do support extensions. Notably, Kiwi Browser and Yandex can run Chrome extensions on Android devices. I tried installing IMAGE on Kiwi. I was successful in doing so and it works as it had opened the IMAGE landing page upon installation. I think kiwi might be able to work if buttons were added to get IMAGE renderings. But forcing people to use a certain browser to use the extension might not be the best thing to do? Regarding Apple's decision, it seems to have been prompted by changes imposed by the EU government and the corresponding legislation. Therefore, it's unlikely that these changes will be implemented in other regions.

...

that code is already merged to main but we never thought of Android so the code is like:

/* Make buttons visible if the user agent is iPhone*/
if (userAgent.includes("iPhone")) {
buttons = true;
}

If a line is added for android, it should work on kiwi.

Although this isn't a "standard" browser, it would give at least a minimum story on one mobile platform, and would be fully deployable.