I have a Cordova app which is using Cordova camera plugin. The app has a button which launched device's camera app, the camera app takes a photo, saves it to temp location, handles the path to the app and the app handles the photo then. This is fully working on Android & IOS and can be distributed via Google Play/Apple Appstore or just installed using the apk file.
Now the Android app should be distributed through Intune. The app can be downloaded, installed and launched correctly. The problem comes with camera, the device says that camera is outside work profile when launching it. The photo can be taken but nothing comes back to the app. Since this is working everywhere else this has to be some Intune restriction. I'm not familiar with Intune and I have no access to my customer's Intune settings and they don't know Intune well enough.
Can anybody help me with this? What is blocking getting information from camera app to the real app?