From 3c1371aca7b4f892983f1355daad1b45649ac6a7 Mon Sep 17 00:00:00 2001 From: Christian Beelte Date: Fri, 3 Apr 2020 15:00:14 +0200 Subject: [PATCH 1/2] Added react-native.config.js to support autolinking on Android --- react-native.config.js | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 react-native.config.js diff --git a/react-native.config.js b/react-native.config.js new file mode 100644 index 0000000..cde114c --- /dev/null +++ b/react-native.config.js @@ -0,0 +1,11 @@ +module.exports = { + dependency: { + platforms: { + android: { + packageImportPath: 'import fr.michaelvilleneuve.customcrop.RNCustomCropPackage;', + packageInstance: 'new RNCustomCropPackage()', + }, + }, + }, + }; + \ No newline at end of file From bc79e43ba0a85a546379c98155762d930f28ec75 Mon Sep 17 00:00:00 2001 From: Christian Beelte Date: Mon, 6 Apr 2020 11:44:53 +0200 Subject: [PATCH 2/2] Removed flexbox layout --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 5776deb..c2c3b3c 100644 --- a/index.js +++ b/index.js @@ -159,7 +159,7 @@ class CustomCrop extends Component { return (