Start a new topic

2 Errors on "onDeviceSupported"

2 Errors on "onDeviceSupported"


Hi,

What is the 2nd issue?

Greetings

Nicola

Hi!

I'm using Cordova 5.4.0 and Wikitude plugin 5.0.0-3.1.0. 4.0.3-2.1.3
When I run on iPhone6, 2 errors appear on Xcode.

1) around "app.wikitudePlugin.isDeviceSupported" code, error will occur as below. and stop process.

LaunchServices: ERROR: There is no registered handler for URL scheme gap

2) AR world doesn't appear. then pushing HOME button twice, after that process continue. but error occur as below.

THREAD WARNING: took 'xxx' ms. Plugin should use a background thread.

Do you have any idea?

I resolved myself No.1.
(this error occured on only iOS9. this page helps me)

No.2 goes on. I tried other devices but it occurs on iOS 8 and 9 (iPhone/iPad).

No 2 is not really an issue. Cordova just defines some timings on how long plugins should take for any method call. The Wikitude SDK does not violate any iOS threading rules and is fine to use.

Best regards

Andreas

I don't understand what you wanna say...

I improve js code based on your sample codes. but it does not work well.

When I turned on AR world, unexpectedly the display remained white and show nothing. but after I pushed HOME button twice, the process ran and shows AR world.

Please tell me how to fix it.

Hi Dai,

My answer refers to your second question and the console log you posted that contains timing informations. This log message you can safely ignore.

Can you please try out our latest Cordova plugin? I'm sure we fixed your problem with the latest release.

Best regards,

Andreas
Login or Signup to post a comment