I’ve got an iPhone that we can’t seem to get to login to the native iOS Perspective app. It hands off to Safari and locks up.
Ignition 8.1.1
iOS 14.4
Perspective app 0.97
Ignition server is using http (not https) and is accessible on corporate network only (not exposed to internet)
iPhone is connected to corporate network via VPN, and as detailed below, can run the Perspective apps in web browser without any issue,
In any or our Perspective apps, on this phone, when login is required, tapping continue to login opens the login page in Safari. Logging in there (in Safari) works and the app opens and runs fine in Safari. But the Perspective native iOS app remains locked up in the state it was in when we first tried to login from app. In apps that require login to open, the Perspective native iOS app ends up stuck with the bubbling login button like this:
In apps where we open without login, but later tap a button to login, the app remains locked up on the page where we tapped that button (though we’re redirected to Safari login page–and it goes right into app after tapping continue to login if session is still remembered by iOS from last login in Safari).
We’ve had a couple users encounter this issue. We’re still trying to narrow down the problem. Is there any way you can send me the logs from Perspective App after attempting a login? You can retrieve the logs from Settings -> View Logs.
I noticed one more thing that may or may not be relevant–when logging in for the first time (no remembered session) in Safari (after native app kicks us over to Safari), after entering password and tapping to button to complete login, it goes back to the login screen in Safari. At that point, tapping continue to login then goes into the app in Safari (without prompting for username and password again). Apparently login is successful, but maybe not as fast as was expected (VPN connection is over satellite internet).
Here’s logs.txt (server name, project name, and device ID redacted). I was able to swipe left to exit the app from the stuck login screen and then went directly to settings to retrieve the logs.
Yes, that’s the first thing we tried. The phone was on some older version of iOS, but is now on the newest available as of now (Jan. 26, 2021 version). Safari is part of iOS, so there’s nothing else to update. I didn’t note the version before updating, but Perspective native app behavior was the same before and after update.
It might be relevant to note this is an iPhone 6S–the oldest supported by current iOS version.
This fix in 8.1.3 looks like it may be related, though I'm not sure if it should be kicking over to Safari for login (which seems to happen immediately--before any timeout--right now):
1754: Increase timeout for native app challenge response
Raised timeout to 15 seconds, which should support the majority of slow connections.