Compare commits
2 Commits
62564e43f9
...
7821ec13bd
Author | SHA1 | Date | |
---|---|---|---|
![]() |
7821ec13bd | ||
![]() |
35a7ede217 |
@ -136,6 +136,7 @@ RUN apt-get update \
|
||||
&& DEBIAN_FRONTEND=noninteractive apt-get install -y \
|
||||
nano \
|
||||
openssh-client \
|
||||
less \
|
||||
&& apt-get clean \
|
||||
&& rm -rf /var/lib/apt/lists/{apt,dpkg,cache,log}
|
||||
|
||||
|
46
README.md
46
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
|
||||
```
|
||||
```
|
||||
|
||||
# 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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user