Prerequisites

Follow the prerequisites section from the mindlogger repo, you need Xcode, Cocoapods, etc. You can skip Android, JavaSDK, and running app services locally

Repo: https://github.com/ChildMindInstitute/mindlogger-app-refactor/tree/feat/M2-7443

Branch: feat/M2-7443-unity-item

Note: You can use the Dev Environment (API, Admin, Web) to reduce the local setup required. The .env.dev example below is pointing to the dev API.

RN Unity library: https://github.com/azesmway/react-native-unity

Video: https://www.loom.com/share/d09fa23d30de45f386e6444536846b72

Unity Framework build:

Admin Panel setup

DEV Admin

Video: https://www.loom.com/share/8c9763316ac14873a67e54221c526565?sid=3074d616-9074-494c-a7c8-2cf6fb52037b

React-Native setup

Edit your .env.dev before beginning

API_URL=https://api-dev.cmiml.net
STORE_ENCRYPTION_KEY=aa11bb22cc33
APP_VERSION=0.0.1
ENV=dev
DEEP_LINK_PREFIX=https://web-dev.cmiml.net
LAUNCHDARKLY_MOBILE_KEY=mob-1a2b3c-1234-abcd-8c60-11aa22bb33cc

Xcode Build:

Around 5:00 in the video

1.png

CleanShot 2024-10-08 at 14.05.50.png

CleanShot 2024-10-08 at 14.07.11.png

CleanShot 2024-10-08 at 14.05.50 2.png

Retrieving logs with iExplorer

Video: https://www.loom.com/share/662e3a22510d4c4bb64df409ba56b4eb?sid=1e4d09e8-a79b-4a65-9f94-468fd9ab1906