Skip to content
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ build/
.gradle
local.properties
*.iml
.history

# node.js
#
Expand Down
20 changes: 12 additions & 8 deletions android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,23 +1,27 @@
apply plugin: "com.android.library"

def safeExtGet(prop, fallback) {
rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
}

android {
compileSdkVersion 25
buildToolsVersion "25.0.1"
compileSdkVersion safeExtGet("compileSdkVersion", 25)
buildToolsVersion safeExtGet("buildToolsVersion", "25.0.1")

defaultConfig {
minSdkVersion 16
targetSdkVersion 23
minSdkVersion safeExtGet("minSdkVersion", 16)
targetSdkVersion safeExtGet("targetSdkVersion", 23)
versionCode 1
versionName "1.0"
}
}

dependencies {
compile "com.facebook.react:react-native:+" // From node_modules
compile 'com.android.support:customtabs:25.0.1'
compile ('com.github.droibit.customtabslauncher:launcher:1.0.8') {
implementation "com.facebook.react:react-native:${safeExtGet('reactNativeVersion', '+')}"
implementation 'com.android.support:customtabs:25.0.1'
implementation ('com.github.droibit.customtabslauncher:launcher:1.0.8') {
exclude module: 'customtabs'
}

testCompile 'junit:junit:4.12'
testImplementation 'junit:junit:4.12'
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-custom-tabs",
"version": "0.1.7",
"version": "0.1.8",
"description": "Chrome Custom Tabs for React Native.",
"keywords": [
"react-native",
Expand Down