1
0

Misc doc updates

Signed-off-by: James Ketrenos <james.p.ketrenos@intel.com>
This commit is contained in:
James Ketrenos 2025-01-04 15:03:46 -08:00
parent 35a7ede217
commit 7821ec13bd

View File

@ -116,22 +116,62 @@ avdmanager create avd \
-k "system-images;android-35-ext14;google_apis_playstore;x86_64" -k "system-images;android-35-ext14;google_apis_playstore;x86_64"
``` ```
# Emulator
## Run the emulator ## Run the emulator
Launch the development container Launch the development container
```bash ```bash
./launch.sh eikona ./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 ```bash
./shell.sh eikona ./shell.sh eikona
./emulator.sh Pixel ./emulator.sh Pixel
``` ```
Install the app ## Install the app
```bash ```bash
./shell.sh eikona
./install.sh debug # or release -- default debug ./install.sh debug # or release -- default debug
``` ```
# 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.