#Lenses rendering issue on Mac only for Prod Environment
21 messages · Page 1 of 1 (latest)
Found out that its probably a whitelisting/security issue. I understand restricting for webview , but on desktop the adress is same a mobile, so why is it not allowing ? I used "https ://www.aznabee.com/" as the whitelisted url. Also i cannot find any way to add new urls. It just says "Can't add a Platform Identifier for an approved Application". Can't i add and get a re-approval?
Yea, you can't do that. You have to resubmit a new one for approval if you want to add new Platform Identifier.
Hey @restive seal -- this actually is not expected. Do you have any sample code you can share for us to take a look at?
To confirm, this is a Camera Kit Web integration, correct?
Hi , sorry for late reply. Yes its Camera Kit Web integration. I am still stuck at this. @split dune i created one more app and whitelisted the required addresses, but still black screen. And now it is not working even for mobile. The staging token is working fine for same addresses.
aznabee.com
https ://www.aznabee.com
these are the two addresses i used.
what happens if you remove await on your CameraKitSession.play call?
Tough to say exactly what's going on here without a clean repro. If you can extract the Camera Kit logic into a small project on github, I can take a look and figure out what's going on
yes i tried to share the code here, but it rejected. I will share the github link in a moment
let me try
OK 1 sec
even after removing await , same result
Alright, there's a lot of logic in here that's fighting Camera Kit's intrinsic logic and some canvas handling is causing it to drop off.
Camera Kit will handle all of the sizing and there are methods for fps limit + setting render size, etc
this should work
Thanks!! Will try this and revert. One thing is staging token was working perfectly fine with current implementation. Do camera kit handle prod environments differently?