Start a new topic

AR world not loading when running under IOS 8

AR world not loading when running under IOS 8


I'm using version 4.0.1 of the phonegap plugin, but when I try to load the AR world on an IOS 8 device, only the camera comes up but not even the main HTML renders. The issue also happens on the samples. However the same code works just fine on IOS 7 and even on Android. Upon checking console and NSLog, I'm not seeing any error. Are you guys aware if there is an IOS 8 specific setup that I am missing

I have the same problem!

I use Phonegap Extension Version: 4.0.3-2.1.2 and have a IPad with IOS Version 8.1.2.

I also try to load the AR world on the IOS 8 device, only the camera comes up but not even the main HTML renders!

Why?

Hi Mario,
have a look at the console output. I'm pretty sure there is a message similar to the following one.

        NSLog(@"n\n----------------- Wikitude SDK REQUIREMENT NOT FULFILLED -----------------");

        NSLog(@"CoreLocation Authorization Status is not determined - All ARchitect World load requests are on hold!");

        NSLog(@"This problem occurs because you called the method 'loadArchitecteWorldFromURL:withAugemntedRealityMode:' with an AugmentedRealityMode that contains Geo Requirements.");

        NSLog(@"To resolve this problem, either accept the iOS location access prompt or make sure that the 'NSLocationWhenInUseUsageDescription' key is defined in your applications Info.plist. Set the key's value to e.g. 'Access to GPS information is needed to display POIs around your current location'.");

        NSLog(@"------------------------------------------------------------\n\n");

You need to specify the NSLocationWhenInUseUsageDescription key in your .plist file. Otherwise access to mandatory iOS related API is restricted.

 


Best regards

Andreas

Thanks for your answer.

How can I create this file in my Phonegap project and what have I to do in this ".plist" File?

Sorry but I had never created an IOS-App before and just want to compile the App for IOS with Phonegap.

Hi Mario,
Every iOS app/project has a .plist file. It defines values that each iOS app needs to exist. When you search for a .plist file in your project, you'll find it.

http://stackoverflow.com/questions/24062509/location-services-not-working-in-ios-8

Please make yourself familiar with some basic iOS development as I'm not able to explain such fundamental topics in the Wikitude Forum.

Best regards

Andreas

ok thanks I will try to integrate that.

Sorry for my questions. I am an Android Developer and want to create my App multi plattfom with the Phonegap Extension...

I thought Phonegap makes those native things like location service. I dont know how to integrate native IOS-Code as described in your link in my Phongegap HTML5 App..

Hi joseph,

I am running sample code by creating the apk file of it but its not working properly its always showing me the alert box saying "Failed to load architect world and file not found or file is unreadable and url forming is: file:///android_asset/www/world/01_ImageRecognition/index.html

can you please help me out in this


Thanks 

Upender singh

Hi Upender,

Did you make sure that you downloaded our latest sample from the Download page and that you followed the guidelines provided in our documentation?

Thanks
Eva

 


1 person likes this

Hi joseph,

I am running sample code by creating the apk file of it but its not working properly its always showing me the alert box saying "Failed to load architect world and file not found or file is unreadable and url forming is: file:///android_asset/www/world/01_ImageRecognition/index.html

can you please help me out in this

 

Hi Joseph,

Is there any condition for those sample that we have to user particular version of cord ova ?

and please have a look on the above error in the last comment.


Thank you

Upender Singh

Login or Signup to post a comment