Skip to content

Commit

Permalink
Fix rnpm deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathias committed Sep 17, 2019
1 parent ce758a7 commit 6ad1932
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
5 changes: 0 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,5 @@
"moment": ">=2.0.0",
"prop-types": "*",
"react-native": ">=0.45.0"
},
"rnpm": {
"android": {
"packageInstance": "new ReactNativeWheelPickerPackage()"
}
}
}
8 changes: 8 additions & 0 deletions react-native.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
module.exports = {
project: {
ios: {},
android: {
packageInstance: 'new ReactNativeWheelPickerPackage()'
}
},
};

0 comments on commit 6ad1932

Please sign in to comment.