Skip to content

setFlash(CameraKit.FLASH_TORCH) won't work in 1.0.0 beta1 #388

Open
@polppol

Description

@polppol

Is this a bug report?

Yes

Have you read the Contributing Guidelines?

Yes

Environment

Google Pixel 2 XL 8.1.0
Honeywell CT-50 6.0.1

Steps to Reproduce

(Write your steps here:)

CameraKitView camView;
camView = (CameraKitView) findViewById(R.id.camView);
camView.setFlash(CameraKit.FLASH_TORCH);

OR

    <com.camerakit.CameraKitView xmlns:app="http://schemas.android.com/apk/res-auto"
        android:id="@+id/camView"
        android:layout_width="match_parent"
        android:layout_height="0dp"
        app:camera_flash="torch"
        />

Expected Behavior

Flash should be on

Actual Behavior

Nothing happen but camView.getFlash() still return correct state of flash

ps. Flash work correctly in 0.13.1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions