This question is locked. New answers and comments are not allowed.
Everytime I try to use search of the user's position by my own application or the application of telerik coming in AppBuilder , the location service IOS disables the service alone , not allowing me to do a search of the user's position .
This problem only occurs in this version of iOS 8.1 .
This problem only occurs in this version of iOS 8.1 .
5 Answers, 1 is accepted
0
Hello Nathan,
Apple have introduced some changes in the native Geolocation API in iOS 8. The core Cordova Geolocation Plugin that is built in AppBuilder is not updated yet. It is using a bit older but stable version that works in most cases. I suggest you download and import the latest version of the Cordova Geolocation Plugin into your project as a custom plugin. You can learn about custom plugin import in this article. You will have to also disable the core Geolocation Plugin from your project Properties -> Plugins -> turn Geolocation off. You can then use the imported plugin in the same way that you used the built-in plugin.
Try this out and let me know the result.
Regards,
Martin Yankov
Telerik
Apple have introduced some changes in the native Geolocation API in iOS 8. The core Cordova Geolocation Plugin that is built in AppBuilder is not updated yet. It is using a bit older but stable version that works in most cases. I suggest you download and import the latest version of the Cordova Geolocation Plugin into your project as a custom plugin. You can learn about custom plugin import in this article. You will have to also disable the core Geolocation Plugin from your project Properties -> Plugins -> turn Geolocation off. You can then use the imported plugin in the same way that you used the built-in plugin.
Try this out and let me know the result.
Regards,
Martin Yankov
Telerik
Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.
0
David
Top achievements
Rank 1
answered on 19 Nov 2014, 01:18 AM
Thanks Martin, I will try that out.
Is there a way to keep track of these kind of issues? I was bit surprised when I get that error.
And the latest releases of kendo ui and cordova? And how to upgrade our apps accordingly to the changes.
Regards,
- David.
Is there a way to keep track of these kind of issues? I was bit surprised when I get that error.
And the latest releases of kendo ui and cordova? And how to upgrade our apps accordingly to the changes.
Regards,
- David.
0
Hi David,
I have just tested this again and on my side, the Cordova Geolocation Plugin v0.3.8 that is built into AppBuilder works fine on the latest iOS. It seems the problem you are experiencing is that iOS does not ask you for permission. Can you please go to Settings -> Privacy -> Location Services -> Your app and share what you see? What are the options and what is selected? There is a possibility that nothing is selected.
I am looking forward to your reply.
Regards,
Martin Yankov
Telerik
I have just tested this again and on my side, the Cordova Geolocation Plugin v0.3.8 that is built into AppBuilder works fine on the latest iOS. It seems the problem you are experiencing is that iOS does not ask you for permission. Can you please go to Settings -> Privacy -> Location Services -> Your app and share what you see? What are the options and what is selected? There is a possibility that nothing is selected.
I am looking forward to your reply.
Regards,
Martin Yankov
Telerik
Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.
0
David
Top achievements
Rank 1
answered on 19 Nov 2014, 06:01 PM
Hi Martin,
Yes, it appears that IOS is not asking for permission. I haven't deploy to app store yet, so this is on AppBuilder app. In the list of apps in the location service apps, AB is not even showing up. Could this be the AB issue?
Regards
- David.
Yes, it appears that IOS is not asking for permission. I haven't deploy to app store yet, so this is on AppBuilder app. In the list of apps in the location service apps, AB is not even showing up. Could this be the AB issue?
Regards
- David.
0
Hello David,
I am sorry I did not understand you were using the AppBuilder Companion App for iOS from your first post. I can confirm that the Geolocation plugin currently does not work on iOS 8.1 if you are using the Companion App. I have logged this as a bug in the AppBuilder Companion App for iOS.
I have tested the Geolocation plugin on a real app outside of the Companion App and it works on iOS 8 and 8.1. If you are planning to deploy this app to the app store, then you should have an iOS developer account. You can generate a developer certificate and provisioning profile for your app. You can then sign and build your app with it as an app package and test it on a device. Let me know if the Geolocation works that way.
Looking forward to your reply.
Regards,
Martin Yankov
Telerik
I am sorry I did not understand you were using the AppBuilder Companion App for iOS from your first post. I can confirm that the Geolocation plugin currently does not work on iOS 8.1 if you are using the Companion App. I have logged this as a bug in the AppBuilder Companion App for iOS.
I have tested the Geolocation plugin on a real app outside of the Companion App and it works on iOS 8 and 8.1. If you are planning to deploy this app to the app store, then you should have an iOS developer account. You can generate a developer certificate and provisioning profile for your app. You can then sign and build your app with it as an app package and test it on a device. Let me know if the Geolocation works that way.
Looking forward to your reply.
Regards,
Martin Yankov
Telerik
Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.