Service location IOS 8.1 does not allow the use AppBuilder

6 posts, 0 answers
  1. Nathan
    Nathan avatar
    1 posts
    Member since:
    Jul 2014

    Posted 05 Nov 2014 Link to this post

    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 .
  2. Martin Yankov
    Admin
    Martin Yankov avatar
    177 posts

    Posted 06 Nov 2014 Link to this post

    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
     

    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

     
  3. David
    David avatar
    3 posts
    Member since:
    Aug 2014

    Posted 18 Nov 2014 Link to this post

    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.

  4. Martin Yankov
    Admin
    Martin Yankov avatar
    177 posts

    Posted 19 Nov 2014 Link to this post

    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
     

    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

     
  5. David
    David avatar
    3 posts
    Member since:
    Aug 2014

    Posted 19 Nov 2014 Link to this post

    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.

  6. Martin Yankov
    Admin
    Martin Yankov avatar
    177 posts

    Posted 21 Nov 2014 Link to this post

    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
     

    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

     
Back to Top