-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from Ak4zh/master
switch to capacitor.config.ts from capacitor.config.json added cordova-res to change splash screen
- Loading branch information
Showing
11 changed files
with
52 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import { CapacitorConfig } from '@capacitor/cli'; | ||
|
||
const config: CapacitorConfig = { | ||
appId: 'com.svelte.capacitor', // TODO: add your app id | ||
appName: 'Svelte Capacitor', | ||
webDir: 'public', | ||
bundledWebRuntime: false, | ||
plugins: { | ||
"SplashScreen": { | ||
"launchShowDuration": 0 | ||
} | ||
}, | ||
// remove server section before making production build | ||
server: { | ||
// for android only, below settings will work out of the box | ||
// for iOS or both, change the url to http://your-device-ip | ||
// To discover your workstation IP, just run ifconfig | ||
"url": "http://10.0.2.2:5001", | ||
"cleartext": true | ||
} | ||
}; | ||
|
||
export default config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
This file was deleted.
Oops, something went wrong.
Empty file.
This file was deleted.
Oops, something went wrong.
Empty file.
This file was deleted.
Oops, something went wrong.