Skip to content
Merged
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
16 changes: 13 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ orbs:
jobs:
unit-test:
docker:
# Use Node.js 18.x for compatibility with the project dependencies
- image: cimg/node:18.20

steps:
Expand All @@ -26,6 +25,10 @@ jobs:
name: Build the Project
command: yarn run build

- run:
name: Expo Prebuild
command: cd apps/AEPSampleAppNewArchEnabled && npx expo prebuild

- save_cache:
key: yarn-cache-{{ checksum "yarn.lock" }}
paths:
Expand Down Expand Up @@ -53,16 +56,19 @@ jobs:
name: Build the Project
command: yarn run build

- run:
name: Expo Prebuild
command: cd apps/AEPSampleAppNewArchEnabled && npx expo prebuild

- run:
name: Building Android Sample App
command: yarn sampleappnewarchenabled:android:build

environment:
_JAVA_OPTIONS: "-Xmx4096M -XX:MaxMetaspaceSize=512m"

build-sample-app-ios:
macos:
xcode: 15.2 # Specify the Xcode version to use
xcode: 15.2

steps:
- checkout
Expand All @@ -83,6 +89,10 @@ jobs:
name: Build the Project
command: yarn run build

- run:
name: Expo Prebuild
command: cd apps/AEPSampleAppNewArchEnabled && npx expo prebuild

- save_cache:
key: ios-yarn-cache-{{ checksum "yarn.lock" }}
paths:
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ yarn install

##### ios development

> [!NOTE]
> Skip this step if you are developing with Expo.

For iOS development, after installing the plugins from npm, download the pod dependencies by running the following command:

```bash
Expand Down
4 changes: 3 additions & 1 deletion apps/AEPSampleAppNewArchEnabled/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,6 @@ expo-env.d.ts
# @end expo-cli

.idea/*
!/.idea/file_to_keep.xml
!/.idea/file_to_keep.xml# Exclude native builds
android/
ios/
8 changes: 7 additions & 1 deletion apps/AEPSampleAppNewArchEnabled/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ To install **AEPSampleAppNewArchEnabled App**, follow these steps:
> Note: Commands are assuming you're in the root directory of the repository.

```
yarn install && yarn sampleappnewarchenabled:ios:pod:install
yarn install
```

### Build packages
Expand All @@ -43,6 +43,12 @@ yarn install && yarn sampleappnewarchenabled:ios:pod:install
yarn run build
```

### Generate Native Projects

```
yarn sampleappnewarchenabled:expo:prebuild
```

## Get Started

### Add your App Id:
Expand Down
16 changes: 0 additions & 16 deletions apps/AEPSampleAppNewArchEnabled/android/.gitignore

This file was deleted.

201 changes: 0 additions & 201 deletions apps/AEPSampleAppNewArchEnabled/android/app/build.gradle

This file was deleted.

Binary file not shown.
14 changes: 0 additions & 14 deletions apps/AEPSampleAppNewArchEnabled/android/app/proguard-rules.pro

This file was deleted.

This file was deleted.

This file was deleted.

Loading