mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-21 15:36:50 -05:00
Wraps the existing PWA mobile web app in a Capacitor iOS shell for publishing to the iOS App Store. Uses the existing 54+ mobile-optimized React components and local-first SQLite storage (via absurd-sql/IndexedDB). Key additions: - packages/mobile/ - New Capacitor workspace with iOS platform - Custom ActualBridgeViewController for WKWebView configuration - CrossOriginIsolationPlugin for SharedArrayBuffer support - Build scripts: yarn build:mobile, yarn mobile:open, yarn mobile:run:ios - iOS deployment target set to 16.0 (required for SAB in WKWebView) - App Transport Security configured for local networking https://claude.ai/code/session_01GAVpnQ21dPw6KJVf5c4f5D
24 lines
561 B
Bash
Executable File
24 lines
561 B
Bash
Executable File
#!/bin/bash -e
|
|
|
|
ROOT=`dirname $0`
|
|
|
|
cd "$ROOT/.."
|
|
|
|
echo "Building web assets for mobile..."
|
|
|
|
# Build the browser version (same assets used by the Capacitor wrapper)
|
|
./bin/package-browser
|
|
|
|
echo "Syncing Capacitor iOS project..."
|
|
cd packages/mobile
|
|
npx cap sync ios
|
|
|
|
echo ""
|
|
echo "iOS project ready at: packages/mobile/ios/App/App.xcworkspace"
|
|
echo ""
|
|
echo "To build for the App Store:"
|
|
echo " 1. Open the project: yarn mobile:open"
|
|
echo " 2. Select your signing team in Xcode"
|
|
echo " 3. Archive: Product > Archive"
|
|
echo " 4. Distribute via App Store Connect"
|