Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GeckoView instead of Android System WebView #167

Open
Glazami opened this issue Aug 9, 2021 · 12 comments
Open

GeckoView instead of Android System WebView #167

Glazami opened this issue Aug 9, 2021 · 12 comments

Comments

@Glazami
Copy link

Glazami commented Aug 9, 2021

How to use geckoview instead of android system webview? Not having superuser rights?
I need this.

The system webview does not work for me, I have been trying to fix it for several years, but no webview mods help, it does not want to work, I changed a lot of firmware, I hate chrome, I love mozilla.
Is there somewhere an instruction on how to use geckoview instead of system webview, without superuser rights?

@Glazami
Copy link
Author

Glazami commented Aug 9, 2021

Maybe there is some kind of apk file that allows you to install it and select it in android as a standard webview?

@Xanaxus
Copy link

Xanaxus commented Aug 19, 2021

I have been surfing the net for this but I haven't found it I guess we will need to build one up

@agi
Copy link
Contributor

agi commented Aug 19, 2021

Hi there, are you trying to use GeckoView in your own app or do you mean using GeckoView instead of the WebView in third party apps like Facebook, Instagram etc?

@agi
Copy link
Contributor

agi commented Aug 19, 2021

Google does not allow a third party to implement the System WebView and the GeckoView API is not compatible with the WebView API in a very meaningful way unfortunately, so this is not possible.

@Glazami
Copy link
Author

Glazami commented Aug 19, 2021

Hi there, are you trying to use GeckoView in your own app or do you mean using GeckoView instead of the WebView in third party apps like Facebook, Instagram etc?

It's about using GeckoView Instead of webview

@Glazami
Copy link
Author

Glazami commented Aug 19, 2021

Google does not allow a third party to implement the System WebView and the GeckoView API is not compatible with the WebView API in a very meaningful way unfortunately, so this is not possible.

There are many custom firmwares that do not have google services at all.
There are also smartphones that are from the manufacturer's factory without google services.
It turns out that if google does not take part in solving the problem with a non-working webview, there will be no way to replace it with a normal engine?

@Glazami
Copy link
Author

Glazami commented Aug 19, 2021

I have been surfing the net for this but I haven't found it I guess we will need to build one up

Hopefully someone will have the strength to do this, it will solve a number of problems. 🤞

@paolo-caroni
Copy link

paolo-caroni commented Feb 7, 2022

Google does not allow a third party to implement the System WebView and the GeckoView API is not compatible with the WebView API in a very meaningful way unfortunately, so this is not possible.

There are many custom firmwares that do not have google services at all. There are also smartphones that are from the manufacturer's factory without google services. It turns out that if google does not take part in solving the problem with a non-working webview, there will be no way to replace it with a normal engine?

Geckoview cannot be compatible with system web view on android.
This issue don't depend on geckoview, but on android.
Implement any different webview version need signature spoofing or superuser rights on 99% of cases.
If you are lucky you can use other implementation (for example Bromite WebView) as a user app, but ONLY if the vendor don't have specified the signature of original android WebView (that is very rare, also for custom ROM).
You can still download non free software google webview (different from AOSP android webview) from PlayStore or AuroraStore.
Change GeckoView API to be compatible with the WebView API for a very rare usercase it's nonsense.

@paolo-caroni
Copy link

It's currently possible to select (Chromium-based) WebView via Developer Settings. There is also a setting that goes like this: settings put global webview_provider "org.bromite.webview"

I've tried multiple times to set bromite webview on LineageOS via Develomper Settings or via command line without luky.

It's currently possible to select (Chromium-based) WebView via Developer Settings, but any app that use a webview without the "correct" signature will crash.
As previously specified, implement any different webview version need signature spoofing or superuser rights on 99% of cases.

@k3n01 If you have a solution please share it.

@Glazami
Copy link
Author

Glazami commented Jul 21, 2022

I installed bromite via twrp
But in my case there was no difference.

@hockeymikey
Copy link

I think adding the ability to be used as a system WebView makes sense. It allows for an alternative to be used to Chromium based ones, and gives more exposure to the project too which would increase usage. People are already switching out their Webviews using say Android Webview Manager and I'm sure they would include this. Custom roms would add support (I would in mine too) or just straight up use it instead. I think the use case is clearly there.

The only question I think is how hard is that compatibility layer?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants
@hockeymikey @paolo-caroni @Xanaxus @Glazami @agi and others