Heads up! We're sunsetting this forum to streamline our community space.

join us on Discord for support, updates, and all things Snap AR! See you there!
Sign up for our live Camera Kit office hour on July 17 @ 9:30am (PT) / 4:30pm (GMT)

[Web SDK] Is there a way for the Lens and Webpage to communicate?

BenUnbound
BenUnbound Posts: 1
edited September 2023 in General #1

Hi, I'm wondering if there's a way to trigger events or to get data out of a Lens running on the web. I'm aware you can pass data into the lens, and I've seen the Remote Service Module (useful for APIs), but is there a way for a single webpage to communicate to/from the lens?

An example would be if the Lens was a game, and once you win/lose the game, the webpage could display a popup.

Answers

  • Michael Mase
    Michael Mase Posts: 66 🔥🔥

    Hi @BenUnbound! This is a great question. Remote API support for the Web SDK (currently supported by our iOS and Android SDKs) is slated to be released later this year. Be sure to keep an eye out for developer communications for updates on this.

Categories