Colored Browser Tabs

Contents

This plugin opens Chrome Custom Tabs on Android or SafariViewController on iOS

Installation

ionic cordova plugin add cordova-plugin-colored-browser-tabsnpm 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 enterprise register --key=YOURPRODUCTKEYnpm install @ionic-enterprise/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()