Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(camera): Unify saveToGallery default value to false #2557

Merged
merged 1 commit into from
Mar 11, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
public class CameraSettings {

public static final int DEFAULT_QUALITY = 90;
public static final boolean DEFAULT_SAVE_IMAGE_TO_GALLERY = true;
public static final boolean DEFAULT_SAVE_IMAGE_TO_GALLERY = false;
public static final boolean DEFAULT_CORRECT_ORIENTATION = true;

private CameraResultType resultType = CameraResultType.BASE64;
Expand Down
3 changes: 2 additions & 1 deletion core/src/core-plugin-definitions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,8 @@ export interface CameraOptions {
*/
resultType: CameraResultType;
/**
* Whether to save the photo to the gallery/photostream
* Whether to save the photo to the gallery/photo stream.
* Default: false
*/
saveToGallery?: boolean;
/**
Expand Down