Post

Replies

Boosts

Views

Activity

The problem of sharing cookies between ios14 embedded browser and external browser
We encountered a problem in the development of ios14 and have not been able to solve it We expect to open the embedded browser in the APP through the embedded browser SFSafariViewController or SFAuthenticationSession, ASWebAuthenticationSession. Set the cookie in the webpage of the embedded browser. The webpage setting the cookie is complete. The APP launches the safari browser. In safari, you can get the cookie to manipulate the cookie value. iOS14 allows chrome to be set as the default browser, the app cannot retrieve the cookies in the above operations after launching chrome, and cannot perform cookie-related operations. If safari is used as the default browser, you can get cookies and perform normal operations on cookies. Would like to consult. How does iOS development determine whether the default browser of the ios14 system is chrome or safari How does iOS development realize that the cookie value set by the embedded browser can be shared, and the external browser chrome can get the value of the embedded browser cookie. Force open safari browser and carry parameters thanks!
2
1
2.3k
Nov ’20