capacitor.config.json 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. {
  2. "appId": "com.example.app",
  3. "appName": "wallet_app",
  4. "webDir": "dist",
  5. "server": {
  6. "url": "http://192.168.0.59:5173",
  7. "cleartext": true,
  8. "allowNavigation": ["*"]
  9. },
  10. "plugins": {
  11. "SplashScreen": {
  12. "launchShowDuration": 3000,
  13. "launchAutoHide": true,
  14. "backgroundColor": "#ffffffff",
  15. "androidScaleType": "CENTER_CROP",
  16. "showSpinner": false,
  17. "androidSpinnerStyle": "large",
  18. "iosSpinnerStyle": "small",
  19. "spinnerColor": "#999999",
  20. "splashFullScreen": true,
  21. "splashImmersive": true,
  22. "androidSplashResourceName": "splash",
  23. "useDialog": false
  24. },
  25. "CapacitorAssets": {
  26. "iconBackgroundColor": "#ffffff"
  27. }
  28. },
  29. "assets":{
  30. "splash": {
  31. "src": "assets/splash.png",
  32. "android": true,
  33. "ios": true
  34. }
  35. },
  36. "ios": {
  37. "scheme": "App",
  38. "allowsInlineMediaPlayback": true,
  39. "scrollEnabled": true,
  40. "preferredContentMode": "Aspect Fit"
  41. },
  42. "android": {
  43. "allowMixedContent": true,
  44. "useLegacyBridge": true
  45. }
  46. }