capacitor-plugin-status-bar 2.0.13 → 2.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -21
- package/android/src/main/java/com/cap/plugins/statusbar/CapacitorStatusBar.java +308 -457
- package/android/src/main/java/com/cap/plugins/statusbar/CapacitorStatusBarPlugin.java +1 -21
- package/dist/docs.json +0 -40
- package/dist/esm/definitions.d.ts +0 -9
- package/dist/esm/definitions.js.map +1 -1
- package/dist/esm/web.d.ts +1 -2
- package/dist/esm/web.js +0 -3
- package/dist/esm/web.js.map +1 -1
- package/dist/plugin.cjs.js +0 -3
- package/dist/plugin.cjs.js.map +1 -1
- package/dist/plugin.js +0 -3
- package/dist/plugin.js.map +1 -1
- package/ios/Sources/CapacitorStatusBarPlugin/CapacitorStatusBar.swift +173 -78
- package/ios/Sources/CapacitorStatusBarPlugin/CapacitorStatusBarPlugin.swift +18 -21
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -37,7 +37,6 @@ No additional configuration required. The plugin works out of the box on Android
|
|
|
37
37
|
* [`show()`](#show)
|
|
38
38
|
* [`hide()`](#hide)
|
|
39
39
|
* [`setOverlaysWebView(...)`](#setoverlayswebview)
|
|
40
|
-
* [`setBackground(...)`](#setbackground)
|
|
41
40
|
* [`showNavigationBar()`](#shownavigationbar)
|
|
42
41
|
* [`hideNavigationBar()`](#hidenavigationbar)
|
|
43
42
|
* [`getSafeAreaInsets()`](#getsafeareainsets)
|
|
@@ -108,21 +107,6 @@ Set whether the status bar overlays the web view.
|
|
|
108
107
|
--------------------
|
|
109
108
|
|
|
110
109
|
|
|
111
|
-
### setBackground(...)
|
|
112
|
-
|
|
113
|
-
```typescript
|
|
114
|
-
setBackground(options: StatusBarSetBackgroundOptions) => Promise<void>
|
|
115
|
-
```
|
|
116
|
-
|
|
117
|
-
Set the window background color.
|
|
118
|
-
|
|
119
|
-
| Param | Type | Description |
|
|
120
|
-
| ------------- | --------------------------------------------------------------------------------------- | ------------------------------------------------- |
|
|
121
|
-
| **`options`** | <code><a href="#statusbarsetbackgroundoptions">StatusBarSetBackgroundOptions</a></code> | - The options to set the window background color. |
|
|
122
|
-
|
|
123
|
-
--------------------
|
|
124
|
-
|
|
125
|
-
|
|
126
110
|
### showNavigationBar()
|
|
127
111
|
|
|
128
112
|
```typescript
|
|
@@ -194,11 +178,6 @@ Note: Short 3-digit format (#FFF) is NOT supported.
|
|
|
194
178
|
<code>{ value: boolean; }</code>
|
|
195
179
|
|
|
196
180
|
|
|
197
|
-
#### StatusBarSetBackgroundOptions
|
|
198
|
-
|
|
199
|
-
<code>{ color: <a href="#statusbarcolor">StatusBarColor</a>; }</code>
|
|
200
|
-
|
|
201
|
-
|
|
202
181
|
#### SafeAreaInsets
|
|
203
182
|
|
|
204
183
|
<code>{ top: number; bottom: number; left: number; right: number; }</code>
|