Questions tagged [geckoview]

Use for questions about using GeckoView, an open-source library that allows you to render web content on Android using the Gecko web engine. Created and maintained by Mozilla and the community open source community. More info https://geckoview.dev/

71 questions
5
votes
2 answers

How to disable WebRTC in GeckoView

When using GeckoView, is it possible to disable WebRTC? Either programmatically or at build-time (e.g. in build.gradle)? Context: We are building an Android app where we would like to run mini-web-apps without internet access in a webview. When…
Nemo
  • 728
  • 1
  • 4
  • 16
5
votes
3 answers

Geckoview in android app crashing with error "java.lang.Exception: Error loading sqlite libraries"

I already read lots of articles and howtos here and elsewhere concerning geckoview, but i didn't find any help for my problem. I integrated geckoview in my android app (as an replacement for webview). I did everything as explained in howtos, but in…
buzzer
  • 51
  • 3
4
votes
1 answer

Failed to initialize GeckoRuntime | GeckoView | Android

private fun setupGeckoView() { val runtime = GeckoRuntime.create(this) // crashes on this line geckoSession.open(runtime) geckoView.setSession(geckoSession) val url = String(Base64.decode(MYURL, Base64.DEFAULT)) …
Humxa Moghal
  • 122
  • 11
4
votes
3 answers

How to fix "Error inflating class GeckoEngineView" for android

The GeckoEngineView fails to be inflated, despite using latest dependencies. The code is from an official documentation on GeckoView. All the latest dependencies and repos have been successfully resolved in the project. The Error: Error inflating…
SowingFiber
  • 1,194
  • 1
  • 12
  • 32
4
votes
1 answer

How to inject Javascript to GeckoView on Android

I want to use GeckoView in my project. But I need to run some Javascript code in this project. How can I achieve this?
DummytoDummy
  • 553
  • 1
  • 5
  • 13
4
votes
1 answer

Is there a shouldOverrideUrlLoading in GeckoView?

I am very familiar with using the shouldOverrideUrlLoading method in Android WebView and have used it in a few projects. I have a new project that requires Mozilla's GeckoView instead of the standard WebView, but I can't seem to find a method to…
elisam98
  • 113
  • 9
3
votes
1 answer

Android Studio - Gradle implementation (...) { exclude ... } not working (Can't exclude a group from a dependency)

I have added the below two libraries (ExoPlayer and GeckoView) to my Android App in Android Studio: dependencies { ... implementation 'com.google.android.exoplayer:exoplayer:2.11.1' implementation…
HF_
  • 689
  • 3
  • 9
  • 22
3
votes
1 answer

Dropdown (Select tag, Combobox) not working in GeckoView implementation

I'm implementing a Geckoview instance inside an android App. Everything looks to work properly and the Geckoview is able to load a URL. My problem is that if a site has a dropdown (select tag, Combobox) when I click in the arrow the options don't…
3
votes
1 answer

Geckoview get microphone permission

I am trying to use the audio recording feature from a website inside a GeckoView element. Therefore I set the permission inside AndroidManifest.xml: When I now try to record the…
user1658080
  • 631
  • 1
  • 7
  • 18
3
votes
2 answers

Android Questions about Mozilla GeckoView

I am a beginner Android developer. I using the 'WebView' had tried to make a Android App. However, the speed of the web is too slow. So the Internet search results found GeckoView. But homepage has been difficult for me to understand I do not know…
ro Ro
  • 123
  • 10
3
votes
1 answer

Integrate GeckoView in Android

I'm facing problem in file upload in webview in Kitkat(4.4). As per https://code.google.com/p/android/issues/detail?id=62220 it can't be done in 4.4 due to missing method in new version of webview. Hence searched and found…
Chanchal Shelar
  • 363
  • 2
  • 12
2
votes
0 answers

Is it possible to set Proxy to GeckoView?

First time trying out GeckoView, I just wonder if is it possible to set an HTTP or SOCKS proxy to GeckoView? if yes can someone point me in the right direction? @Composable fun App() { AndroidView( factory = { context -> …
Jeeva
  • 3,975
  • 3
  • 23
  • 47
2
votes
0 answers

Android geckoview show blank white

I'm using Geckoview. It shows me white page. I'm using below tutorial: https://www.raywenderlich.com/1381698-android-tutorial-for-geckoview-getting-started . Also i have below log in console: …
emran
  • 23
  • 4
2
votes
1 answer

Implement GeckoView Web Extension

I'm trying to implement a noddy web extension for GeckoView in Android to simply execute some javascript on a web page, the equivalent of webView.evaluateJavascript() on a normal Android WebView, however I'm having trouble finding any useful…
Alex
  • 95
  • 3
  • 13
2
votes
1 answer

How to find the current uri of geckoView in android?

What is the equivalent of WebView.getUrl() in GeckoView ? I was using webView.getUrl() for WebView and xWalkView.getUrl() for XWalkView. I would like use GeckoView in my android application, but struck with getUrl part. Could anyone help me ?
Prince Francis
  • 2,995
  • 1
  • 14
  • 22
1
2 3 4 5