Skip to content

Latest commit

 

History

History
80 lines (53 loc) · 1.48 KB

readme.human.md

File metadata and controls

80 lines (53 loc) · 1.48 KB

What is this

kek

JIRA

  1. Swipe up/down on translation screen instead of modal
  2. View recent translations?

Initial setup

Development install

yarn global add eas-cli
eas build --profile dev --platform ios
eas build:run -p ios # might be needed

Keys

Don't forget to clear cache expo start -c

.env NOTION_SECRET= OPENAI_API_KEY= SPOTIFY_CLIENTID= SPOTIFY_CLIENTSECRET= AZURE_TRANSLATE_KEY=

Usage tools

Deploying keys to EAS

eas secret:create --scope project --name <KEY> --value <value> --type string

Deploying to EAS

Can't remmeber which of these channels works on my phone...

NOTION_SECRET=<...> AZURE_TRANSLATE_KEY=<...> eas update --channel preview

Create new iOS build

Can't remmeber which of these channels works on my phone...

I think I have preview build installed on my phone?

eas build --profile preview --platform ios

Can also push preview update instead

NOTION_SECRET=<...> AZURE_TRANSLATE_KEY=<...> eas update --channel main

Link to vanjacloudjs.shared

yarn dev expects this to be linked. remove LOCAL_BUILD=true if you dont want this

cd ./lib/vanjacloudjs.shared && yarn link && yarn watch
cd ../..
yarn link vanjacloudjs.shared

Damn keys not updating

update: this is unresolved. not sure how to get this to actually load Metro build will pull keys from .env and put them into the dist JS. If you change .env, you will need to clear cache:

expo start --clear