Hi @matthew.ayre - thanks for your reply.
My main view is my Login screen with a Login button. I also added a continue button for now that shows up only when a user is authenticated. Continue button navigates to my Home screen and there are no events/scripts/security running on that one.
On the login button I have is:
if not system.perspective.isAuthorized(False, ["Authenticated"]):
system.perspective.login()
self.getSibling("Label").props.text = 'Not Auth'
system.perspective.navigate('/Login')
On the Login View’s System events > onStartup I put the following code for testing - My plan was to use the Auth/ Not Auth to hide/show the continue button:
if not system.perspective.isAuthorized(False, ["Authenticated"]):
self.getChild("root").getChild("Label").props.text = 'Not Auth'
else:
self.getChild("root").getChild("Label").props.text = 'Auth'