diff --git a/package.json b/package.json index 8fece19..e46e45c 100644 --- a/package.json +++ b/package.json @@ -38,10 +38,5 @@ "moment": ">=2.0.0", "prop-types": "*", "react-native": ">=0.45.0" - }, - "rnpm": { - "android": { - "packageInstance": "new ReactNativeWheelPickerPackage()" - } } } diff --git a/react-native.config.js b/react-native.config.js new file mode 100644 index 0000000..ee33748 --- /dev/null +++ b/react-native.config.js @@ -0,0 +1,8 @@ +module.exports = { + project: { + ios: {}, + android: { + packageInstance: 'new ReactNativeWheelPickerPackage()' + } + }, +};