Colored Browser Tabs

Contents

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?

Installation

Community Enterprise
ionic cordova plugin add cordova-plugin-colored-browser-tabs npm install @ionic-native/colored-browser-tabs
Ionic EE comes with fully supported and maintained plugins from the Ionic Team. Learn More   or   Contact Us
ionic activate-native-ee --key=YOURPRODUCTKEY ionic integrations add @ionic-native/colored-browser-tabs

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