Rescan ZapCode with an 'In Zap' script

Is it possible to make the Zappar app rescan for a new code, from a script within the current ZapCode?

Reason being is because I want to set up a headset experience, where the user doesn’t have to keep taking their phone out of the headset to keep rescanning a new code. Instead I’m using the headset button for that purpose.

Thanks, let me know if possible.

Hello,

That is indeed possible, you have a couple of options too:

  1. If you’re simply looking to reset the zappar app back to the scanning mode then you can call the reset() function of Z.device in a script node.
  2. If you want to link directly to another experience then you can use a Deep Link to launch another experience from within a script node.

Hope this helps :slight_smile:

Mark