39
Views
1
Comments
Upload dialog box
Application Type
Mobile
Service Studio Version
11.55.20 (Build 64140)

Hello everyone. 
I am building a mobile app and I'm testing the upload of files (using the native upload widget). 
When I test it via browser/as a PWA, trying to upload any file triggers the below bottom sheet with multiple options like taking a picture, select from gallery, browse files,...


However, when testing the app as a native Android app, trying to upload any file goes straight to that last option (in portuguese it is called "seletor de meios"): 
I would like to have the same behavior in the Android app that I have on the browser/PWA. 
Can someone point me in the right direction to solve this issue? Can we force the choices? Is this maybe Android related and not directly connected to OutSystems?

Thank you all in advance!

2025-02-03 20-05-15
Mafalda Rosa

Hello João,

Are you generating your Android app with MABS version 11.1? 

I believe this is related to the new Android Media policy that OutSystems had to comply with. As a result, the Upload Widget works differently in MABS 11.1 to meet these requirements of Android.

Please check this OutSystems documentation for a better understanding of the new Android behavior:

 https://success.outsystems.com/support/release_notes/mobile_apps_build_service_versions/mabs_11_release_notes/

If you prefer the old behavior, I believe the only option is to generate the app using older versions of MABS. However, please be aware that the Android Play Store will soon require all apps to comply with the new media policy. 

Let me know if that makes sense!

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.