FileOpener

Improve this doc

$ ionic plugin add cordova-plugin-file-opener2

Repo: https://github.com/pwlin/cordova-plugin-file-opener2

This plugin will open a file on your device file system with its default application.

Usage

import {FileOpener} from 'ionic-native';

Static Members

open(filePath, fileMIMEType)

Open an file

Param Type Details
filePath string

File Path

fileMIMEType string

File MIME Type

Returns: Promise<any>

uninstall(packageId)

Uninstalls a package

Param Type Details
packageId string

Package ID

Returns: Promise<any>

appIsInstalled(packageId)

Check if an app is already installed

Param Type Details
packageId string

Package ID

Returns: Promise<any>

API

Native

General