{"action":"created","issue":{"url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-objc/issues/277","repository_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-objc","labels_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-objc/issues/277/labels{/name}","comments_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-objc/issues/277/comments","events_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-objc/issues/277/events","html_url":"https://github.com/AzureAD/microsoft-authentication-library-for-objc/issues/277","id":327136704,"node_id":"MDU6SXNzdWUzMjcxMzY3MDQ=","number":277,"title":"Login page does not render for iPhone X","user":{"login":"jthake-msft","id":6786616,"node_id":"MDQ6VXNlcjY3ODY2MTY=","avatar_url":"https://avatars1.githubusercontent.com/u/6786616?v=4","gravatar_id":"","url":"https://api.github.com/users/jthake-msft","html_url":"https://github.com/jthake-msft","followers_url":"https://api.github.com/users/jthake-msft/followers","following_url":"https://api.github.com/users/jthake-msft/following{/other_user}","gists_url":"https://api.github.com/users/jthake-msft/gists{/gist_id}","starred_url":"https://api.github.com/users/jthake-msft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jthake-msft/subscriptions","organizations_url":"https://api.github.com/users/jthake-msft/orgs","repos_url":"https://api.github.com/users/jthake-msft/repos","events_url":"https://api.github.com/users/jthake-msft/events{/privacy}","received_events_url":"https://api.github.com/users/jthake-msft/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-05-29T00:20:03Z","updated_at":"2018-07-20T23:54:35Z","closed_at":"2018-07-20T23:54:35Z","author_association":"NONE","body":"Originally I found this bug when debugging whilst plugged into my iPhone X. But then once I released it for testing via TestFlight, I found out that other iPhone X users also have this problem.\r\n\r\nEssentially, when the MSAL library wants to show the sign in screen, the Safari window pops up with grey top navigation and bottom bar. But nothing ever loads in the middle of screen.\r\n\r\nIf you force quit the app on iOS, and turn off Wi-Fi and launch app again. The login screen loads correctly. \r\n\r\nThis consistently happens on iPhone X for anyone who hasn't launched the app before. Or who permanently removes the application and tries launching it again.\r\n\r\nI have used the code in this [sample](https://github.com/Azure-Samples/active-directory-ios-swift-native-v2 inside my application) .\r\n\r\nThe iPhone X devices range from 11.3 - latest beta. \r\n\r\nIt appears once they do this wifi off thing and sign in, this problem goes away. I cannot replicate this problem on any other hardware device."},"comment":{"url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-objc/issues/comments/406753498","html_url":"https://github.com/AzureAD/microsoft-authentication-library-for-objc/issues/277#issuecomment-406753498","issue_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-objc/issues/277","id":406753498,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNjc1MzQ5OA==","user":{"login":"jthake-msft","id":6786616,"node_id":"MDQ6VXNlcjY3ODY2MTY=","avatar_url":"https://avatars1.githubusercontent.com/u/6786616?v=4","gravatar_id":"","url":"https://api.github.com/users/jthake-msft","html_url":"https://github.com/jthake-msft","followers_url":"https://api.github.com/users/jthake-msft/followers","following_url":"https://api.github.com/users/jthake-msft/following{/other_user}","gists_url":"https://api.github.com/users/jthake-msft/gists{/gist_id}","starred_url":"https://api.github.com/users/jthake-msft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jthake-msft/subscriptions","organizations_url":"https://api.github.com/users/jthake-msft/orgs","repos_url":"https://api.github.com/users/jthake-msft/repos","events_url":"https://api.github.com/users/jthake-msft/events{/privacy}","received_events_url":"https://api.github.com/users/jthake-msft/received_events","type":"User","site_admin":false},"created_at":"2018-07-20T23:54:35Z","updated_at":"2018-07-20T23:54:35Z","author_association":"NONE","body":"I finally worked out that I needed to take this out of the viewDidAppear to  viewDidLoad and this seems to have resolved this issue. The samples may need updating to stop others making this mistake."}}
{"actor":{"display_login":"jthake-msft"}}