@capgo/capacitor-navigation-bar 8.2.10 → 8.2.11
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
CHANGED
|
@@ -1,13 +1,27 @@
|
|
|
1
|
-
|
|
1
|
+
# capacitor-navigation-bar
|
|
2
|
+
|
|
3
|
+
Control the Android navigation bar from your Capacitor app: set its color and button style, make it transparent, or hide it for immersive screens.
|
|
4
|
+
|
|
5
|
+
<a href="https://capgo.app/?ref=plugin_navigation_bar"><img src="https://capgo.app/readme-banner.svg?repo=Cap-go/capacitor-navigation-bar" alt="Capgo - Instant updates for Capacitor" /></a>
|
|
2
6
|
|
|
3
7
|
<div align="center">
|
|
4
|
-
<
|
|
5
|
-
<h2><a href="https://capgo.app/
|
|
8
|
+
<p><b>Capgo</b>: open-source live updates for Ionic and Capacitor apps. Ship OTA fixes and features instantly, without waiting for app store review.</p>
|
|
9
|
+
<h2><a href="https://capgo.app/register/?ref=plugin_navigation_bar">➡️ Get started for free</a></h2>
|
|
10
|
+
<p>14-day unlimited free trial. No credit card required</p>
|
|
11
|
+
<p><a href="https://capgo.app/consulting/?ref=plugin_navigation_bar">Missing a feature? We'll build the plugin for you 💪</a></p>
|
|
6
12
|
</div>
|
|
7
13
|
|
|
8
|
-
|
|
14
|
+
<p align="center">
|
|
15
|
+
<img src="https://raw.githubusercontent.com/Cap-go/capacitor-navigation-bar/main/assets/github-social-preview.png" alt="@capgo/capacitor-navigation-bar for Capacitor apps" width="300" />
|
|
16
|
+
</p>
|
|
17
|
+
|
|
18
|
+
## Key features
|
|
9
19
|
|
|
10
|
-
|
|
20
|
+
- **Color**: `setNavigationBarColor()` sets the bar color, including `transparent`, and light or dark buttons.
|
|
21
|
+
- **Read state**: `getNavigationBarColor()` returns the current color and button theme.
|
|
22
|
+
- **Hide and show**: `hide()` and `show()` for fullscreen content.
|
|
23
|
+
- **Config defaults**: set `color`, `dividerColor` and `style` in `capacitor.config` to apply them at launch.
|
|
24
|
+
- **Platforms**: Android. Android only. iOS rejects the calls, and web only logs them.
|
|
11
25
|
|
|
12
26
|
## Documentation
|
|
13
27
|
|
package/android/src/main/java/ee/forgr/capacitor_navigation_bar/CapgoNavigationBarPlugin.java
CHANGED
|
@@ -26,7 +26,7 @@ public class CapgoNavigationBarPlugin extends Plugin {
|
|
|
26
26
|
private static final String TAG = "NavigationBar";
|
|
27
27
|
private static final String TRANSPARENT = "transparent";
|
|
28
28
|
|
|
29
|
-
private final String pluginVersion = "8.2.
|
|
29
|
+
private final String pluginVersion = "8.2.11";
|
|
30
30
|
|
|
31
31
|
@Override
|
|
32
32
|
public void load() {
|
|
@@ -7,7 +7,7 @@ import Capacitor
|
|
|
7
7
|
*/
|
|
8
8
|
@objc(CapgoNavigationBarPlugin)
|
|
9
9
|
public class CapgoNavigationBarPlugin: CAPPlugin, CAPBridgedPlugin {
|
|
10
|
-
private let pluginVersion: String = "8.2.
|
|
10
|
+
private let pluginVersion: String = "8.2.11"
|
|
11
11
|
public let identifier = "CapgoNavigationBarPlugin"
|
|
12
12
|
public let jsName = "NavigationBar"
|
|
13
13
|
public let pluginMethods: [CAPPluginMethod] = [
|
package/package.json
CHANGED