Skip to content

Commit d783b4c

Browse files
Merge pull request #15 from ModusCreateOrg/ADE-100
[ADE-100] - Add iOS support and status bar configuration
2 parents c348bea + 289abbe commit d783b4c

File tree

23 files changed

+800
-28
lines changed

23 files changed

+800
-28
lines changed

frontend/capacitor.config.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,20 @@ const config: CapacitorConfig = {
44
appId: 'net.leanstacks.ionic8',
55
appName: 'Ionic Playground 8',
66
webDir: 'dist',
7+
plugins: {
8+
StatusBar: {
9+
style: 'light',
10+
overlaysWebView: true,
11+
backgroundColor: '#4765ff'
12+
}
13+
},
14+
ios: {
15+
contentInset: 'automatic'
16+
},
17+
android: {
18+
// Handle status bar color/transparency on Android
19+
backgroundColor: '#4765ff'
20+
}
721
};
822

923
export default config;

frontend/ios/.gitignore

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
App/build
2+
App/Pods
3+
App/output
4+
App/App/public
5+
DerivedData
6+
xcuserdata
7+
8+
# Cordova plugins for Capacitor
9+
capacitor-cordova-ios-plugins
10+
11+
# Generated Config files
12+
App/App/capacitor.config.json
13+
App/App/config.xml

0 commit comments

Comments
 (0)