FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV Mobile 2024
→
[WM23] iOS Location permission
[WM23] iOS Location permission
Débuté par ARV, 06 oct. 2018 17:49 - Aucune réponse
Connectez-vous…
ARV
#1
Membre enregistré
498 messages
Popularité : +8 (8 votes)
Posté le 06 octobre 2018 - 17:49
Hi all
I was wondering about this, look on WM20 it shows a fatal error to the user when the user decline the permission of the GPS function, this was ok but now on WM23 on a iPhone SE ver.12.0 it doesn't show anything, and it doesn't do a fatal error My code it's like this:
posicion
is geoPosition
posicion
=
GPSGetPosition
(
)
gResp
=
geoGetAddress
(
posicion
..
Latitude
+
","
+
posicion
..
Longitude
)
GPSEnd
(
)
Info
(
gResp
..
Country
)
Info
(
gResp
..
City
)
Info
(
gResp
..
AdminArea
)
If the user decline the permission all of my info shows nothing, but if he or she accept the persmission then it appears everything, on back in the day I could get the fatal error with an exception and well really know that it's a permission error but now I'm not sure if I validated that my gResp could be empty or not, validating with empty for me it's not that good at all because it doesn't tell me if it is the permission or not.
any ideas?
Thanks
--
Best Regards
ARV
Signaler
0
0
→ Revenir à WINDEV Mobile 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte