diff --git a/CHANGELOG.md b/CHANGELOG.md index 4aa5061f3..494838630 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ## [Unreleased] +- We removed leftover Detox references from the Android build files. This fixes an issue where generating Android APKs would fail due to Detox dependencies not being found. + +## [17.0.2] - 2026-01-12 + - We updated mendix-native to v0.3.1, enabling session cookie persistence and restoration on iOS. ## [17.0.1] - 2025-12-24 diff --git a/android/app/build.gradle b/android/app/build.gradle index cf7b8bdcc..60fb88405 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -137,7 +137,6 @@ dependencies { devImplementation "androidx.constraintlayout:constraintlayout:2.0.4" devImplementation "me.dm7.barcodescanner:zxing:1.9.8" - androidTestImplementation("com.wix:detox:+") { transitive = true } androidTestImplementation "junit:junit:4.12" } diff --git a/android/app/src/androidTest/java/com/mendix/nativetemplate/DetoxTest.java b/android/app/src/androidTest/java/com/mendix/nativetemplate/DetoxTest.java deleted file mode 100644 index 50e292c73..000000000 --- a/android/app/src/androidTest/java/com/mendix/nativetemplate/DetoxTest.java +++ /dev/null @@ -1,29 +0,0 @@ -package com.mendix.nativetemplate; - -import androidx.test.ext.junit.runners.AndroidJUnit4; -import androidx.test.filters.LargeTest; -import androidx.test.rule.ActivityTestRule; - -import com.wix.detox.Detox; -import com.wix.detox.config.DetoxConfig; - -import org.junit.Rule; -import org.junit.Test; -import org.junit.runner.RunWith; - -@RunWith(AndroidJUnit4.class) -@LargeTest -public class DetoxTest { - @Rule - public ActivityTestRule mActivityRule = new ActivityTestRule<>(MainActivity.class, false, false); - - @Test - public void runDetoxTests() { - DetoxConfig detoxConfig = new DetoxConfig(); - detoxConfig.idlePolicyConfig.masterTimeoutSec = 500; - detoxConfig.idlePolicyConfig.idleResourceTimeoutSec = 500; - detoxConfig.rnContextLoadTimeoutSec = 500; - - Detox.runTests(mActivityRule, detoxConfig); - } -} diff --git a/android/build.gradle b/android/build.gradle index 651ea50e6..f37802381 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -63,9 +63,6 @@ allprojects { mavenCentral() } } - maven { - url "$rootDir/../node_modules/detox/Detox-android" - } maven { url "$rootDir/../node_modules/@notifee/react-native/android/libs" }