Skip to main content

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?

Don't waste precious time on plugin issues.

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#

$ npm install cordova-plugin-colored-browser-tabs
$ npm install @ionic-native/colored-browser-tabs
$ ionic cap sync

Supported Platforms#

  • Android
  • iOS

Usage#

React#

Learn more about using Ionic Native components in React

Angular#

import { 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()