Yes
Was trying to create a dummy project with CameraVeiw. After following the Readme section the app was crashing. Upon going through the stack-trace I saw that there was some issue with the flash section.
Yes
Kotlin
app:camera_flash="auto"java.lang.IllegalArgumentException: Parameter specified as non-null is null: method kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull, parameter <set-?>
Was expecting the camera to open.
It just crashed with the above error.
It's the same with FLASH_TORCH
Hi. I see at the website docs that the property name is actually ckFlash.
http://docs.camerakit.website/#/?id=ckflash
At the demo app too:
https://github.com/CameraKit/camerakit-android/blob/master/demo/src/main/res/layout/activity_main.xml
I think it's maybe more of the README.MD example changing.
The property used to be ckFlash before 1.0, it's camera_flash now
app:camera_flash="on" and app:camera_flash="off" are both working.
I see this paramter (camera_flash) is used on CameKitView and the issue says CameraView. Maybe that's the problem?
Pardon the dust paragraph says to look at the docs not on the master branch for 1.0 version too.
That hepls?)
Can you provide a stacktrace of an error?
@KlaartjeD @tolstovdmit I apologize for the confusion. The error that @sanoopsandy originally posted is in CameraKit v1.0.0-beta3.9. The links to the documentation and demo application are in version 0.13.2:
http://docs.camerakit.website/#/?id=ckflash
https://github.com/CameraKit/camerakit-android/blob/master/demo/src/main/res/layout/activity_main.xml
I'll be pushing a fix for the flash today and updating the master branch with the latest beta code shortly thereafter. Let me know if you have any more questions.
I was confused by your document, can it be updated as the latest version in the website? I can see there is still at version: 0.12.0, which is out of date :(
Updates are in the works @huangyz0918 we know this is an important step to clarify many things!
Most helpful comment
@KlaartjeD @tolstovdmit I apologize for the confusion. The error that @sanoopsandy originally posted is in CameraKit v1.0.0-beta3.9. The links to the documentation and demo application are in version 0.13.2:
I'll be pushing a fix for the flash today and updating the master branch with the latest beta code shortly thereafter. Let me know if you have any more questions.