diff --git a/README.md b/README.md index 72ec27d..f0a5ad8 100644 --- a/README.md +++ b/README.md @@ -116,22 +116,62 @@ avdmanager create avd \ -k "system-images;android-35-ext14;google_apis_playstore;x86_64" ``` +# Emulator + ## Run the emulator Launch the development container + ```bash ./launch.sh eikona ``` -Launch the emulator +Once the emulator is launched (see below), select the device (shift-a) then switch to debug build (s) and finally open the app (a). + +## Launch the emulator ```bash ./shell.sh eikona ./emulator.sh Pixel ``` -Install the app +## Install the app ```bash +./shell.sh eikona ./install.sh debug # or release -- default debug -``` \ No newline at end of file +``` + +# Add a new component + +## Shell in and add component + +```bash +./shell.sh eikona +npx expo install react-pdf-viewer +``` + +### To remove + +```bash +./shell.sh eikona +npm remove react-pdf-viewer +``` + +## Build the app + +While in the shell previously launched, run the 'build' script: + +```bash +./shell.sh eikona +./build.sh debug # release +``` + +# Update the application launcher icon + +Go to https://easyappicon.com/, drag the adaptive-icon.png to the app, reduce +padding to -100%, then save. + +Copy the ic-launcher/android/* files to android/app/src/main/res/ + +Rebuild the application.