Colored Browser Tabs
This plugin opens Chrome Custom Tabs on Android or SafariViewController on iOS
https://github.com/TobyEb/cordova-plugin-colored-browser-tabs
Stuck on a Cordova issue?
If you're building a serious project, you can't afford to spend hours troubleshooting. Ionic’s experts offer premium advisory services for both community plugins and premier plugins.
Installation#
- Capacitor
- Cordova
- Enterprise
$ npm install cordova-plugin-colored-browser-tabs $ npm install @ionic-native/colored-browser-tabs $ ionic cap sync
$ ionic cordova plugin add cordova-plugin-colored-browser-tabs $ npm install @ionic-native/colored-browser-tabs
Ionic Enterprise comes with fully supported and maintained plugins from the Ionic Team. Learn More or if you're interested in an enterprise version of this plugin Contact Us
#
Supported Platforms- Android
- iOS
#
Usage#
ReactLearn more about using Ionic Native components in React
#
Angularimport { ColoredBrowserTabs } from '@ionic-native/colored-browser-tabs/ngx';
constructor(private browserTabs: ColoredBrowserTabs) { }
...
this.browserTabs.openTab('www.example.url', '#ffffff') .subscribe()
this.browserTabs.openTabWithAnimation('www.example.url', 'slide_x', '#ffffff') .subscribe()