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
0
votes
1 answer

Zoom in on a page programmatically in GeckoView?

When I double tap the page it zooms in. But how to achieve the same programmatically in a GeckoView?
Z T
  • 543
  • 1
  • 7
  • 26
0
votes
1 answer

Javascript Code for manipulating Facebook images works in console but not in extension

I have been trying to create a GeckoView based web extension for downloading images on my facebook mobile feed. So as a first run, I used Inspect> console in google chrome to test a simple script to detect all images and make the border red: var…
Greg
  • 1
0
votes
1 answer

How to fix this error "ERROR: Could not find method compileOptions()" while trying to usee GeckoView?

I'm trying to create an android app using GeckoView, I use the following link as a reference: https://mozilla.github.io/geckoview/consumer/docs/geckoview-quick-start I do everything as it is in the example, but I get the following error: ERROR:…
Mohab Mostafa
  • 109
  • 1
  • 8
0
votes
1 answer

Why can't i render html completely with GeckoView?

I'm trying to fetch a html from an url and manipulate the html and then render it with GeckoView I was going to use Jsoup to get the html string from an url but this said there is a problem to get a complete html using Jsoup So i found another way…
TYFA
  • 313
  • 1
  • 10
0
votes
2 answers

How to get a web page source code with GeckoView

I am an android developer and I knew about GeckoView recently. I can get source code of a web page by android WebView (java code). However with my new website, android Webview can't load the webpage but GeckoView can. Now I want to get source code…
Zappy.Mans
  • 551
  • 1
  • 7
  • 19
0
votes
3 answers

How can i render html with using geckoview?

I wanted to download a html file from a website first and edit that website and print that html with geckoview render engine I know how to fetch a html and parse it but i don't know how to render it with using the renderengine Geckoview just uses a…
TYFA
  • 313
  • 1
  • 10
0
votes
1 answer

Is there an alternative to webview setInitialScale in GeckoView in Android

In Webview you can set a zoom scale via a percentage. I really need to zoom out of a webpage I dont have control of. I cant seem to do the same thing in GeckoView. I've tried displayDensityOverride(float density) but I can't zoom out only zoom in.…
runout
  • 11
  • 2
0
votes
2 answers

Page loaded callback in Gecko view in Android

I am evaluating Gecko view by Mozilla as a potential Webview for displaying HTML pages in my android app. I want a callback mechanism where if Gecko view is unable to load the page, I should be able to fall back to Android's default Webview or…
Ezio
  • 2,837
  • 2
  • 29
  • 45
0
votes
1 answer

Use GeckoView in react native

I'm working on a react native project that requires GeckoView as the browser for the WebView. However, since it's a native android library I'm not sure if I can use it in react native. Is there any way to integrate Geckoview to a react native…
0
votes
1 answer

Managing AndroidPermissionRequest and MediaPermissionRequest using Geckoview Android

I am currently having a problem on managing requests using geckoview. Android built in webview is not an option for me because the website I want to open is not compatible with chrome. It can be opened only using mozilla so geckoview is my…
0
votes
0 answers

How to enable gyroscope in GeckoView

In one of my projects, I am trying to use GeckoView as a replacement of WebView to support WebGL for all devices possible. However GeckoView does not respond to the device gyroscope as default WebView already does. Could anyone help me to enable…
ahmet
  • 646
  • 6
  • 14
1 2 3 4
5