Search docs/

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.

Contact Us Today!

Installation

ionic cordova plugin add cordova-plugin-colored-browser-tabsnpm install @ionic-native/colored-browser-tabs
Ionic Native 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

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