Zappar deeplinks - Graceful transitions between experiences in WebAR

Hi there, I am new to Zappar, really enjoying what it can do so far. I am currently working on a project where I need to scan an Image target that will then open up an AR photobooth app, I have found that it may not be possible to have image tracking and face tracking in the same application, am I correct in thinking this? If so my workaround was to scan the image have a user tap a button which would link to the face tracking experience, I have been able to do this by launching the deeplink url on tap but this launches the using z.device.launchUrl but this creates a pop up that then launches a second browser and then loads the app up. From reading the documentation I found this

Deep links can be used to move between different Zappar experiences - just use the link in conjunction with the existing features and functions for launching web links (e.g. Z.device.launchUrl(...) ).

When doing so it’s recommended that the https://zpr.link/ portion of the link is replaced with zappar:// since this ensures that the app gracefully handles the transition to the new content.

This sounds like it would do exactly what I want and open the second experience inside the already launched browser page, but the deeplinks no longer contain “zpr.link/” and I tried to replace the http://webxr.run with zappar:// instead but this will not launch the other experience, is this an app only feature or can it be run on WebAR as well? Any help is greatly appreciated, thanks in advance.

3 Likes

I did the same thing with deep links for my Sipsmith competition. As for the new web zappar maybe @Seb will know.

Steve

2 Likes

Any news upon this topic too? I need deeplinks to work in WebAR too :slight_smile:

So I am using the link from the QR-Code, which links to the WebAR experience starting with https://webxr.run/ in the call Z.device.launchUrl(...) ). instead of the zappar:// or the https://zrp.link - link to link from one experience to another by simply adding a pointerdown event to a plane where the Z.device.launchUrl('https://webxr.run/crypticLinkStuff', false); will be called, which launches a new browser tab with the new experience. That seems to be the only way to get this to work.

2 Likes

any word on this?

Hi everybody!
Z.device.launchUrl(“zappar://z/XXXXc”);
this works in web ar…
Marco

1 Like