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

@ionic-native/file-picker

Package Overview
Dependencies
Maintainers
6
Versions
94
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 4.7.0 to 4.8.0

12

index.d.ts
import { IonicNativePlugin } from '@ionic-native/core';
export interface IOSFilePickerPosition {
x: number;
y: number;
width: number;
height: number;
}
/**

@@ -21,2 +27,4 @@ * @name iOS File Picker

* ```
* @interfaces
* IOSFilePickerPosition
*/

@@ -26,5 +34,7 @@ export declare class IOSFilePicker extends IonicNativePlugin {

* Open a file
* @params {string | string[]} [utis]
* @params {IOSFilePickerPosition} [position] Set the position of the rectangle where the file picker should show up.
* @returns {Promise<string>}
*/
pickFile(): Promise<string>;
pickFile(utis?: string | string[], position?: IOSFilePickerPosition): Promise<string>;
}

13

index.js

@@ -22,2 +22,3 @@ var __extends = (this && this.__extends) || (function () {

import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
;
/**

@@ -42,2 +43,4 @@ * @name iOS File Picker

* ```
* @interfaces
* IOSFilePickerPosition
*/

@@ -51,5 +54,7 @@ var IOSFilePicker = (function (_super) {

* Open a file
* @params {string | string[]} [utis]
* @params {IOSFilePickerPosition} [position] Set the position of the rectangle where the file picker should show up.
* @returns {Promise<string>}
*/
IOSFilePicker.prototype.pickFile = function () {
IOSFilePicker.prototype.pickFile = function (utis, position) {
return;

@@ -63,5 +68,7 @@ };

__decorate([
Cordova(),
Cordova({
callbackOrder: 'reverse'
}),
__metadata("design:type", Function),
__metadata("design:paramtypes", []),
__metadata("design:paramtypes", [Object, Object]),
__metadata("design:returntype", Promise)

@@ -68,0 +75,0 @@ ], IOSFilePicker.prototype, "pickFile", null);

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

[{"__symbolic":"module","version":3,"metadata":{"IOSFilePicker":{"__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":"iOS File Picker","plugin":"cordova-plugin-filepicker","pluginRef":"FilePicker","repo":"https://github.com/jcesarmobile/FilePicker-Phonegap-iOS-Plugin","platforms":["iOS"]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"pickFile":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"}}]}]}}}},{"__symbolic":"module","version":1,"metadata":{"IOSFilePicker":{"__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":"iOS File Picker","plugin":"cordova-plugin-filepicker","pluginRef":"FilePicker","repo":"https://github.com/jcesarmobile/FilePicker-Phonegap-iOS-Plugin","platforms":["iOS"]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"pickFile":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"}}]}]}}}}]
[{"__symbolic":"module","version":3,"metadata":{"IOSFilePickerPosition":{"__symbolic":"interface"},"IOSFilePicker":{"__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":"iOS File Picker","plugin":"cordova-plugin-filepicker","pluginRef":"FilePicker","repo":"https://github.com/jcesarmobile/FilePicker-Phonegap-iOS-Plugin","platforms":["iOS"]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"pickFile":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"callbackOrder":"reverse"}]}]}]}}}},{"__symbolic":"module","version":1,"metadata":{"IOSFilePickerPosition":{"__symbolic":"interface"},"IOSFilePicker":{"__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":"iOS File Picker","plugin":"cordova-plugin-filepicker","pluginRef":"FilePicker","repo":"https://github.com/jcesarmobile/FilePicker-Phonegap-iOS-Plugin","platforms":["iOS"]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"pickFile":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"callbackOrder":"reverse"}]}]}]}}}}]
{
"name": "@ionic-native/file-picker",
"version": "4.7.0",
"version": "4.8.0",
"description": "Ionic Native - Native plugins for ionic apps",

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

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

<a style="float:right;font-size:12px;" href="http://github.com/ionic-team/ionic-native/edit/master/src/@ionic-native/plugins/file-picker/index.ts#L1">
<a style="float:right;font-size:12px;" href="http://github.com/ionic-team/ionic-native/edit/master/src/@ionic-native/plugins/file-picker/index.ts#L8">
Improve this doc

@@ -3,0 +3,0 @@ </a>

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