Mobile Workstation Setup
This guide is for setting up react native workstations once you already have the standard Elentra ME developer workstation. Please refer to the Getting Started guide if you have not yet done this. https://docs.elentra.org/technical/developers/getting-started

Prerequisites

Node.js

    1.
    Install Node Version Manager (NVM) by executing the following via Terminal:
    1
    curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash
    Copied!
    2.
    Install Node.js using:
    1
    nvm install 10.15.2
    2
    nvm use 10.15.2
    Copied!
    3.
    Ensure that Node.js was installed properly:
    1
    node -v
    Copied!
    4.
    Install Yarn globally:
    1
    npm install -g yarn
    Copied!
    5.
    Install Expo globally:
    1
    yarn global add expo-cli
    Copied!

Getting Started

1
cd ~/Sites
2
git clone [email protected]:ElentraProject/elentra-3x-mobile.git
3
cd elentra-3x-mobile
4
yarn install
5
expo start
Copied!

React Native Debugger

You may also want to install the standalone React Native developer tools and debugger. For more info, please visit: https://reactnative.dev/docs/debugging

Building Releases

1
expo build:android
2
expo build:ios
Copied!

Deploying Releases

Android

Username: [email protected]

Apple

Username: [email protected]

Manually uploading the iOS app

In order to see your app on Testflight, you will first need to submit your .IPA file to Apple using Apple Transporter. In order to do this, there are a few perquisite steps which you may not have followed previously if this is your first app submission to Apple:
    1.
    Install Apple Transporter (required as of Xcode 11.1+): https://apps.apple.com/app/transporter/id1450874784?mt=12
    2.
    Open Transporter and login with your Apple ID and the app specific password generated in step 3 Follow the steps to agree to the necessary terms.
    3.
    Follow the steps to upload your IPA to Apple.

Processing

It will take a while for the application to process. Could be 5 minutes, could be 5 hours... I recommend installing WatchBuild. Once watchbuild is installed simply run:
1
watchbuild -a com.entrada.entradamobile -u [email protected]
Copied!

Submitting

When you submit to the app store, be aware that that the IDFA is collected for use in doing mobile install attribution with destinations like Mobile App Tracking. Even if you’re not currently doing mobile install attribution, if you get asked, “Does this app use the Advertising Identifier (IDFA)?” on this page, you’ll want to check the following three boxes:
    1.
    “Attribute this app installation to a previously served advertisement”
    2.
    “Attribute an action taken within this app to a previously served advertisement”
    3.
    “I, YOUR_NAME, confirm that this app, and any third party…”
Note, you should not check the box labeled “Serve advertisements within the app”.
Last modified 1yr ago