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.
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.