- capacitor.config.ts: Capacitor config with dark theme, WebSocket support, splash screen, status bar, keyboard plugins - zapstore.yaml: Zapstore publish config with npub identity verification - ZAPSTORE.md: full step-by-step guide (clone → build APK → publish to Zapstore) - package.json: android:init, android:sync, android:open, android:build scripts - App ID: org.skatespots.app Co-authored-by: shakespeare.diy <assistant@shakespeare.diy>
40 lines
1 KiB
TypeScript
40 lines
1 KiB
TypeScript
import type { CapacitorConfig } from '@capacitor/cli';
|
|
|
|
const config: CapacitorConfig = {
|
|
appId: 'org.skatespots.app',
|
|
appName: 'SkateSpots',
|
|
webDir: 'dist',
|
|
server: {
|
|
// In production the app loads from the bundled dist/ — no remote URL
|
|
// androidScheme controls the scheme used for local file loading
|
|
androidScheme: 'https',
|
|
},
|
|
android: {
|
|
// Allow mixed content for Nostr WebSocket connections
|
|
allowMixedContent: true,
|
|
// Capture input for hardware back button
|
|
captureInput: true,
|
|
// Use the app's dark background for the splash
|
|
backgroundColor: '#000000',
|
|
},
|
|
plugins: {
|
|
SplashScreen: {
|
|
launchShowDuration: 1500,
|
|
backgroundColor: '#000000',
|
|
androidSplashResourceName: 'splash',
|
|
androidScaleType: 'CENTER_CROP',
|
|
showSpinner: false,
|
|
},
|
|
StatusBar: {
|
|
style: 'Dark',
|
|
backgroundColor: '#000000',
|
|
},
|
|
Keyboard: {
|
|
resize: 'body',
|
|
style: 'dark',
|
|
resizeOnFullScreen: true,
|
|
},
|
|
},
|
|
};
|
|
|
|
export default config;
|