Comments on: How to Login User Automatically Into The App With SFSafariViewController on iOS 9 https://www.intellectsoft.net/blog/login-user-automatically-sfsafariviewcontroller-ios-9/ Fri, 14 Aug 2020 16:35:18 +0000 hourly 1 https://wordpress.org/?v=6.0.2 By: Un Chin https://www.intellectsoft.net/blog/login-user-automatically-sfsafariviewcontroller-ios-9/#comment-237 Tue, 03 Oct 2017 11:58:00 +0000 https://stanfy.com/?p=12703#comment-237 @vitaliymalakhovskiy:disqus Thanks for the useful article. We have tried it out and found that SafariViewController cannot get the cookie across each app, for example
1. User ‘A’ posts a link, which would set the cookie when clicked, on Facebook.
2. User ‘B’ clicks the link.
3. User ‘B’ installs the app.
4. User ‘B’ opens the app, and SafariViewController opens the URL to retrieve the cookie but unfortunately the cookie is not found.

Do you still make it work on the iOS 10 and 11? Could you provide me some more guideline?

Really appreciate for your help.

]]>
By: Vitaliy Malakhovskiy https://www.intellectsoft.net/blog/login-user-automatically-sfsafariviewcontroller-ios-9/#comment-236 Tue, 11 Apr 2017 10:09:00 +0000 https://stanfy.com/?p=12703#comment-236 In reply to Yehoshua Nagel.

There is no way to do that since iOS 10

]]>
By: Yehoshua Nagel https://www.intellectsoft.net/blog/login-user-automatically-sfsafariviewcontroller-ios-9/#comment-235 Wed, 25 Jan 2017 15:12:00 +0000 https://stanfy.com/?p=12703#comment-235 How do you overcome https://developer.apple.com/app-store/review/guidelines/#data-collection-and-storage 5.1.1.iv:
“SafariViewContoller must be used to visibly present information to users; the controller may not be hidden or obscured by other views or layers. Additionally, an app may not use SafariViewController to track users without their knowledge and consent.” ?

]]>
By: Vitaliy Malakhovskiy https://www.intellectsoft.net/blog/login-user-automatically-sfsafariviewcontroller-ios-9/#comment-234 Mon, 04 Apr 2016 17:36:00 +0000 https://stanfy.com/?p=12703#comment-234 In reply to thom c.

> Between 3 and 4 in the diagram, is it going to Safari app to set the cookie?
Correct. When you click link in mail it redirects you to Safari and then Safari (after cookies set) redirects you to AppStore.

> Can this cookie also be set when the user logs in / registers…. so that the link in the email goes straight to the App Store?
There is no way to get if cookies is set from the mail app. There may be a case that user logs in from computer, and trick will not work.

]]>
By: thom c https://www.intellectsoft.net/blog/login-user-automatically-sfsafariviewcontroller-ios-9/#comment-233 Mon, 04 Apr 2016 15:50:00 +0000 https://stanfy.com/?p=12703#comment-233 Between 3 and 4 in the diagram, is it going to Safari app to set the cookie? Can this cookie also be set when the user logs in / registers…. so that the link in the email goes straight to the App Store?

]]>