User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12

Thread: Webview2 asks for Location Permission (GPS)

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleInstall Creator Pro

    Join Date
    Feb 2014
    Posts
    32
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Webview2 asks for Location Permission (GPS)

    Strange things happen lately with Webview 2.

    I am using Fusion R292.14 (developer) and every time i use Webview2 in a project it asks for location permision.
    Even a blank project with no events and just the webview does that.

    (all location permisions are unchecked in the projects properties)
    Webview2 is v 2.1 with Webview2.dat date 29/08/2019

    Any ideas/fixes or something?

    ps.
    another thing that is not working with webview is follow the frame but that's another story.

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleInstall Creator Pro

    Join Date
    Feb 2014
    Posts
    32
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Anyone who can confirm this so i know it's not some issue on my side?

  3. #3
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,152
    Mentioned
    158 Post(s)
    Tagged
    3 Thread(s)
    mm can you post a small mfa? for me to test
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleInstall Creator Pro

    Join Date
    Feb 2014
    Posts
    32
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    @Fernando
    Here.
    It's just one frame with a webview. nothing else.
    Attached files Attached files

  5. #5
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,152
    Mentioned
    158 Post(s)
    Tagged
    3 Thread(s)
    sorry i missunderstood webview does require of these permissions to make webview able to use geolocation inside it.

    they are added, but not asked since you are not using it.

    it is only asked when user require a geolocation.

    not easy to cover all angles
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleInstall Creator Pro

    Join Date
    Feb 2014
    Posts
    32
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    I see..
    So it asks for a permission "just in case" it needs it..
    Whouldn't it be wiser to just put an option in webviews properties for it? Something like "Enable geolocation? -> Yes/No" or something.

    Because some users might not even install an app that asks for it.
    I am making an rss reader for a friends blog and almost all betatesters asked "why is there a geolocation permission". Not a big issue since the user can deny it and the app still works but it doesn't "look good" on the play store.

  7. #7
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    13,089
    Mentioned
    123 Post(s)
    Tagged
    2 Thread(s)
    Not a big issue since the user can deny it and the app still works
    So you see the permission dialog where the user has to accept or deny the permission? I don't see why, as you don't use this feature. Unless you use Android 5 or 4.

    Only old versions of Android (4.x or 5.x IIRC) will prompt for the permission at start even if you don't use it. Other versions ask the user only if the feature is used. For example on my Android 7 device, with the example you posted above I don't get any permission dialog box.

  8. #8
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleInstall Creator Pro

    Join Date
    Feb 2014
    Posts
    32
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    I use an older device to test my apps (android 5) and on installation i get the following screen:

    Screenshot_2019-09-18-00-42-01.png

  9. #9
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    13,089
    Mentioned
    123 Post(s)
    Tagged
    2 Thread(s)
    Yes, on Android 5 you see this.

    Android 6 or above = 75% of current Android devices, Android 5 = 15% and I guess it's decreasing.

    But yes anyway I agree, an option that you can unselect in the properties of this object could avoid this.

  10. #10
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,152
    Mentioned
    158 Post(s)
    Tagged
    3 Thread(s)
    These changes were done, let me know if you have time to make some test at your side.
    Regards,


    Fernando Vivolo

    ... new things are coming ...

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Sprite asks for transparent color
    By SapphireAMV in forum Fusion 2.5
    Replies: 2
    Last Post: 21st July 2019, 09:50 PM
  2. WebView2 cannot load image in android
    By pradeep in forum Android Export Module 2.5
    Replies: 3
    Last Post: 5th July 2019, 02:36 PM
  3. Android App Requests Location even when I dont use any location function.
    By AlanRuno in forum Android Export Module 2.5
    Replies: 2
    Last Post: 5th April 2019, 02:34 AM
  4. webview2 can I do an embed in this extension
    By Dave in forum Fusion 2.5
    Replies: 1
    Last Post: 27th April 2018, 12:30 AM
  5. Webview2 not displaying all content
    By dascribe in forum Fusion 2.5
    Replies: 7
    Last Post: 3rd May 2016, 08:25 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •