Skip to content

Commit d2c8427

Browse files
Merge pull request #35 from priteshrnandgaonkar/update-toolchain
Update toolchain
2 parents 1dfc01f + 49f47c0 commit d2c8427

File tree

9 files changed

+67
-12
lines changed

9 files changed

+67
-12
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/*___Generated_by_IDEA___*/
2+
3+
package com.calldetectionexample;
4+
5+
/* This stub is only used by the IDE. It is NOT the BuildConfig class actually packed into the APK */
6+
public final class BuildConfig {
7+
public final static boolean DEBUG = Boolean.parseBoolean(null);
8+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/*___Generated_by_IDEA___*/
2+
3+
package com.calldetectionexample;
4+
5+
/* This stub is only used by the IDE. It is NOT the Manifest class actually packed into the APK */
6+
public final class Manifest {
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/*___Generated_by_IDEA___*/
2+
3+
package com.calldetectionexample;
4+
5+
/* This stub is only used by the IDE. It is NOT the R class actually packed into the APK */
6+
public final class R {
7+
}

android/build.gradle

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,29 @@
11
apply plugin: 'com.android.library'
22

3+
def DEFAULT_COMPILE_SDK_VERSION = 28
4+
def DEFAULT_BUILD_TOOLS_VERSION = "28.0.3"
5+
def DEFAULT_TARGET_SDK_VERSION = 27
6+
7+
def safeExtGet(prop, fallback) {
8+
rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
9+
}
10+
311
android {
4-
compileSdkVersion 23
5-
buildToolsVersion "23.0.1"
12+
compileSdkVersion safeExtGet('compileSdkVersion', DEFAULT_COMPILE_SDK_VERSION)
13+
buildToolsVersion safeExtGet('buildToolsVersion', DEFAULT_BUILD_TOOLS_VERSION)
614

715
defaultConfig {
816
minSdkVersion 16
9-
targetSdkVersion 22
17+
targetSdkVersion safeExtGet('targetSdkVersion', DEFAULT_TARGET_SDK_VERSION)
1018
versionCode 1
1119
versionName "1.0"
12-
13-
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
14-
1520
}
16-
buildTypes {
17-
release {
18-
minifyEnabled false
19-
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
20-
}
21+
}
22+
23+
repositories{
24+
jcenter()
25+
maven {
26+
url './libs'
2127
}
2228
}
2329

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/*___Generated_by_IDEA___*/
2+
3+
package com.pritesh.calldetection;
4+
5+
/* This stub is only used by the IDE. It is NOT the BuildConfig class actually packed into the APK */
6+
public final class BuildConfig {
7+
public final static boolean DEBUG = Boolean.parseBoolean(null);
8+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/*___Generated_by_IDEA___*/
2+
3+
package com.pritesh.calldetection;
4+
5+
/* This stub is only used by the IDE. It is NOT the Manifest class actually packed into the APK */
6+
public final class Manifest {
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/*___Generated_by_IDEA___*/
2+
3+
package com.pritesh.calldetection;
4+
5+
/* This stub is only used by the IDE. It is NOT the R class actually packed into the APK */
6+
public final class R {
7+
}

package-lock.json

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-call-detection",
3-
"version": "1.8.0",
3+
"version": "1.8.1",
44
"description": "Get different phone call states for iOS and Android along with incoming phone number(just for android)",
55
"main": "index.js",
66
"repository": {

0 commit comments

Comments
 (0)