i'm trying to open the follow script from a webview in Flutter :
<model-viewer src="https://dashboard.impiattalo.com/storage/app/public/259/bistecca.gltf" alt="A 3D model of an astronaut" auto-rotate camera-controls ar ar-modes="web-xr scene-viewer quick-look fallback" ar-scale="auto"></model-viewer>
When i try to open the ar from Chrome, it works quite well, in flutter web view it doesn't work and it give me this error.
This is the code that i use :
child: WebView(
initialUrl:
'https://dashboard.impiattalo.com/3DViewer?url=${_con.food?.fbx_model?.url}',
javascriptMode: JavascriptMode.unrestricted,
gestureRecognizers: <
Factory<OneSequenceGestureRecognizer>>{
Factory<VerticalDragGestureRecognizer>(
() => VerticalDragGestureRecognizer()
..onUpdate = (_) {},
)
},
),
and this is the pubspec :
webview_flutter: ^0.3.20+2
Do you have any suggestion? thanks in advice