SFSafariViewController refreshes page when user returns to the app from background - SafariViewService crashes
| Originator: | timotej.papler | ||
| Number: | rdar://27683589 | Date Originated: | |
| Status: | Open | Resolved: | |
| Product: | iOS SDK | Product Version: | 10.0.3 |
| Classification: | Reproducible: |
I have an app that presents SFSafariViewController and user logs in, but in order to log in they receive push notification to authenticator application (which is separate application such as MePin or NokNok Passport) when user taps the notification authenticator app opens and user provides fingerprint or pin to authenticate, then they should return to the app which is user logging into and SFSafariViewController should stay on the same page before user tapped the push notification but it doesn't it seems like it refreshes the website or navigates to the initial URL. It would seem that if I authenticate and return to my app really fast then SFSafariViewController will remain on the correct page and won't refresh. Steps to Reproduce: Example: 1. Present SFSafariViewController from your app 2. on receiving push notification from another app tap it to open the other app 3. while in the other app tap around 4. return back to your app via status bar back button 5. SFSafariViewController will refresh the page Expected Results: SFSafariViewController should not refresh the page. Actual Results: SFSafariViewController refresh the page when returning from the background Version: iOS 10 developer beta 4 also iOS 10.0.3 Configuration: iPhone 5s and iPhone 7
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!