Skip to content

Commit

Permalink
feat(camera): Unify saveToGallery default value to false (#2557)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcesarmobile authored Mar 11, 2020
1 parent 77b59f8 commit d222226
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
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

0 comments on commit d222226

Please sign in to comment.