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!
join us on Discord for support, updates, and all things Snap AR! See you there!
Comments
-
Hi @"Ankit Baphna" , sorry for being stuck on this topic. From what you see (my post above), does this make any sense to you that on Android the lens is just not recognizing "global.launchParams" ?
-
Hi @"Ankit Baphna" , thanks for getting back. Yes, keys are the same in iOS and Android, because they are coming from our DB at our backend. Later in the lens we are doing this: Script on Create: function getLaunchParams(){ if(Object.keys(global.launchParams).length === 0) { var launchParams = new mockLaunchParams();…
-
@"Ankit Baphna" it's me again. So, I ran my lens with your sample app, and even there it's not applying any launch params. So it's not a coding issue. However, the same lens' launch params work just fine on ios. The lens you were testing with is the "Big Mouth big eyes"? I would like to test it with a lens where launch…
-
@"Ankit Baphna" thanks for your reply. Nope, still no luck. cameraKitSession!!.lenses?.repository?.observe( queryCriteria ) { result -> result.whenHasSome { lenses -> this@SnapActivity.runOnUiThread { val launchData = LensesComponent.Lens.LaunchData.newBuilder() launchData.putString("title", "test data")…
-
@stevenxu, thanks. Since we have a hardcoded workaround it's not super urgent, but defenitely something to solve ;-)
-
So far no luck on this. We hardcoded in for now, however I wanna get the trick. Is it about reapplying the lens for a 2nd time? Just following the super straight forward iOS logic just doesn´t work for me here...
-
regarding Bug Report: Steps to reproduce --> see my first comment Lens Name --> any of our lenses, which work perfectly on iOS Lens ID --> any Platform : iOS / Android --> Android Devices Affected : iPhone / Android Device Model & Manufacturer --> Android Studio CameraKit SDK version --> 1.21.1
-
Thx @stevenxu . Actually we've done iOS integrating already before seeing @aidan 's post , however still good job ;-) Regarding Android integration: The correct way of calling apply is of course like this (haven't posted the callback before.): Session?.lenses?.processor?.apply(lens, launchData, {callback}) However, this…
-
Good job @aidan That iOS one worked very straight forward on our side as well. However, I am currently fighting with the Android version of it. After using the LaunchData Builder val dataBuilder = LensesComponent.Lens.LaunchData.newBuilder() dataBuilder.putStrings(key, itemValue) I get an object like this: launchData =…
-
Hi @ForumChris and @stevenxu, it was really strange. In the end we could finally setup some new APIs so all good for now. Thanks for your super fast support. BTW, are you planning to create sharable APIs within the same organization e.g.. Because for now only the user that created the API can publish a lense, which is a…