Start a new topic

Wikitude webview hangs after disabling GPS

Platform: iOS

Devices: 

  • iPhone 8, iOS 11.2.6
  • iPhone SE iOS 11.2.6
  • iPhone X iOS 11.2.1
  • iPhone 5 iOS 10.3.3


Environment info:


cli packages: (/usr/local/lib/node_modules)


    @ionic/cli-utils : 1.18.0

    ionic (Ionic CLI) : 3.18.0


global packages:


    cordova (Cordova CLI) : 7.0.1 


local packages:


    @ionic/app-scripts : 3.1.2

    Cordova Platforms : android 6.3.0 ios 4.5.2

    Ionic Framework : ionic-angular 3.9.2


System:


    ios-deploy : 1.9.2 

    Node : v9.9.0

    npm : 5.6.0 

    OS : macOS Sierra

    Xcode : Xcode 9.2 Build version 9C40b 



WikitudePlugin.loadARchitectWorld config params:

WORLD_LOAD_REQUIRED_FEATURES: ['geo'];
WORLD_STARTUP_CONFIG: { camera_position: 'back' };


Steps to reproduce:

1. Enable GPS services on device.

2. Open AR view.

3. Disable GPS.

4. Go back to the app.


Issue: Wikitudes WebView hangs. Camera hangs and no handlers for HTML button work.


This issue might be related https://issues.apache.org/jira/browse/CB-5753, as the geolocation plugin uses the same API.


Also I was able to reproduce this bug using generated sample app (points at location section) (https://github.com/Wikitude/wikitude-cordova-plugin-samples).


Steps to reproduce in sample app:

1. Enable GPS services on device.

2. Open app. And click on 8.1 POI AT LOCATION (you can also click on 8.2-8.4).

3. Disable GPS.

4. Go back to the app.


Issue: Page with camera screen hangs.


Hi,

 

We were able to reproduce this issue and created an internal bug report for fixing it.


Thx and greetings

Nicola


2 people like this

Hi there,


We were just wondering if the raised internal bug has been resolved and is available, and if yes, in what version of the SDK?

We use 7.2.0, so ideally in 7.2.x.


Thanks,


N.

Hi.


Is there any update on this issue ?


Thanks in advance!

Hi Wikitude,


Is there any ETA on a fix for this issue ? 

Cheers

Hi @all:

This is expected behavior. In case one of the required authorizations is withdrawn, the SDK does not start anymore as it can not work correctly anymore. Unfortunately the Wikitude Cordova Plugin was not reporting this so that you could show an alert or similar, explaining it to users. Our next update will fix this.


Best regards,
Andreas Schacherbauer

Login or Signup to post a comment