chrometabs.* — chrometabs


Type Library


Overview

The chrometabs plugin adds support for Chrome Custom Tabs - a better replacement for WebView on Android.

Supported platforms: Android 7.0+.

Syntax

local chrometabs = require('plugin.chrometabs')

Functions

chrometabs.init()

chrometabs.show()

chrometabs.warmup()

chrometabs.newSession()

chrometabs.mayLaunchUrl()

Events

chrometabs

Project Settings

To use this plugin, add an entry into the plugins table of build.settings. When added, the build server will integrate the plugin during the build phase.

	settings = {
		plugins = {
			['plugin.chrometabs'] = {
				publisherId = 'com.spiralcodestudio'
			}
		}
	}

Sample Project

A sample project can be found here.

https://github.com/Lerg/plugins-sample-chrometabs