diff --git a/android/src/main/java/com/heapanalytics/reactnative/RNHeap.java b/android/src/main/java/com/heapanalytics/reactnative/RNHeap.java index e1684b19..4931ab09 100644 --- a/android/src/main/java/com/heapanalytics/reactnative/RNHeap.java +++ b/android/src/main/java/com/heapanalytics/reactnative/RNHeap.java @@ -2,11 +2,13 @@ import android.content.Context; import com.heapanalytics.android.Heap; +import com.heapanalytics.android.config.Options; import com.heapanalytics.android.internal.HeapImpl; public class RNHeap { public static void init(Context context, String appId) { HeapImpl.skipInstrumentorChecks = true; - Heap.init(context, appId); + Options options = new Options().debug(); + Heap.init(context, appId, options); } } diff --git a/integration-tests/drivers/TestDriver073 b/integration-tests/drivers/TestDriver073 new file mode 160000 index 00000000..26456507 --- /dev/null +++ b/integration-tests/drivers/TestDriver073 @@ -0,0 +1 @@ +Subproject commit 26456507a609110ab6afaef8861725581ffba53f diff --git a/integration-tests/test.sh b/integration-tests/test.sh index 64faf80a..1e209b24 100755 --- a/integration-tests/test.sh +++ b/integration-tests/test.sh @@ -28,7 +28,8 @@ set -o nounset set -o pipefail # Life is suffering. -export JAVA_HOME=/Library/Java/JavaVirtualMachines/openjdk-11.jdk/Contents/Home +# export JAVA_HOME=/Library/Java/JavaVirtualMachines/openjdk-11.jdk/Contents/Home +export JAVA_HOME=/Users/andrewyousef/.sdkman/candidates/java/current DRIVER_DIR="${1:-drivers/TestDriver063/}" diff --git a/package-lock.json b/package-lock.json index d9ad3215..99b19682 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@heap/react-native-heap", - "version": "0.22.7", + "version": "0.22.8", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@heap/react-native-heap", - "version": "0.22.7", + "version": "0.22.8", "license": "MIT", "dependencies": { "babel-plugin-add-react-displayname": "0.0.5",