Augmented reality test

I’m trying to get running a very basic augmented reality example using this lib:

and not success yet.

The video feed inside the webview is not even streaming.

Does anyone already tried something like this?

<App Background="#333">
        <StatusBarBackground Dock="Top"/>

            <WebView Dock="Fill" ux:Name="webview"/>
        <Button Background="#fff" Text="Click" Dock="Bottom" Height="10%">
                <LoadHtml TargetNode="webview">
                            <!doctype HTML>
                                <script src=""></script>
                                <script src=""></script>
                                <body style='margin : 0px; overflow: hidden;'>
                                    <a-scene embedded arjs>
                                    <a-marker preset="hiro">
                                        <a-box position='0 0.5 0' material='color: black;'></a-box>
                                    <a-entity camera></a-entity>

        <BottomBarBackground Dock="Bottom" />

Has anybody successfully tried this lib?

Hi Hector.

I don’t think anyone has tried running that on Fuse yet. The WebView implementation in Fuse is also very minimalistic, so it may be that what you’re trying to do there simply isn’t technically viable.

In general, Fuse apps should not be “just a wrapper for a webview”. A better approach to complex solutions like augmented reality would be wrapping Cocoapods/Gradle libraries in Uno, if you can find some. That’s definitely more complicated than just JS, but it is so for a good reason.

Thanks for your honest reply Uldis. For this kind of App I think we are going native.