diff --git a/.github/workflows/e2e-android.yml b/.github/workflows/e2e-android.yml new file mode 100644 index 0000000..e69de29 diff --git a/.github/workflows/e2e-ios.yml b/.github/workflows/e2e-ios.yml deleted file mode 100644 index 326abdb..0000000 --- a/.github/workflows/e2e-ios.yml +++ /dev/null @@ -1,68 +0,0 @@ -# .github/workflows/e2e-ios.yml -name: e2e-ios -on: push - -jobs: - e2e-ios: - runs-on: macos-latest - steps: - - name: Checkout repository - uses: actions/checkout@v3 - - - name: Setup Node.js - uses: actions/setup-node@v3 - - - name: install deps - run: npm i --force - - - name: Install macOS dependencies - run: | - brew tap wix/brew - brew install applesimutils - env: - HOMEBREW_NO_AUTO_UPDATE: 1 - HOMEBREW_NO_INSTALL_CLEANUP: 1 - - - name: Setup Ruby - uses: ruby/setup-ruby@v1 - with: - ruby-version: '2.6.0' - bundler-cache: true - - - name: Cache CocoaPods - id: cache-cocoapods - uses: actions/cache@v3 - with: - path: ios/Pods - key: ${{ runner.os }}-pods-${{ hashFiles('ios/Podfile.lock') }} - restore-keys: | - ${{ runner.os }}-pods- - - - name: Install CocoaPods - if: steps.cache-cocoapods.outputs.cache-hit != 'true' - run: npm i --force; cd test/ios ; pod install --verbose - - - name: Detox rebuild framework cache - run: npx detox rebuild-framework-cache - - - name: Cache Detox build - id: cache-detox-build - uses: actions/cache@v3 - with: - path: test/ios/build - key: ${{ runner.os }}-detox-build - restore-keys: | - ${{ runner.os }}-detox-build - - - name: Detox build - run: npx detox build --configuration ios.sim.debug - - - name: Detox test - run: npx detox test --configuration ios.sim.debug --cleanup --headless --record-logs all - - - name: Upload artifacts - if: failure() - uses: actions/upload-artifact@v3 - with: - name: detox-artifacts - path: artifacts diff --git a/test/android/.gradle/8.0.1/checksums/checksums.lock b/test/android/.gradle/8.0.1/checksums/checksums.lock new file mode 100644 index 0000000..7f092fa Binary files /dev/null and b/test/android/.gradle/8.0.1/checksums/checksums.lock differ diff --git a/test/android/.gradle/8.0.1/checksums/md5-checksums.bin b/test/android/.gradle/8.0.1/checksums/md5-checksums.bin new file mode 100644 index 0000000..e543488 Binary files /dev/null and b/test/android/.gradle/8.0.1/checksums/md5-checksums.bin differ diff --git a/test/android/.gradle/8.0.1/checksums/sha1-checksums.bin b/test/android/.gradle/8.0.1/checksums/sha1-checksums.bin new file mode 100644 index 0000000..9ae4cc0 Binary files /dev/null and b/test/android/.gradle/8.0.1/checksums/sha1-checksums.bin differ diff --git a/test/android/.gradle/8.0.1/dependencies-accessors/423f0288fa7dffe069445ffa4b72952b4629a15a/classes/org/gradle/accessors/dm/LibrariesForLibs$AndroidGradleLibraryAccessors.class b/test/android/.gradle/8.0.1/dependencies-accessors/423f0288fa7dffe069445ffa4b72952b4629a15a/classes/org/gradle/accessors/dm/LibrariesForLibs$AndroidGradleLibraryAccessors.class new file mode 100644 index 0000000..5fb4561 Binary files /dev/null and b/test/android/.gradle/8.0.1/dependencies-accessors/423f0288fa7dffe069445ffa4b72952b4629a15a/classes/org/gradle/accessors/dm/LibrariesForLibs$AndroidGradleLibraryAccessors.class differ diff --git a/test/android/.gradle/8.0.1/dependencies-accessors/423f0288fa7dffe069445ffa4b72952b4629a15a/classes/org/gradle/accessors/dm/LibrariesForLibs$AndroidLibraryAccessors.class b/test/android/.gradle/8.0.1/dependencies-accessors/423f0288fa7dffe069445ffa4b72952b4629a15a/classes/org/gradle/accessors/dm/LibrariesForLibs$AndroidLibraryAccessors.class new file mode 100644 index 0000000..0d8bce1 Binary files /dev/null and b/test/android/.gradle/8.0.1/dependencies-accessors/423f0288fa7dffe069445ffa4b72952b4629a15a/classes/org/gradle/accessors/dm/LibrariesForLibs$AndroidLibraryAccessors.class differ diff --git a/test/android/.gradle/8.0.1/dependencies-accessors/423f0288fa7dffe069445ffa4b72952b4629a15a/classes/org/gradle/accessors/dm/LibrariesForLibs$BundleAccessors.class b/test/android/.gradle/8.0.1/dependencies-accessors/423f0288fa7dffe069445ffa4b72952b4629a15a/classes/org/gradle/accessors/dm/LibrariesForLibs$BundleAccessors.class new file mode 100644 index 0000000..f4c3655 Binary files /dev/null and b/test/android/.gradle/8.0.1/dependencies-accessors/423f0288fa7dffe069445ffa4b72952b4629a15a/classes/org/gradle/accessors/dm/LibrariesForLibs$BundleAccessors.class differ diff --git a/test/android/.gradle/8.0.1/dependencies-accessors/423f0288fa7dffe069445ffa4b72952b4629a15a/classes/org/gradle/accessors/dm/LibrariesForLibs$KotlinGradleLibraryAccessors.class b/test/android/.gradle/8.0.1/dependencies-accessors/423f0288fa7dffe069445ffa4b72952b4629a15a/classes/org/gradle/accessors/dm/LibrariesForLibs$KotlinGradleLibraryAccessors.class new file mode 100644 index 0000000..c99904d Binary files /dev/null and b/test/android/.gradle/8.0.1/dependencies-accessors/423f0288fa7dffe069445ffa4b72952b4629a15a/classes/org/gradle/accessors/dm/LibrariesForLibs$KotlinGradleLibraryAccessors.class differ diff --git a/test/android/.gradle/8.0.1/dependencies-accessors/423f0288fa7dffe069445ffa4b72952b4629a15a/classes/org/gradle/accessors/dm/LibrariesForLibs$KotlinLibraryAccessors.class b/test/android/.gradle/8.0.1/dependencies-accessors/423f0288fa7dffe069445ffa4b72952b4629a15a/classes/org/gradle/accessors/dm/LibrariesForLibs$KotlinLibraryAccessors.class new file mode 100644 index 0000000..ea39931 Binary files /dev/null and b/test/android/.gradle/8.0.1/dependencies-accessors/423f0288fa7dffe069445ffa4b72952b4629a15a/classes/org/gradle/accessors/dm/LibrariesForLibs$KotlinLibraryAccessors.class differ diff --git a/test/android/.gradle/8.0.1/dependencies-accessors/423f0288fa7dffe069445ffa4b72952b4629a15a/classes/org/gradle/accessors/dm/LibrariesForLibs$KotlinPluginAccessors.class b/test/android/.gradle/8.0.1/dependencies-accessors/423f0288fa7dffe069445ffa4b72952b4629a15a/classes/org/gradle/accessors/dm/LibrariesForLibs$KotlinPluginAccessors.class new file mode 100644 index 0000000..8effe37 Binary files /dev/null and b/test/android/.gradle/8.0.1/dependencies-accessors/423f0288fa7dffe069445ffa4b72952b4629a15a/classes/org/gradle/accessors/dm/LibrariesForLibs$KotlinPluginAccessors.class differ diff --git a/test/android/.gradle/8.0.1/dependencies-accessors/423f0288fa7dffe069445ffa4b72952b4629a15a/classes/org/gradle/accessors/dm/LibrariesForLibs$PluginAccessors.class b/test/android/.gradle/8.0.1/dependencies-accessors/423f0288fa7dffe069445ffa4b72952b4629a15a/classes/org/gradle/accessors/dm/LibrariesForLibs$PluginAccessors.class new file mode 100644 index 0000000..bdc5c5b Binary files /dev/null and b/test/android/.gradle/8.0.1/dependencies-accessors/423f0288fa7dffe069445ffa4b72952b4629a15a/classes/org/gradle/accessors/dm/LibrariesForLibs$PluginAccessors.class differ diff --git a/test/android/.gradle/8.0.1/dependencies-accessors/423f0288fa7dffe069445ffa4b72952b4629a15a/classes/org/gradle/accessors/dm/LibrariesForLibs$VersionAccessors.class b/test/android/.gradle/8.0.1/dependencies-accessors/423f0288fa7dffe069445ffa4b72952b4629a15a/classes/org/gradle/accessors/dm/LibrariesForLibs$VersionAccessors.class new file mode 100644 index 0000000..bb2e9e1 Binary files /dev/null and b/test/android/.gradle/8.0.1/dependencies-accessors/423f0288fa7dffe069445ffa4b72952b4629a15a/classes/org/gradle/accessors/dm/LibrariesForLibs$VersionAccessors.class differ diff --git a/test/android/.gradle/8.0.1/dependencies-accessors/423f0288fa7dffe069445ffa4b72952b4629a15a/classes/org/gradle/accessors/dm/LibrariesForLibs.class b/test/android/.gradle/8.0.1/dependencies-accessors/423f0288fa7dffe069445ffa4b72952b4629a15a/classes/org/gradle/accessors/dm/LibrariesForLibs.class new file mode 100644 index 0000000..be6ed45 Binary files /dev/null and b/test/android/.gradle/8.0.1/dependencies-accessors/423f0288fa7dffe069445ffa4b72952b4629a15a/classes/org/gradle/accessors/dm/LibrariesForLibs.class differ diff --git a/test/android/.gradle/8.0.1/dependencies-accessors/423f0288fa7dffe069445ffa4b72952b4629a15a/sources/org/gradle/accessors/dm/LibrariesForLibs.java b/test/android/.gradle/8.0.1/dependencies-accessors/423f0288fa7dffe069445ffa4b72952b4629a15a/sources/org/gradle/accessors/dm/LibrariesForLibs.java new file mode 100644 index 0000000..5a16ebc --- /dev/null +++ b/test/android/.gradle/8.0.1/dependencies-accessors/423f0288fa7dffe069445ffa4b72952b4629a15a/sources/org/gradle/accessors/dm/LibrariesForLibs.java @@ -0,0 +1,217 @@ +package org.gradle.accessors.dm; + +import org.gradle.api.NonNullApi; +import org.gradle.api.artifacts.MinimalExternalModuleDependency; +import org.gradle.plugin.use.PluginDependency; +import org.gradle.api.artifacts.ExternalModuleDependencyBundle; +import org.gradle.api.artifacts.MutableVersionConstraint; +import org.gradle.api.provider.Provider; +import org.gradle.api.model.ObjectFactory; +import org.gradle.api.provider.ProviderFactory; +import org.gradle.api.internal.catalog.AbstractExternalDependencyFactory; +import org.gradle.api.internal.catalog.DefaultVersionCatalog; +import java.util.Map; +import org.gradle.api.internal.attributes.ImmutableAttributesFactory; +import org.gradle.api.internal.artifacts.dsl.CapabilityNotationParser; +import javax.inject.Inject; + +/** + * A catalog of dependencies accessible via the `libs` extension. +*/ +@NonNullApi +public class LibrariesForLibs extends AbstractExternalDependencyFactory { + + private final AbstractExternalDependencyFactory owner = this; + private final AndroidLibraryAccessors laccForAndroidLibraryAccessors = new AndroidLibraryAccessors(owner); + private final KotlinLibraryAccessors laccForKotlinLibraryAccessors = new KotlinLibraryAccessors(owner); + private final VersionAccessors vaccForVersionAccessors = new VersionAccessors(providers, config); + private final BundleAccessors baccForBundleAccessors = new BundleAccessors(objects, providers, config, attributesFactory, capabilityNotationParser); + private final PluginAccessors paccForPluginAccessors = new PluginAccessors(providers, config); + + @Inject + public LibrariesForLibs(DefaultVersionCatalog config, ProviderFactory providers, ObjectFactory objects, ImmutableAttributesFactory attributesFactory, CapabilityNotationParser capabilityNotationParser) { + super(config, providers, objects, attributesFactory, capabilityNotationParser); + } + + /** + * Creates a dependency provider for gson (com.google.code.gson:gson) + * This dependency was declared in catalog libs.versions.toml + */ + public Provider getGson() { return create("gson"); } + + /** + * Creates a dependency provider for guava (com.google.guava:guava) + * This dependency was declared in catalog libs.versions.toml + */ + public Provider getGuava() { return create("guava"); } + + /** + * Creates a dependency provider for javapoet (com.squareup:javapoet) + * This dependency was declared in catalog libs.versions.toml + */ + public Provider getJavapoet() { return create("javapoet"); } + + /** + * Creates a dependency provider for junit (junit:junit) + * This dependency was declared in catalog libs.versions.toml + */ + public Provider getJunit() { return create("junit"); } + + /** + * Returns the group of libraries at android + */ + public AndroidLibraryAccessors getAndroid() { return laccForAndroidLibraryAccessors; } + + /** + * Returns the group of libraries at kotlin + */ + public KotlinLibraryAccessors getKotlin() { return laccForKotlinLibraryAccessors; } + + /** + * Returns the group of versions at versions + */ + public VersionAccessors getVersions() { return vaccForVersionAccessors; } + + /** + * Returns the group of bundles at bundles + */ + public BundleAccessors getBundles() { return baccForBundleAccessors; } + + /** + * Returns the group of plugins at plugins + */ + public PluginAccessors getPlugins() { return paccForPluginAccessors; } + + public static class AndroidLibraryAccessors extends SubDependencyFactory { + private final AndroidGradleLibraryAccessors laccForAndroidGradleLibraryAccessors = new AndroidGradleLibraryAccessors(owner); + + public AndroidLibraryAccessors(AbstractExternalDependencyFactory owner) { super(owner); } + + /** + * Returns the group of libraries at android.gradle + */ + public AndroidGradleLibraryAccessors getGradle() { return laccForAndroidGradleLibraryAccessors; } + + } + + public static class AndroidGradleLibraryAccessors extends SubDependencyFactory { + + public AndroidGradleLibraryAccessors(AbstractExternalDependencyFactory owner) { super(owner); } + + /** + * Creates a dependency provider for plugin (com.android.tools.build:gradle) + * This dependency was declared in catalog libs.versions.toml + */ + public Provider getPlugin() { return create("android.gradle.plugin"); } + + } + + public static class KotlinLibraryAccessors extends SubDependencyFactory { + private final KotlinGradleLibraryAccessors laccForKotlinGradleLibraryAccessors = new KotlinGradleLibraryAccessors(owner); + + public KotlinLibraryAccessors(AbstractExternalDependencyFactory owner) { super(owner); } + + /** + * Returns the group of libraries at kotlin.gradle + */ + public KotlinGradleLibraryAccessors getGradle() { return laccForKotlinGradleLibraryAccessors; } + + } + + public static class KotlinGradleLibraryAccessors extends SubDependencyFactory { + + public KotlinGradleLibraryAccessors(AbstractExternalDependencyFactory owner) { super(owner); } + + /** + * Creates a dependency provider for plugin (org.jetbrains.kotlin:kotlin-gradle-plugin) + * This dependency was declared in catalog libs.versions.toml + */ + public Provider getPlugin() { return create("kotlin.gradle.plugin"); } + + } + + public static class VersionAccessors extends VersionFactory { + + public VersionAccessors(ProviderFactory providers, DefaultVersionCatalog config) { super(providers, config); } + + /** + * Returns the version associated to this alias: agp (8.1.1) + * If the version is a rich version and that its not expressible as a + * single version string, then an empty string is returned. + * This version was declared in catalog libs.versions.toml + */ + public Provider getAgp() { return getVersion("agp"); } + + /** + * Returns the version associated to this alias: gson (2.8.9) + * If the version is a rich version and that its not expressible as a + * single version string, then an empty string is returned. + * This version was declared in catalog libs.versions.toml + */ + public Provider getGson() { return getVersion("gson"); } + + /** + * Returns the version associated to this alias: guava (31.0.1-jre) + * If the version is a rich version and that its not expressible as a + * single version string, then an empty string is returned. + * This version was declared in catalog libs.versions.toml + */ + public Provider getGuava() { return getVersion("guava"); } + + /** + * Returns the version associated to this alias: javapoet (1.13.0) + * If the version is a rich version and that its not expressible as a + * single version string, then an empty string is returned. + * This version was declared in catalog libs.versions.toml + */ + public Provider getJavapoet() { return getVersion("javapoet"); } + + /** + * Returns the version associated to this alias: junit (4.13.2) + * If the version is a rich version and that its not expressible as a + * single version string, then an empty string is returned. + * This version was declared in catalog libs.versions.toml + */ + public Provider getJunit() { return getVersion("junit"); } + + /** + * Returns the version associated to this alias: kotlin (1.8.0) + * If the version is a rich version and that its not expressible as a + * single version string, then an empty string is returned. + * This version was declared in catalog libs.versions.toml + */ + public Provider getKotlin() { return getVersion("kotlin"); } + + } + + public static class BundleAccessors extends BundleFactory { + + public BundleAccessors(ObjectFactory objects, ProviderFactory providers, DefaultVersionCatalog config, ImmutableAttributesFactory attributesFactory, CapabilityNotationParser capabilityNotationParser) { super(objects, providers, config, attributesFactory, capabilityNotationParser); } + + } + + public static class PluginAccessors extends PluginFactory { + private final KotlinPluginAccessors paccForKotlinPluginAccessors = new KotlinPluginAccessors(providers, config); + + public PluginAccessors(ProviderFactory providers, DefaultVersionCatalog config) { super(providers, config); } + + /** + * Returns the group of plugins at plugins.kotlin + */ + public KotlinPluginAccessors getKotlin() { return paccForKotlinPluginAccessors; } + + } + + public static class KotlinPluginAccessors extends PluginFactory { + + public KotlinPluginAccessors(ProviderFactory providers, DefaultVersionCatalog config) { super(providers, config); } + + /** + * Creates a plugin provider for kotlin.jvm to the plugin id 'org.jetbrains.kotlin.jvm' + * This plugin was declared in catalog libs.versions.toml + */ + public Provider getJvm() { return createPlugin("kotlin.jvm"); } + + } + +} diff --git a/test/android/.gradle/8.0.1/dependencies-accessors/dependencies-accessors.lock b/test/android/.gradle/8.0.1/dependencies-accessors/dependencies-accessors.lock new file mode 100644 index 0000000..9c83579 Binary files /dev/null and b/test/android/.gradle/8.0.1/dependencies-accessors/dependencies-accessors.lock differ diff --git a/test/android/.gradle/8.0.1/dependencies-accessors/executionHistory.bin b/test/android/.gradle/8.0.1/dependencies-accessors/executionHistory.bin new file mode 100644 index 0000000..14c0412 Binary files /dev/null and b/test/android/.gradle/8.0.1/dependencies-accessors/executionHistory.bin differ diff --git a/test/android/.gradle/8.0.1/dependencies-accessors/gc.properties b/test/android/.gradle/8.0.1/dependencies-accessors/gc.properties new file mode 100644 index 0000000..e69de29 diff --git a/test/android/.gradle/8.0.1/executionHistory/executionHistory.bin b/test/android/.gradle/8.0.1/executionHistory/executionHistory.bin new file mode 100644 index 0000000..a75f610 Binary files /dev/null and b/test/android/.gradle/8.0.1/executionHistory/executionHistory.bin differ diff --git a/test/android/.gradle/8.0.1/executionHistory/executionHistory.lock b/test/android/.gradle/8.0.1/executionHistory/executionHistory.lock new file mode 100644 index 0000000..ba482e6 Binary files /dev/null and b/test/android/.gradle/8.0.1/executionHistory/executionHistory.lock differ diff --git a/test/android/.gradle/8.0.1/fileChanges/last-build.bin b/test/android/.gradle/8.0.1/fileChanges/last-build.bin new file mode 100644 index 0000000..f76dd23 Binary files /dev/null and b/test/android/.gradle/8.0.1/fileChanges/last-build.bin differ diff --git a/test/android/.gradle/8.0.1/fileHashes/fileHashes.bin b/test/android/.gradle/8.0.1/fileHashes/fileHashes.bin new file mode 100644 index 0000000..c7c89ae Binary files /dev/null and b/test/android/.gradle/8.0.1/fileHashes/fileHashes.bin differ diff --git a/test/android/.gradle/8.0.1/fileHashes/fileHashes.lock b/test/android/.gradle/8.0.1/fileHashes/fileHashes.lock new file mode 100644 index 0000000..993cd4a Binary files /dev/null and b/test/android/.gradle/8.0.1/fileHashes/fileHashes.lock differ diff --git a/test/android/.gradle/8.0.1/fileHashes/resourceHashesCache.bin b/test/android/.gradle/8.0.1/fileHashes/resourceHashesCache.bin new file mode 100644 index 0000000..d5bd4a1 Binary files /dev/null and b/test/android/.gradle/8.0.1/fileHashes/resourceHashesCache.bin differ diff --git a/test/android/.gradle/8.0.1/gc.properties b/test/android/.gradle/8.0.1/gc.properties new file mode 100644 index 0000000..e69de29 diff --git a/test/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock b/test/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock new file mode 100644 index 0000000..aa25803 Binary files /dev/null and b/test/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock differ diff --git a/test/android/.gradle/buildOutputCleanup/cache.properties b/test/android/.gradle/buildOutputCleanup/cache.properties new file mode 100644 index 0000000..ad09dc6 --- /dev/null +++ b/test/android/.gradle/buildOutputCleanup/cache.properties @@ -0,0 +1,2 @@ +#Wed Feb 14 14:28:07 CET 2024 +gradle.version=8.0.1 diff --git a/test/android/.gradle/buildOutputCleanup/outputFiles.bin b/test/android/.gradle/buildOutputCleanup/outputFiles.bin new file mode 100644 index 0000000..8d8289d Binary files /dev/null and b/test/android/.gradle/buildOutputCleanup/outputFiles.bin differ diff --git a/test/android/.gradle/file-system.probe b/test/android/.gradle/file-system.probe new file mode 100644 index 0000000..93533fd Binary files /dev/null and b/test/android/.gradle/file-system.probe differ diff --git a/test/android/.gradle/vcs-1/gc.properties b/test/android/.gradle/vcs-1/gc.properties new file mode 100644 index 0000000..e69de29 diff --git a/test/codecept.conf.ts b/test/codecept.conf.ts index c89c6ce..5b35eda 100644 --- a/test/codecept.conf.ts +++ b/test/codecept.conf.ts @@ -4,7 +4,7 @@ export const config = { helpers: { Detox: { require: '../Detox.js', - configuration: 'ios.sim.debug', + configuration: 'android.emu.debug', reloadReactNative: true, reuse: true, }, diff --git a/test/package.json b/test/package.json index 8b00930..5beb205 100644 --- a/test/package.json +++ b/test/package.json @@ -26,6 +26,10 @@ "ios.sim.debug": { "device": "simulator", "app": "ios.debug" + }, + "android.emu.debug": { + "device": "emulator", + "app": "android.debug" } }, "apps": { @@ -33,6 +37,11 @@ "type": "ios.app", "binaryPath": "../test/ios/build/Build/Products/Debug-iphonesimulator/MyTestApp.app", "build": "xcodebuild -workspace ../test/ios/MyTestApp.xcworkspace -scheme MyTestApp -configuration Debug -sdk iphonesimulator -derivedDataPath ../test/ios/build" + }, + "android.debug": { + "type": "android.apk", + "binaryPath": "android/app/build/outputs/apk/debug/app-debug.apk", + "build": "cd android && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug" } }, "devices": { @@ -41,6 +50,12 @@ "device": { "type": "iPhone 15" } + }, + "emulator": { + "type": "android.emulator", + "device": { + "avdName": "Nexus_5X_API_34" + } } } }