join us on Discord for support, updates, and all things Snap AR! See you there!
Is it possible to automatically update the Lenses without having to force quit the app or update it
Hi team,
We are wondering whether it's possible to update the AR lenses on our Camera Kit without having to force quit the app and relaunch or reinstall the app.
Currently once we publish a new Lens and add it to our Group, the only way for the Lens to appear on our App is by force quitting and relaunching or updating the app (if an update is available)
We expect that:
CameraController’s method will be called when the list is changed: open func repository(_ repository: LensRepository, didUpdateLenses lenses: [Lens], forGroupID groupID: String)
But the method isn’t called.
We know that not a lot of people will force quit the app and we don't want to push a new update to the app just for a Lens.
How could we invoke the newly added Lens upon relaunching of the Camera?
Thanks a lot,
Sani
Best Answer
-
Hi @Sani, thank you for the question. The time to update the lens is set by our caching policy. It can take up to 12 hours for Lenses to be updated in the app. There is no workaround at the moment. However, this is an area we are actively working on and I have passed on your feedback to the team
1