Wikitude / wikitude-cordova-plugin

Wikitude's Augmented Reality Plugin for Cordova - working together with the Wikitude SDK library for Android and iOS. Provides image recognition and tracking, geo-based augmente reality and 3D rendering and animations in an augmented reality scene
https://www.wikitude.com
Other
199 stars 181 forks source link

Add iOS 10 Support #110

Closed pwasem closed 8 years ago

pwasem commented 8 years ago

I have just tested v5.1.4-3.2.1 under the first iOS 10 beta and unfortunately got this error when trying to open the plugin:

This device does not support the requirements to perform 2D tracking. The iOS version on this device ('10.0') is not supported. Wikitude SDK requires iOS 6 or later.

rakeshpalivela commented 8 years ago

I am also facing issue in iOS 10 beta 2 version. It saying "The device is not compatible to access".

AndreasSchacherbauerWikitude commented 8 years ago

Hi, we released a so called 'developer release' just a few days ago which fixes this issue. Geo AR will not work until the next developer release which will go live in the upcoming week.

Developer release Android Developer release iOS

sandroweb commented 8 years ago

I have tested v.5.2.0 with iOS10 and v4.0.0 of Cordova iOS Engine, but when I have calling the startWorld() method, nothing happens, but on Android device, working normaly.

AndreasSchacherbauerWikitude commented 8 years ago

Hi sandroweb, Here is a download link for a pre-release version of our Cordova plugin that supports iOS 10. We're planning to make an update public available by end of this week/beginning of next week.

pwasem commented 8 years ago

thx for the update, i have just deployed it to my iOS 10 device and it works as expected!

sandroweb commented 8 years ago

I downloaded the pre-release version, but occured the same problem on iOS 10: image

AndreasSchacherbauerWikitude commented 8 years ago

Hi @sandroweb, did you add the NSCameraUsageDescription key to your application .plist file?

sandroweb commented 8 years ago

Thanks @AndreasSchacherbauerWikitude!

You need insert this at plugin.xml:

<config-file parent="NSCameraUsageDescription" target="*-Info.plist">
    <string>Type here your usage description</string>
</config-file>