Quick background: I had to disable security under Project Properties for perspective so that I could embed Map view inside a vision window using browser module.
I have a view with a button that uses system.perspective.isAuthorized function and if a user is not authorized, brings up the login screen using system.perspective.login(). The user can login and continue onto the Home screen.
Issue: This works perfectly when viewed from a browser but on the app, the default login screen seems to have an X button (Android) and Cancel (iOS) button resp. When I click on this it shows me the Header and Menu (from shared settings) and not my main View with my login button - like Exit Login button.
Is there anyway I can disable this?
After clicking on the X button: