Log in or register to post comments

Possible to update released device target database without updating the app?

April 9, 2013 - 9:27pm #1

Hi there,

We are releasing an iOS AR app soon (using local device target database).

But we might need to add additional targets after submitting to appstore.

As it takes 7 days to get approved by apple, is there possible way to update the device target database without updating the app?

 

We can successfully do this in android versions (as we have full access to all of the folders).

But in iOS, apple only allows updating the document folder, we can’t update files in the device target database.

Much appreciate any help!

Many thanks!

Isaac

Possible to update released device target database without updating the app?

June 14, 2017 - 10:22am #5

Hello

I apologize in advance for my ignorance, but I am facing a similar situation: we have planned to release the app *before* we have the full images and targets.

Now, I don't understand where to find this qUtils you are talking about; I already read all the links included in this thread however I fail to see / find how to add new targets and images to my application without having to redeploy the app.

I already searched my computer for such file but haven't found it.

I appreciate your consideration and understanding,

Regards,

-Kz

Possible to update released device target database without updat

June 26, 2013 - 2:59am #4

If you look at the existing Image Targets sample they are set in the AppDelegate didFinishLaunchingWithOptions() method

 

 

    [qUtils addTargetName:@"Stones & Chips" atPath:@"StonesAndChips.xml"];

    [qUtils addTargetName:@"Tarmac" atPath:@"Tarmac.xml"];

 

 

Is it possible to fetch the .dat and .xml files from a web url?

Yes it is, though you will have to get them via an NSURLRequest to your own server.  If you need examples here search the web.

 

Where should I set them in the app?

This depends entirely on your applications - basically do it when it is required.

 

N

 

Possible to update released device target database without updat

June 25, 2013 - 8:41pm #3

Hi,

Is it possible to fetch the .dat and .xml files from a web url?  Where should I set them in the app?

Thanks,

Binu Paul

Possible to update released device target database without updat

April 10, 2013 - 3:23am #2

Hi Isaac,

Yes this is possible.

You will need to host the .dat and .xml somewhere and download these to the Documents directory.

Then in the app you need to use STORAGE_ABSOLUTE rather than STORAGE_APPRESOURCE when you load the dataset from the documents directory.

Please see these threads for more details:

https://developer.vuforia.com/forum/ios/crash-when-loading-dataset-documents

https://developer.vuforia.com/forum/creating-ar-trackables/read-xml-document-folder

 

HTH

N

 

Log in or register to post comments