Code Monkey home page Code Monkey logo

extension-webview's People

Contributors

01010111 avatar atom-b avatar danieluranga avatar fbricker avatar gama11 avatar giuppe avatar jgranick avatar joackobengochea avatar matiasjrossi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

extension-webview's Issues

help wanted - black screen if close or move back from root url

Hi,
First of all! SO GREAT LIB! working out-of-the-box... just amazing!
I came across in only one issue, if I close the WebView (from the X button on top left corner) or trying to click on back button(of the phone) in root url so I should to move back to the phone's home screen, the screen changing to black and don't respond unless I kill the process (long tap on home button..) Tested on Android 4.4.2
Thanks a lot!
Michael

Maven repository blocking non-https requests

Hi,
since January the maven repository is blocking any non-https request. So now compilation for android is failing during the gradle step.
Only one change is needed to fix this, in the build.gradle of the webview dependency. I made a PR.

How to let Webview to background layer.

Hi, thank you for amazing lib and sorry because I'm not talking about any issue.
I'm building a 3d app using BabylonHx library, it will be VR game. Unfortunately, there are no device-orientation-event which have alpha beta gamma output from OpenFl API so I 'm planning to do a trick, using webview to access device orientation event and then push back values to OpenFL app (almost modern mobile browser support that event). But this library just have only 2 options (popup and window) so I wonder how to open webview in backgrond, it will solve my problem.
So can you point me how to manual config webview to let it behind everything, I don't know Java programming.
Sorry for my poor English.

Android - Unable to close webview

I have some code in the onURLChanging event - to retrieve some thing from the web response based on the landing page (i.e. Twitter Auth) - but attempts to call WebView.close(); don't work.

Looked through code - and can see only iOS has this function available. Can we make it available to Android?

Is it the same code to do a close?

Unable to compile Android - OpenFL 3.2.2 - Lime 2.5.2

Hi,

I'm unable to compile this extension with the latest versions of OpenFL and Lime, while not using Legacy mode.

Error:

/usr/lib/haxe/lib/extension-webview/1,2,1/extension/webview/WebView.hx:61: characters 11-46 : Class<lime.utils.JNI> has no field createStaticMethod

I would help if I knew a bit more about extensions and Android. I guessing the function has moved or changed.

Any help would be great, Thanks!!

Haxelib

haxelib install extension-webview returns:
No such Project : extention-webview

While openfl-webview gives
Error: OPENFL-WEBVIEW IS DEPRECATED! Now you should use 'extension-webview'
when I try to build the project.

onURLChanging only triggers the first time on my iPad (6th generation)

The onURLChanging function triggers when loading the initial page but any subsequent changes to the URL do not trigger that function. I tried adding the listener (with a delay) after the initial page loads but then it never gets called.
I saw this post and wondered if it might be a factor: "In September 2019, Apple has released a new, separate version of iOS specifically for the iPad: iPadOS. With iPadOS there comes a change in how Safari manages webpages and identifies them."

Catching events?

Hello!

I'm not sure if this is the right place to ask this, but is there any chance on catching mouse clicks and such?

OnURLChanging event

This doesn't appear to fire on Android - the Open/Close events do - something wierd is going on.

I set the URL to https://www.google.co.nz - which loads fine in the window. Any links clicked inside, (which navigate around), don't appear to fire that event.

Any ideas?

Crashing on Android

Hi,
i have exception on android when trying to open url
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.gomadkids.turmali/extensions.webview.WebViewActivity}: java.lang.NullPointerException

unfortunately i can't build extension with -debug flag to provide more information.
Tried different url's (on iOs working perfectly)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.