pwlin / cordova-plugin-file-opener2

A File Opener Plugin for Cordova
MIT License
314 stars 584 forks source link

Plugin fails on Android devices with a Work Profile #286

Open delwynpinto opened 4 years ago

delwynpinto commented 4 years ago

I'm trying to open a .jpeg file on a device. It opens in the default gallery app if opened via the app copy under Personal profile, but fails when opened from the copy under Work profile.

Expected Outcome : open(filePath, mimeType, options) and showOpenWithDialog(filePath, mimeType, options) should open the file in the default gallery application

Actual Outcome : open(filePath, mimeType, options) returns error status 9, whereas showOpenWithDialog(filePath, mimeType, options) returns success but nothing happens.