Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ionic-native/file-opener

Package Overview
Dependencies
Maintainers
3
Versions
163
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ionic-native/file-opener - npm Package Compare versions

Comparing version 4.4.0 to 4.4.2

57

index.js

@@ -52,16 +52,4 @@ var __extends = (this && this.__extends) || (function () {

*/
FileOpener.prototype.open = function (filePath, fileMIMEType) { return; };
/**
* Open an file
* @param filePath {string} File Path
* @param fileMIMEType {string} File MIME Type
* @returns {Promise<any>}
*/
FileOpener.prototype.open = /**
* Open an file
* @param filePath {string} File Path
* @param fileMIMEType {string} File MIME Type
* @returns {Promise<any>}
*/
function (filePath, fileMIMEType) { return; };
/**
* Uninstalls a package

@@ -71,14 +59,4 @@ * @param packageId {string} Package ID

*/
FileOpener.prototype.uninstall = function (packageId) { return; };
/**
* Uninstalls a package
* @param packageId {string} Package ID
* @returns {Promise<any>}
*/
FileOpener.prototype.uninstall = /**
* Uninstalls a package
* @param packageId {string} Package ID
* @returns {Promise<any>}
*/
function (packageId) { return; };
/**
* Check if an app is already installed

@@ -88,13 +66,3 @@ * @param packageId {string} Package ID

*/
/**
* Check if an app is already installed
* @param packageId {string} Package ID
* @returns {Promise<any>}
*/
FileOpener.prototype.appIsInstalled = /**
* Check if an app is already installed
* @param packageId {string} Package ID
* @returns {Promise<any>}
*/
function (packageId) { return; };
FileOpener.prototype.appIsInstalled = function (packageId) { return; };
FileOpener.decorators = [

@@ -135,21 +103,2 @@ { type: Injectable },

], FileOpener.prototype, "appIsInstalled", null);
/**
* @name File Opener
* @description
* This plugin will open a file on your device file system with its default application.
*
* @usage
* ```typescript
* import { FileOpener } from '@ionic-native/file-opener';
*
* constructor(private fileOpener: FileOpener) { }
*
* ...
*
* this.fileOpener.open('path/to/file.pdf', 'application/pdf')
* .then(() => console.log('File is opened'))
* .catch(e => console.log('Error openening file', e));
*
* ```
*/
FileOpener = __decorate([

@@ -156,0 +105,0 @@ Plugin({

2

index.metadata.json

@@ -1,1 +0,1 @@

[{"__symbolic":"module","version":4,"metadata":{"FileOpener":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@ionic-native/core","name":"IonicNativePlugin"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Plugin"},"arguments":[{"pluginName":"FileOpener","plugin":"cordova-plugin-file-opener2","pluginRef":"cordova.plugins.fileOpener2","repo":"https://github.com/pwlin/cordova-plugin-file-opener2","platforms":["Android","iOS","Windows","Windows Phone 8"]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"open":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"callbackStyle":"object","successName":"success","errorName":"error"}]}]}],"uninstall":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"callbackStyle":"object","successName":"success","errorName":"error"}]}]}],"appIsInstalled":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"callbackStyle":"object","successName":"success","errorName":"error"}]}]}]}}}}]
[{"__symbolic":"module","version":3,"metadata":{"FileOpener":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@ionic-native/core","name":"IonicNativePlugin"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Plugin"},"arguments":[{"pluginName":"FileOpener","plugin":"cordova-plugin-file-opener2","pluginRef":"cordova.plugins.fileOpener2","repo":"https://github.com/pwlin/cordova-plugin-file-opener2","platforms":["Android","iOS","Windows","Windows Phone 8"]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"open":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"callbackStyle":"object","successName":"success","errorName":"error"}]}]}],"uninstall":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"callbackStyle":"object","successName":"success","errorName":"error"}]}]}],"appIsInstalled":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"callbackStyle":"object","successName":"success","errorName":"error"}]}]}]}}}},{"__symbolic":"module","version":1,"metadata":{"FileOpener":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@ionic-native/core","name":"IonicNativePlugin"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Plugin"},"arguments":[{"pluginName":"FileOpener","plugin":"cordova-plugin-file-opener2","pluginRef":"cordova.plugins.fileOpener2","repo":"https://github.com/pwlin/cordova-plugin-file-opener2","platforms":["Android","iOS","Windows","Windows Phone 8"]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"open":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"callbackStyle":"object","successName":"success","errorName":"error"}]}]}],"uninstall":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"callbackStyle":"object","successName":"success","errorName":"error"}]}]}],"appIsInstalled":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"callbackStyle":"object","successName":"success","errorName":"error"}]}]}]}}}}]
{
"name": "@ionic-native/file-opener",
"version": "4.4.0",
"version": "4.4.2",
"description": "Ionic Native - Native plugins for ionic apps",

@@ -5,0 +5,0 @@ "module": "index.js",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc