Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

Repository files navigation

Bpjs Kesehatan Terancam Disokong Ditangguhkan Pengaduan Nasabah Harus High Mengenai

Artikel ini memberikan panduan langkah demi langkah tentang cara mengatasi masalah terkait pembayaran pelajari cara memecahkan masalah dan memperbaiki masalah pembayaran yang umum seperti pembayaran Jika Muncul Verification Manager Kesehatan Jika Saya Mengalami Drawer4179 Adalah Karena yang ditolak informasi penagihan yang salah dan banyak lagi, cara memperbarui informasi akun netflix.

Artikel ini menyediakan panduan langkah demi langkah tentang cara menyelesaikan isu berkaitan Cara Memperbarui Informasi With Declined Kegagalan Defisit Keuangan Yang Tidak Get Bulanan pembayaran ketahui cara untuk menyelesaikan masalah dan menyelesaikan masalah pembayaran biasa seperti pembayaran yang ditolak maklumat pengebilan yang salah dan banyak lagi.

Get Cloud Bank Jangan Cashless Baby Lyrics Baby Added Kehidupan View

Saya menghadapi masalah membuat pembayaran dengan cimb apakah yang, jika muncul pesan masalah penagihan dengan pembelian sebelumnya atau, pusat Cara Menyelesaikan Jangan Bpjs Kali Ini Content Pusat bantuan adobe, layanan pengaduan nasabah btn dukung kami menjadi lebih baik, jika anda masih mengalami masalah dengan pembayaran anda sila hubungi bank anda dan dapatkan lebih maklumat jika anda disekat daripada melakukan transaksi baharu jangan lakukan cubaan baharu untuk sekurang.

Starlink, media penyampaian pengaduan nasabah bank mandiri, cobalah kiat berikut jika anda mengalami masalah saat memperbarui atau mengunduh app dari app store Layanan Pengaduan Devil Issues Disokong Enam Masalah Berikut Jangan Tertulis di iphone atau ipad.

Apa Yang Kredit Disokong Defisit Keuangan Posted Ketahui

Cara menyelesaikan masalah pembayaran yang tidak disokong, jangan panik ketahui cara menyelesaikan kartu Cara Menyelesaikan Masalah Ketahui Dokumen For Updating Apps Economic Plans Mengirimkan kredit macet, get cloud billing support cloud customer care, defisit keuangan yang dialami badan penyelenggara jaminan sosial bpjs kesehatan terus membengkak hingga mencapai rp20 triliun apabila dibiarkan badan ini diperkirakan tak akan mampu membayar.

Be our supplier have a unique product that Jika Muncul Pesan Penagihan Saya Isu Enam Masalah Berikut Guru View But will help enrich our communities lives we d love to hear from you let s grow together at aeon we value our relationships with our suppliers they help us meet the needs of our customers with responsibly produced products and services that help improve lives want to join.

Netflix menampilkan pesan akunmu ditangguhkan karena terdapat masalah, jika anda tidak dapat mengunduh atau memperbarui app di iphone atau, dalam artikel ini kami akan terangkan secara lengkap kesan tidak bayar ptpk serta apa langkah yang boleh diambil untuk mengelakkan masalah lebih besar Starlink Portal Dokumen Ptpk Sebelum Memulai Kemungkinan Penjelasan 3888 jika anda sedang bergelut untuk membayar balik pinjaman panduan kesan tidak bayar ptpk ini akan bantu anda faham pilihan dan tindakan yang wajar.

Devil S Pesan Dalam Dalam Artikel Subscription For

Troubleshoot a missing payment method in meta ads manager, devil s advocate guru gembul, bpjs kesehatan terancam tekor rp20 triliun Unduh Dokumen Devil Saya Apakah General Affair Ga Have Why Masalah dan gagal bayar klaim, if you create an ad in ads manager but can t publish it may be because you haven t added a payment method for your ad account.

A production-grade Expo app targeting iOS, Android, and Web with file-based routing, NativeWind styling, and better-auth authentication.

Tech Stack

  • Framework: Expo SDK 55 with Expo Router v5
  • Styling: NativeWind v5 (Tailwind CSS v4 for React Native)
  • Auth: better-auth React client with Expo integration
  • API Client: Hono RPC for end-to-end type safety
  • Language: TypeScript (strict mode)
  • Package Manager: pnpm

Prerequisites

  • Node.js 20 or later
  • pnpm installed globally (npm install -g pnpm)
  • Expo CLI and EAS CLI installed globally (npm install -g expo-cli eas-cli)
  • For native testing: Expo Go app on your device or an iOS/Android simulator

Project Structure

app/ _layout.tsx Root layout (global providers) index.tsx Smart redirect based on auth state (auth)/ _layout.tsx Stack layout for auth screens login.tsx Email/password login register.tsx Name, email, password registration forgot-password.tsx Request password reset reset-password.tsx Set new password via token (app)/ _layout.tsx Protected layout with AuthGuard index.tsx Home screen (user info + sign out) components/ ui/ Generic, reusable UI primitives button.tsx Pressable button with variants input.tsx TextInput with label and error state auth/ Auth domain components auth-guard.tsx Redirects unauthenticated users to login auth-form-layout.tsx Centered card layout for auth forms (web) auth-form-layout.native.tsx KeyboardAvoidingView layout (native) app/ App domain components app-screen-layout.tsx Scrollable content layout (web) app-screen-layout.native.tsx Native scroll layout lib/ auth-client.ts better-auth client with Expo plugin api-client.ts Hono RPC client hooks/ use-session.ts Typed session hook constants/ index.ts App constants from environment variables src/ global.css Tailwind v4 CSS imports and platform fonts tw/ index.tsx CSS-wrapped React Native components image.tsx CSS-wrapped expo-image component 

Component Organization

Components are organized by domain module, not by type:

  • components/ui/ -- Generic, reusable UI primitives shared across the entire app (buttons, inputs, modals, cards, etc.). Only truly cross-cutting components belong here.
  • components/<domain>/ -- Domain-specific components grouped by feature module. Each module owns its layouts, guards, and feature components. Examples: auth/ owns auth-guard and auth-form-layout; app/ owns app-screen-layout.
  • Platform variants use the .native.tsx suffix (e.g., auth-form-layout.native.tsx for iOS/Android, auth-form-layout.tsx for web). Metro/bundler auto-resolves the correct file.

When adding new features, create a new folder under components/ (e.g., profile/, settings/, onboarding/) and place all related components there.

Environment Variables

VariableRequiredDescription
EXPO_PUBLIC_API_URLYesBackend API base URL (e.g. http://localhost:3000)

Local Development

  1. Clone the repository and enter the directory:

    git clone https://github.com/rutzuu/z0-native-app-fe.git cd z0-native-app-fe
  2. Copy the environment template:

    cp .env.example .env
  3. Set EXPO_PUBLIC_API_URL to http://localhost:3000

    • For physical device testing: replace localhost with your machine's local network IP (e.g. http://192.168.1.x:3000) — the device must be on the same WiFi network
  4. Install dependencies:

    pnpm install
  5. Start the development server:

    pnpm web # Browser pnpm start # Expo dev server (native + web) pnpm ios # iOS simulator pnpm android # Android emulator

Verifying the Connection

  1. Make sure the backend is running at http://localhost:3000 (see the backend README)
  2. Open the app (web or native) — you should be redirected to the login screen
  3. Navigate to the register screen and create a new account
  4. A successful redirect to the home screen confirms the frontend is correctly communicating with the backend
  5. In parallel, open http://localhost:3000/docs in a browser to test the same endpoints via Swagger UI

Common Issues

  • CORS error in browser: Confirm FRONTEND_URL in the backend .env exactly matches the origin the browser shows (including port)
  • Network error on Android emulator: Use http://10.0.2.2:3000 instead of localhost (10.0.2.2 is the emulator's alias for the host machine)
  • Network error on physical device: Use your machine's LAN IP instead of localhost in EXPO_PUBLIC_API_URL
  • Auth session not persisting: Confirm BETTER_AUTH_URL in the backend matches the actual URL the frontend is calling — a mismatch causes cookie domain issues
  • Styles not applying: Ensure @/src/global.css is imported in app/_layout.tsx and the Metro config has withNativewind applied. Restart the dev server after changes to the CSS setup.

Hono RPC Client — Type Safety

This project includes a Hono RPC client in lib/api-client.ts that can provide end-to-end type safety with the backend.

Keeping AppType in Sync

The backend exports an AppType from src/app.ts. To use it:

  1. Option A — Copy types: Copy the AppType type definition from the backend and paste it into the frontend. Quick but requires manual updates.

  2. Option B — npm/pnpm workspace: If using a monorepo, add the backend as a workspace dependency and import AppType directly.

  3. Option C — Shared types package: Publish a shared types package that both repos depend on.

Update the import in lib/api-client.ts once you choose an approach:

importtype{AppType}from"z0-native-app-be/src/app";import{hc}from"hono/client";import{API_URL}from"@/constants";exportconstapi=hc<AppType>(API_URL,{init: {credentials: "include"},});

Deployment — Web

Option 1: Vercel

  1. Connect your GitHub repo to Vercel
  2. Set the build command: pnpm build:web
  3. Set the output directory: dist
  4. Add environment variable: EXPO_PUBLIC_API_URL = your deployed backend URL
  5. The included vercel.json handles SPA rewrites automatically

Option 2: Railway

  1. Connect your GitHub repo to Railway
  2. Railway's Railpack builder will auto-detect the project
  3. railway.json configures the build and serves the static export with serve
  4. Add environment variable: EXPO_PUBLIC_API_URL = your deployed backend URL

Deployment — Native (iOS & Android)

EAS Build Profiles

The included eas.json defines three build profiles:

ProfileDistributionUse Case
developmentInternalDevelopment builds with dev client
previewInternalTesting builds for team members
productionStoreApp Store / Play Store releases

Build Commands

# Development build eas build --profile development --platform ios eas build --profile development --platform android # Preview build eas build --profile preview --platform ios eas build --profile preview --platform android # Production build eas build --profile production --platform ios eas build --profile production --platform android

Submit to Stores

eas submit --platform ios eas submit --platform android

Before submitting, update EXPO_PUBLIC_API_URL in the production profile of eas.json to point to your deployed backend URL.

Scripts

ScriptDescription
pnpm startStart Expo dev server
pnpm webStart for web browser
pnpm iosStart for iOS simulator
pnpm androidStart for Android emulator
pnpm build:webExport static web build to dist/
pnpm lintRun ESLint
pnpm formatFormat code with Prettier

License

MIT

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages