Start a new topic

Wikitude 6 - include HTML in snapshot

Hi, we just updated from 5.1.4 to 6.0.1.

In our cordova app we take snapshots of the current architectView using the captureScreen command.  In our use case we DO want to include some custom HTML in the snapshot.

In version 5.1.4 this was working, but using 6.0.1 any html element in the webview is not included in the snapshot. We tried setting the "includeWebView" boolean flag to "true", but with no result.

1 Comment

Let me add this: we are using Cordova 6.5.0 , Android platform 6.1.2 . iOS works correctly.

The problem is present both on Android 5.1 and Android 6.0.1; it occurs also with your sample project.

We are using the following code: 

wikitudePlugin.captureScreen(
	function(absoluteFilePath) {
		deferred.resolve({response:qAction, photo: absoluteFilePath});
		wikitudePlugin.close();
	},
	function (errorMessage) {
		console.log('WT error');
		console.log(errorMessage);
		deferred.reject({response:false, message: errorMessage});
		wikitudePlugin.close();
	},
	true, dir2save
);

 

Login or Signup to post a comment