Mobile UI for Sync for Science Discovery
cp .env.example .env
In .env
, replace EXPO_OWNER
, EXPO_SLUG
, BUNDLE_IDENTIFIER
, CLIENT_ID
with appropriate values:
-
EXPO_OWNER
-- The name of the Expo account that owns the project. This is useful for teams collaborating on a project. -
EXPO_SLUG
-- The friendly URL name for publishing. For example,myAppName
will refer to theexpo.dev/@project-owner/myAppName
project. -
BUNDLE_IDENTIFIER
-- The iOS bundleIdentifier and Android package fields use reverse DNS notation, but don't have to be related to a domain. Replace "com.yourcompany.yourappname" with whatever makes sense for your app: (See also: Build Configuration)android.package will be used as the Android application id which is used to identify your app on the Google Play Store
ios.bundleIdentifier will be used to identify you app on the Apple App Store
-
ENDPOINTS_URL
-- Public URL to a JSON FHIR Bundle whose entries are Endpoint resources. For example: https://open.epic.com/Endpoints/R4 -
CLIENT_ID
-- EHR client id, used for the OAuth2 OpenID Connect launch sequence. (This is a Smart on FHIR "public" app.)
yarn install
yarn start
(Follow instructions in terminal to target a mobile platform)
...Or, on MacOS, automatically launch in iOS simulator:
yarn ios