forked from dotintent/react-native-ble-plx
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
integration-tests/patches/rn-0.59.3/0001-minSdkVersion-bump.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/integration-tests/Setup/android/build.gradle b/integration-tests/Setup/android/build.gradle | ||
index c6e7c7c..24b752a 100644 | ||
--- a/integration-tests/Setup/android/build.gradle | ||
+++ b/integration-tests/Setup/android/build.gradle | ||
@@ -3,7 +3,7 @@ | ||
buildscript { | ||
ext { | ||
buildToolsVersion = "28.0.3" | ||
- minSdkVersion = 16 | ||
+ minSdkVersion = 18 | ||
compileSdkVersion = 28 | ||
targetSdkVersion = 28 | ||
supportLibVersion = "28.0.0" |
23 changes: 23 additions & 0 deletions
23
integration-tests/patches/rn-0.59.3/0002-gradle-espresso-config.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
diff --git a/integration-tests/Setup/android/app/build.gradle b/integration-tests/Setup/android/app/build.gradle | ||
index 1f01fa3..207d72c 100644 | ||
--- a/integration-tests/Setup/android/app/build.gradle | ||
+++ b/integration-tests/Setup/android/app/build.gradle | ||
@@ -103,6 +103,7 @@ android { | ||
targetSdkVersion rootProject.ext.targetSdkVersion | ||
versionCode 1 | ||
versionName "1.0" | ||
+ testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" | ||
} | ||
splits { | ||
abi { | ||
@@ -138,6 +139,10 @@ dependencies { | ||
implementation fileTree(dir: "libs", include: ["*.jar"]) | ||
implementation "com.android.support:appcompat-v7:${rootProject.ext.supportLibVersion}" | ||
implementation "com.facebook.react:react-native:+" // From node_modules | ||
+ testImplementation 'junit:junit:4.12' | ||
+ androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0' | ||
+ androidTestImplementation 'androidx.test:runner:1.1.0' | ||
+ androidTestImplementation 'androidx.test:rules:1.1.0' | ||
} | ||
|
||
// Run this once to be able to run the application with BUCK |