Skip to content

Allow the project to be automatically linked #379

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
apply plugin: 'com.android.library'

android {
compileSdkVersion 23
buildToolsVersion "23.0.1"
compileSdkVersion 28
buildToolsVersion "28.0.3"

defaultConfig {
minSdkVersion 16
targetSdkVersion 22
targetSdkVersion 28
versionCode 1
versionName "1.0"
ndk {
Expand Down
10 changes: 1 addition & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,5 @@
"bugs": {
"url": "https://github.com/yamill/react-native-orientation/issues"
},
"homepage": "https://github.com/yamill/react-native-orientation#readme",
"rnpm": {
"android": {
"packageInstance": "new OrientationPackage()"
},
"ios": {
"project": "iOS/RCTOrientation.xcodeproj"
}
}
"homepage": "https://github.com/yamill/react-native-orientation#readme"
}
10 changes: 10 additions & 0 deletions react-native.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
module.exports = {
rnpm: {
"android": {
"packageInstance": "new OrientationPackage()"
},
"ios": {
"project": "iOS/RCTOrientation.xcodeproj"
}
}
};