You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2021/10/01 08:54:18 UTC

[GitHub] [cordova-plugin-geolocation] chandelkushaltesting opened a new issue #240: IOS 15 Geolocation permission message issue.

chandelkushaltesting opened a new issue #240:
URL: https://github.com/apache/cordova-plugin-geolocation/issues/240


   # Bug Report
   
   Hi Team,
   
   We faced a strange issue with iOS 15, whenever we are calling the getCurrentPosition() method then on permission header. We are getting app name empty "" with "://" .
   
   Please find the screenshot below.
   
   ![2021-10-01](https://user-images.githubusercontent.com/80328136/135592498-4d3053d0-76a2-4400-8740-8f7c6b01ff4c.png)
   
   
   ## Problem
   
   Getting permission app name empty in iOS 15 with "://" 
   
   ### What is expected to happen?
   
    "://"  should be replaced with App name.
   
   ### What does actually happen?
   
   Getting permission app name empty in iOS 15 with "://" 
   
   ## Information
   <!-- Include all relevant information that might help understand and reproduce the problem -->
   
   Install the above plugin and just call the getCurrentPosition method you able to reproduce the issue in  IOS 15.
   
   
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you experiencing the issue? -->
   
   IOS 15 platform .
   
   ### Version information
   <!-- 
   What are relevant versions you are using?
   For example:
   Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins 
   Other Frameworks: Ionic Framework and CLI version
   Operating System, Android Studio, Xcode etc.
   -->
   
   
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [ ] I searched for existing GitHub issues YES
   - [ ] I updated all Cordova tooling to most recent version YES
   - [ ] I included all the necessary information above YES
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-geolocation] programadormartinez commented on issue #240: IOS 15 Geolocation permission message issue.

Posted by GitBox <gi...@apache.org>.
programadormartinez commented on issue #240:
URL: https://github.com/apache/cordova-plugin-geolocation/issues/240#issuecomment-1030080993


   
   
   
   > @programadormartinez on my Ionic app, I solved it putting each calls of navigator.geolocation inside $ionicPlatform.ready(function() {}) to be sure the plugin is called and not the html5 location api. Should be the same with `deviceready` event if not on Ionic. But I don't know why the previous code had no popup on IOS 14.
   
   how to apply changes? I'm not sure where to make the changes since I don't call that function navigator.geolocation anywhere


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-geolocation] geshub commented on issue #240: IOS 15 Geolocation permission message issue.

Posted by GitBox <gi...@apache.org>.
geshub commented on issue #240:
URL: https://github.com/apache/cordova-plugin-geolocation/issues/240#issuecomment-952634242


   Got that one on my app:
   ![IMG_F9AB44C3D542-1](https://user-images.githubusercontent.com/4352726/139023389-06e24779-ebe1-48c9-af7a-9475fe321a62.jpeg)
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-geolocation] geshub commented on issue #240: IOS 15 Geolocation permission message issue.

Posted by GitBox <gi...@apache.org>.
geshub commented on issue #240:
URL: https://github.com/apache/cordova-plugin-geolocation/issues/240#issuecomment-982497068


   Does anyone found any solution to hide that prompt on IOS 15 ?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-geolocation] Sagar-Khenat edited a comment on issue #240: IOS 15 Geolocation permission message issue.

Posted by GitBox <gi...@apache.org>.
Sagar-Khenat edited a comment on issue #240:
URL: https://github.com/apache/cordova-plugin-geolocation/issues/240#issuecomment-973908747


   Were you able to find a fix for this issue, related to location permission prompt? Or are the plugin maintainers going to make updates for this plugin, as we are also seeing this permission prompt in our app.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-geolocation] Sagar-Khenat edited a comment on issue #240: IOS 15 Geolocation permission message issue.

Posted by GitBox <gi...@apache.org>.
Sagar-Khenat edited a comment on issue #240:
URL: https://github.com/apache/cordova-plugin-geolocation/issues/240#issuecomment-973908747


   Hi @chandelkushaltesting Were you able to find a fix for this issue, related to location permission prompt? Or are the plugin maintainers going to make updates for this plugin, as we are also seeing this permission prompt in our app.
   Any kind of input will be helpful.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-geolocation] programadormartinez commented on issue #240: IOS 15 Geolocation permission message issue.

Posted by GitBox <gi...@apache.org>.
programadormartinez commented on issue #240:
URL: https://github.com/apache/cordova-plugin-geolocation/issues/240#issuecomment-1030199282


   Solution:  this.ptf.ready().then(()=> {
           GET LOCATION HERE
           //this.getGeo();
         })


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-geolocation] programadormartinez edited a comment on issue #240: IOS 15 Geolocation permission message issue.

Posted by GitBox <gi...@apache.org>.
programadormartinez edited a comment on issue #240:
URL: https://github.com/apache/cordova-plugin-geolocation/issues/240#issuecomment-1030199282


   Solution:  
   //imports
   import { Platform } from '@ionic/angular';
   
   //constructor
   private ptf: Platform
   
   //function get location
   this.ptf.ready().then(()=> {
           GET LOCATION HERE
           //this.getGeo();
         })


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-geolocation] programadormartinez commented on issue #240: IOS 15 Geolocation permission message issue.

Posted by GitBox <gi...@apache.org>.
programadormartinez commented on issue #240:
URL: https://github.com/apache/cordova-plugin-geolocation/issues/240#issuecomment-1030013486


   Day 4 feb, not solutions. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-geolocation] Jeff-P commented on issue #240: IOS 15 Geolocation permission message issue.

Posted by GitBox <gi...@apache.org>.
Jeff-P commented on issue #240:
URL: https://github.com/apache/cordova-plugin-geolocation/issues/240#issuecomment-948536836


   Same here


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-geolocation] Sagar-Khenat commented on issue #240: IOS 15 Geolocation permission message issue.

Posted by GitBox <gi...@apache.org>.
Sagar-Khenat commented on issue #240:
URL: https://github.com/apache/cordova-plugin-geolocation/issues/240#issuecomment-973908747


   Are you able to find a fix for this issue, related to location permission prompt? Or are the plugin maintainers going to make updates for this plugin, as we are also seeing this permission prompt in our app.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-geolocation] programadormartinez edited a comment on issue #240: IOS 15 Geolocation permission message issue.

Posted by GitBox <gi...@apache.org>.
programadormartinez edited a comment on issue #240:
URL: https://github.com/apache/cordova-plugin-geolocation/issues/240#issuecomment-1030080993


   
   
   > @programadormartinez on my Ionic app, I solved it putting each calls of navigator.geolocation inside $ionicPlatform.ready(function() {}) to be sure the plugin is called and not the html5 location api. Should be the same with `deviceready` event if not on Ionic. But I don't know why the previous code had no popup on IOS 14.
   
   @geshub how to apply changes? I'm not sure where to make the changes since I don't call that function navigator.geolocation anywhere


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-geolocation] geshub commented on issue #240: IOS 15 Geolocation permission message issue.

Posted by GitBox <gi...@apache.org>.
geshub commented on issue #240:
URL: https://github.com/apache/cordova-plugin-geolocation/issues/240#issuecomment-1030057243


   @programadormartinez on my Ionic app, I solved it putting each calls of navigator.geolocation inside $ionicPlatform.ready(function() {}) to be sure the plugin is called and not the html5 location api. 
   Should be the same with `deviceready` event if not on Ionic.
   But I don't know why the previous code had no popup on IOS 14.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-geolocation] geshub commented on issue #240: IOS 15 Geolocation permission message issue.

Posted by GitBox <gi...@apache.org>.
geshub commented on issue #240:
URL: https://github.com/apache/cordova-plugin-geolocation/issues/240#issuecomment-1030089869


   @programadormartinez You're supposed to use this function navigator.geolocation.getCurrentPosition with this plugin


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org