Events triggered while using media-file picker plugin

plugins

#1

Hello Guys, I am using nativescript mediafile picker plugin to allow users to pick image from photo gallery. However, I wanted to know if there is an event which gets triggered when a user taps on an image to choose it.


#2

No, it’s not possible as media picker plugin internally just throws an Android Intent, the plugin / app will not have any control over selection until the third party app which is responsible for picking images responds.

If you want to gain control over selection, you will have to build your own solution or find a native library that supports similar feature.


#3

thanks! Manoj! :slight_smile: