This template allows you to create native applications for Android and iOS using svelte (v4), tailwind, capacitor, konsta UI, shadcn-svelte.
basic requirements for web development:
for ios development:
Note: iOS 13+ is supported. Xcode 14.1+ is required (see Environment Setup). Capacitor uses WKWebView, not the deprecated UIWebView.
for android development:
Note: API 22+ (Android 5.1 or later) is supported, which represents over 99% of the Android market. Capacitor requires an Android WebView with Chrome version 60 or later. On Android 5-6, and 10+ Capacitor uses the Android System WebView. On Android 7-9, Google Chrome provides the WebView.
first use template or clone or fork this repo:
npx degit crewdevio/svelte-native my-appinstall all dependencies:
pnpm installstart web project:
pnpm run devcompile the frontend first:
pnpm run buildthen sync the code with ios/android
pnpm run syncrun the project in the emulator:
pnpm run start:ioscompile the frontend first:
pnpm run buildthen sync the code with ios/android
pnpm run syncrun the project in the emulator:
pnpm run start:androidOfficial Platforms
iOS 13+
Android 5.1+ (Requires Chrome WebView 60+)
Modern Web Browsers like: Chrome, Firefox, Safari, Edge
Custom Native iOS Code
Custom Native Android Code
Deploying your Capacitor iOS App to the App Store
Deploying your Capacitor Android App to the Google Play Store
Official Plugins
Capacitor iOS API
Capacitor Android API
Capacitor Web API