My Personal Expo App
  • TypeScript 100%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-11-18 13:18:44 +08:00
assets chore(assets): add app icon and logo images 2026-11-18 09:47:34 +08:00
src/app fix(home): replace list separator with item padding to remove empty gap 2026-11-15 18:55:32 +08:00
.gitignore chore: init expo project 2026-11-13 14:13:08 +08:00
app.json build(config): build arm64 only and enable R6 and resource shrinking 2026-11-18 13:13:47 +08:00
declarations.d.ts feat: add horizontal image carousel with FlashList 2026-11-14 23:42:55 +08:00
eas.json build(eas): add production APK build profile 2026-11-14 23:09:04 +08:00
LICENSE Initial commit 2026-11-13 13:52:05 +08:00
package-lock.json build(config): build arm64 only and enable R6 and resource shrinking 2026-11-18 13:13:47 +08:00
package.json build(config): build arm64 only and enable R6 and resource shrinking 2026-11-18 13:13:47 +08:00
README.md docs: add LogoHub and Expo SplashScreen references 2026-11-18 13:18:44 +08:00
tsconfig.json chore: init expo project 2026-11-13 14:13:08 +08:00

Personal-Expo-App

My Personal Expo App

How To Run This Project

  1. Clone repository
git clone https://bert093cachy.tailf11941.ts.net/bert093/Personal-Expo-App.git
cd Personal-Expo-App
  1. Install package/dependency:
npm i
  1. Run the expo dev server
npx expo start # type "a" to open the app in Android

TechStack & Tools

  • Expo (SDK 58+)
  • React-Native (0.88.1+)
  • Typescript
Klik disini jika ingin install Command line tools dan Platform-Tools
  1. Install Android-Tools
sudo pacman -S android-tools

# Setelah itu cek hasilnya
adb version
  1. Lalu Extract
mkdir -p ~/Android/Sdk/cmdline-tools
unzip ~/Downloads/commandlinetools-linux-*_latest.zip -d ~/Android/Sdk/cmdline-tools

# Lalu copy hasilnya
mv ~/Android/Sdk/cmdline-tools/cmdline-tools ~/Android/Sdk/cmdline-tools/latest

# Kalau manual, foldernya seperti ini
  pwd
/home/username/Android/Sdk/cmdline-tools/latest
  ls -l
drwxr-xr-x    - username 13 Nov 08:25  bin
drwxr-xr-x    - username 13 Nov 08:25  lib
.rwxr-xr-x 102k username  1 Jan  2010  NOTICE.txt
.rwxr-xr-x   86 username  1 Jan  2010  source.properties
  1. Set Environment Variables
# Ini untuk fish shell
set -Ux ANDROID_HOME $HOME/Android/Sdk
fish_add_path $ANDROID_HOME/cmdline-tools/latest/bin $ANDROID_HOME/platform-tools

# Ini untuk bash shell (~/.bashrc)
export ANDROID_HOME=$HOME/Android/Sdk
export PATH=$PATH:$ANDROID_HOME/cmdline-tools/latest/bin:$ANDROID_HOME/platform-tools
  1. Install Platform-Tools
# Di terminal baru ketik ini untuk installnya
sdkmanager "platform-tools"

# Lalu cek hasilnya lagi
adb version
  1. Allow tcp port
sudo ufw allow 8081/tcp # allow port 8081/tcp

sudo ufw delete allow 8081/tcp # Jika ingin hapus

# Setelah itu cek dengan
sudo ufw status
Klik disini jika ingin build apk dengan eas-cli
  1. Install latest EAS CLI
npm install --global eas-cli
  1. Log in dengan Expo Account
eas login
  1. Configure projectnya
eas build:configure # Ikuti langkah-langkah yang diminta sampai selesai
  1. Ubah eas.json
// Tambahkan di bagian android buildType
{
  "cli": {
    "version": ">= 27.9.0",
    "appVersionSource": "remote"
  },
  "build": {
    "development": {
      "developmentClient": true,
      "distribution": "internal"
    },
    "preview": {
      "distribution": "internal",
      "android": {
        "buildType": "apk"
      }
    },
    "production": {
      "autoIncrement": true
    }
  },
  "submit": {
    "production": {}
  }
}
  1. Build apk
eas build -p android -e preview # Nantinya tekan "y" untuk buat baru keystorenya jika diperlukan (otomatis dibuatkan)

# Terbaru
eas build -p android -e production-apk
  1. Submit (optional)
eas submit # Cara ini akan submit appnya ke appstore. Saya belum mencobanya.

References

LogoHub

React Native

react-native-safe-area-context

Expo Docs

@expo-google-fonts/geist