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.

1 Comment

Hi,

 

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


Thx and greetings

Nicola


1 person likes this
Login or Signup to post a comment