Pairing to Snapchat
With Lens Studio, you can preview your Lenses inside Snapchat. When paired, any changes you make in Lens Studio are reflected in preview Lenses on your mobile device. Previewing your Lenses inside Snapchat will help you test and iterate on the Lens' user experience.
To pair Snapchat with Lens Studio, you'll need the latest version of Snapchat as well as the latest version of Lens Studio.
Pairing Your Device
To preview your Lenses on your device, first you must pair your device with Lens Studio.
-
Press the
Pair Your Device
button in the top right corner of Lens Studio -
You should see a Snapcode pop up. This Snapcode is unique to your Lens Studio
-
Open Snapchat on your device
-
In Snapchat, point your camera at the Snapcode
-
Press and hold the image of the Snapcode to scan it
-
You should see a prompt to Pair with Lens Studio
-
Press the
Pair
button -
When paired, you should see the
Your Device Paired
message in Lens Studio
The pairing process can take up to 30 seconds depending on your network. After clicking Pair
, please allow some time for the device to find and connect to Lens Studio.
You can pair more than one devices to Lens Studio. This is useful for testing on multiple devices, as well as while working on Connected Lenses. Once one phone is connected, you can press the down arrow
button next to the Send to Snapchat
button, and press Pair New Account.
If you want to remove the paired lens from Snapchat, first open Snapchat. Then, go to Settings
. There, select Additional Services -> Manage -> Lens Studio -> Pair Status -> Tap to ``Unpair
. This will unpair your device and remove the paired Lenses from your Lenses carousel. Note, you might have to force quit and reopen Snapchat if you want the Lenses removed immediately.
Previewing Your Lenses
Now that your device is paired with Lens Studio, you can now push your Lenses to Snapchat to preview them.
-
Press the
Let's Push Your Lens
button to send your Lenses to your paired device for preview -
When sending, the button will display
Sending Lens...
-
Once the Lenses have been sent to your device, the button will display the
Lens has been pushed
message.
-
Finally, once the push is successful, you should now see your Lenses for preview in your rear camera's Lenses carousel. The icons of the Lenses will be whatever you set them to in the Project Info
Checking Lenses Performances
When paired, you're able to see the performance of your Lenses. Please refer to the Performance and Optimization guide for performance requirements and best practices. To display your Lenses' performance:
-
With your Lenses paired and opened in Snapchat, click the
Gear
button in the top left corner of Snapchat -
After clicking the
Gear
button, you should now see performance stats for your Lenses.FPS
represents your Lenses' framerates.RAM
represents how much memory your Lenses are consuming.SIZE
represents how large your Lenses are. And finally, a time stamp displays when the Lenses were last pushed