I have been working around with a subgallery thas is causing a strange behavior. I have the next screen in PowerApps Studio. It has a roles gallery and a users subgallery whose belong to those roles.
Eeach item of the subgallery has a button to edit the selected item which takes to the user role edit screen.
The actions of the edit and new button works perfectly inside PowerApps Studio but when I publish the App and access it trought the "Web Link", the "play" button or access trought the phone/tablet I cannot achieve the user role edit screen. Instead of that the App crash and a black screen appears like it is loading something.
I discovered that if I delete the subgallery I can access the role edit screen perfectly.