summaryrefslogtreecommitdiff
path: root/README.md
blob: 11e2674d1cd9d5c354abe791ae2d382fc7c16a59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Configuration

```
# .env
EXPO_PUBLIC_API_URL=
```

# Set up for android

1. Generate a release key

```
keytool -genkey -v -storetype JKS -keyalg RSA -keysize 2048 -validity 10000 -storepass KEYSTORE_PASSWORD -keypass KEY_PASSWORD -alias cas4 -keystore release.keystore -dname "CN=Santo Cariotti, OU=Unknown, O=Unknown, L=Bologna, ST=Italy, C=IT"
```

2. Build Android app

```
eas build --platform android
```

3. Download the artifact from Expo page

4. Create APKS from the AAB file

```
java -jar bundletool-all-1.17.1.jar build-apks --bundle=application-XXXX.aab --output=cas.apks --mode=universal --ks android/keystores/release.keystore --ks-key-alias=cas4
```