Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Sencha User
    Join Date
    May 2012
    Posts
    14
    Vote Rating
    0
    moin4u is on a distinguished road

      0  

    Default Unanswered: Avoid allow get Location Alert on App startup

    Unanswered: Avoid allow get Location Alert on App startup


    Hi,

    I am getting "allow current location alert" before my App actually rendered, can we prevent this, Also I am getiing Long message for allowing instead of short one.


    The long message somthing look like tis one

    '/var/mobile/Applications/XXXX-XXXX-XXXX-XXXXXXXXXXX/AppName.app/www/index.html would like to use your current location'
    Please advise how to avoid that.

    Thanks

    Moin.

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,519
    Answers
    3447
    Vote Rating
    814
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    There is no way to prevent this. This popup is what tells the OS to allow the browser to get the device location for your app.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Feb 2011
    Posts
    111
    Answers
    5
    Vote Rating
    0
    sissonb is on a distinguished road

      0  

    Default


    Check out this thread, http://stackoverflow.com/questions/1673579/location-permission-alert-on-iphone-with-phonegap

    It looks like this is an issue with phonegap. If you wait until the device is ready you shouldn't get this error. I'm not exactly sure what your code is doing, but if you find the code that is doing a geolocate and make sure it doesn't fire until after the device is ready that should help. Maybe make a button that the user clicks to before finding the location.

  4. #4
    Sencha User
    Join Date
    May 2012
    Posts
    14
    Vote Rating
    0
    moin4u is on a distinguished road

      0  

    Default


    hi sissonb,

    I am getting location when App is launched after log in button but long message is still there, I tried to use device.geolocation but App crashed. I did saw this link as well that is why I am calling location on button click.

    Please do help me on this

  5. #5
    Sencha User
    Join Date
    Feb 2011
    Posts
    111
    Answers
    5
    Vote Rating
    0
    sissonb is on a distinguished road

      0  

    Default


    Did you see this thread? Check out the last comment
    https://groups.google.com/forum/?fro...0/FyYhLr0K75wJ

    Also what version of phonegap are you using? Updating that might fix the issue too.

  6. #6
    Sencha User
    Join Date
    May 2012
    Posts
    14
    Vote Rating
    0
    moin4u is on a distinguished road

      0  

    Default


    I am using Sencha touch 2 only no phonegap usage.Please guide regarding Sencha touch 2

    Thanks

    Moin