disable cropping/editing

This commit is contained in:
Feruz 2018-12-20 11:46:47 +02:00
parent 38d62fdc9f
commit a8f15e09a0
4 changed files with 9 additions and 6 deletions

View File

@ -5,6 +5,7 @@
};
objectVersion = 46;
objects = {
/* Begin PBXBuildFile section */
00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */; };
00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */; };

View File

@ -84,6 +84,8 @@
<array>
<string>armv7</string>
</array>
<key>UIRequiresFullScreen</key>
<true/>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>

View File

@ -102,9 +102,9 @@ class EditorContainer extends Component {
_handleOpenImagePicker = () => {
ImagePicker.openPicker({
width: 300,
height: 400,
cropping: true,
//width: 300,
//height: 400,
//cropping: true,
// writeTempFile: true,
// includeBase64: true,
// multiple: true,
@ -119,9 +119,9 @@ class EditorContainer extends Component {
_handleOpenCamera = () => {
ImagePicker.openCamera({
width: 300,
height: 400,
cropping: true,
//width: 300,
//height: 400,
//cropping: true,
// includeBase64: true,
})
.then((image) => {