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"
```
# 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
```
# 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.