Detect Touch Input while in InAppBrowser?

Welcome! Forums Unity Plugins In-App Web Browser Detect Touch Input while in InAppBrowser?

This topic contains 5 replies, has 2 voices, and was last updated by Piotr Piotr 1 year, 8 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #507

    JacobHomanics
    Participant

    I have an app that you can click a link to open a website. Eventually there will be a time out feature that gets activated but only if there has not been user input for a certain amount of time.

    As of right now I cannot seem to figure this out. I tried just generally checking for touch input, but that is only working when not in the InAppBrowser.

    Any suggestions? I appreciate you reading this post and Thank you!

    #533
    Piotr
    Piotr
    Keymaster

    Hi,
    Do you control opened website? If so, you can create simple JS script which would wait for user inactivity and after that call your C# script which has access to CloseBrowser method.

    #534

    JacobHomanics
    Participant

    What do you mean by control opened website?

    As in it’s my own website? It is not, it is one of our clients.

    #535
    Piotr
    Piotr
    Keymaster

    I mean if you can modify its source code by attaching custom JavaScript code.

    #536

    JacobHomanics
    Participant

    How could I be able to do that?

    I have never dealt with anything like that before.

    Would I need access to the source code directly from the client, or is there a script that I can make to be able to do that?

    #555
    Piotr
    Piotr
    Keymaster

    I think it’s easiest to modify your client’s website.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.