Skip to content

Can not retrieve photo if taking a photo in landscape #35

Description

@MilkBiscuit

Precondition
Remove android:configChanges line in AndroidManifest.xml of sample project.

Steps to reproduce

  1. Use portrait mode, Go to Main activity
  2. Click CAMERA floating action button
  3. Rotate the phone to landscape mode
  4. Take a photo and click Yes

Expected result:
4. The photo was attached into Main activity

Actual result:
4. No photo attached


Did some debug work, the order of method getting invoked is
Click YES in camera -> onImagePicked of MainActivity -> camera exiting... -> onCreate() of MainActivity.

RxImagePicker.with(this).getActiveSubscription().subscribe(this::onImagePicked) was hit in onCreate, but after that, onImagePicked() was not hit again.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions