Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,17 @@ jobs:
environment:
NODE_OPTIONS: "--max-old-space-size=4096"

- run:
name: Build the Project
command: yarn run build

- run:
name: Install AEPSampleApp Dependencies
command: cd apps/AEPSampleApp && yarn install --immutable --network-timeout 300000
no_output_timeout: 20m
environment:
NODE_OPTIONS: "--max-old-space-size=4096"

- run:
name: Build the Project
command: yarn run build

- run:
name: Expo Prebuild
command: cd apps/AEPSampleAppNewArchEnabled && npx expo prebuild
Expand Down Expand Up @@ -172,7 +172,7 @@ jobs:
command: sudo xcode-select -s /Applications/Xcode.app

- node/install:
node-version: '20.19.4'
node-version: '22.12.0'

- run:
name: Enable Corepack
Expand Down
2 changes: 2 additions & 0 deletions apps/AEPSampleApp/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ yarn-error.log

# Temporary files created by Metro to check the health of the file watcher
.metro-health-check*
.metro-build-matrix.log
.metro-build-matrix.pid

# testing
/coverage
2 changes: 1 addition & 1 deletion apps/AEPSampleApp/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import { useState, useEffect, createContext, useContext } from 'react';

const STORAGE_KEY = 'aep_app_id';

const DEFAULT_APP_ID = '';
const DEFAULT_APP_ID = '3149c49c3910/0f12baf27522/launch-0d096c129660-development';

export const AppContext = createContext({
appId: DEFAULT_APP_ID,
Expand Down
16 changes: 16 additions & 0 deletions apps/AEPSampleApp/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,19 @@ plugins {
id("org.jetbrains.kotlin.android") version "2.1.20" apply false
id("com.facebook.react.rootproject")
}

// USE_INTEROP_ROOT for @adobe/react-native-aepoptimize (RN 0.85 / Gradle 9).
// gradle.properties USE_INTEROP_ROOT is toggled by scripts/build-matrix.sh.
def optimizeUseInteropRoot = findProperty("USE_INTEROP_ROOT") ?: "false"

gradle.beforeProject { project ->
if (project.name == "adobe_react-native-aepoptimize") {
project.afterEvaluate {
project.android {
defaultConfig {
buildConfigField "boolean", "USE_INTEROP_ROOT", optimizeUseInteropRoot
}
}
}
}
}
3 changes: 3 additions & 0 deletions apps/AEPSampleApp/android/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ reactNativeArchitectures=armeabi-v7a,arm64-v8a,x86,x86_64
# are providing them.
newArchEnabled=true

# USE_INTEROP_ROOT for @adobe/react-native-aepoptimize (build-matrix.sh toggles this).
USE_INTEROP_ROOT=false

# Use this property to enable or disable the Hermes JS engine.
# If set to false, you will be using JSC instead.
hermesEnabled=true
Expand Down
Loading