Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Android webview over unity is not accepting all keypresses from the virtual keyboard.

Discussion in 'Editor & General Support' started by dylan.ryan, Feb 18, 2013.

  1. dylan.ryan

    dylan.ryan

    Joined:
    Oct 15, 2012
    Posts:
    29
    Hello, I am currently using a plugin to call a webview which is very simple and has a couple input fields(textboxes). We are having trouble where various android devices have different behaviors. We have tested it with a very simple case where we just send the webview to google.com and see if you can enter input. Some phones allow alpha only characters(ignores numbers), and some do not allow any input.

    I am currently using this plugin:
    https://github.com/gree/unity-webview/

    and I have the following configuration setting in our manifest file.
    <meta-data android:name="unityplayer.ForwardNativeEventsToDalvik" android:value="true" />

    The plugin currently works just fine on iOS.
    Has anyone else run into this issue, or have any ideas on what we can do?

    Thank you,
    Dylan
     
  2. BarryNorthern

    BarryNorthern

    Joined:
    Dec 5, 2011
    Posts:
    7
    I have run into this exact same issue but am still unable to find the problem. I would appreciate it if you could share anything you may have found out since originally posting. I'll do likewise if I have a breakthrough!
     
  3. rober3287

    rober3287

    Joined:
    Nov 12, 2012
    Posts:
    2
    I have the same issue and I'm very frustrated.
    Could you tell me how you could fix it please?

    Thanks.
     
  4. ___Petr___

    ___Petr___

    Joined:
    Jun 4, 2013
    Posts:
    40
  5. VarietyARLabs

    VarietyARLabs

    Joined:
    Aug 26, 2013
    Posts:
    4
  6. alex_galkin

    alex_galkin

    Joined:
    Oct 28, 2013
    Posts:
    4
    Had anyone any luck with that? I have the same issue right now and cannot figure out the way to solve it (tried dozens of guesses and proposals from forums).
     
  7. Wells.W

    Wells.W

    Joined:
    Nov 19, 2013
    Posts:
    3
    Hi, I get it worked by using a plugin called UniWebView from the Asset Store here ( https://www.assetstore.unity3d.com/#/content/12476 ) It seems there is an activity issue which causes the Android can not receive the button tap. For those who later found this post, I suggest you try that plugin to avoid the countless bugs in Gree web view.
     
  8. alex_galkin

    alex_galkin

    Joined:
    Oct 28, 2013
    Posts:
    4

    Thanks, Wells.