NativeScript / ios-jsc

NativeScript for iOS using JavaScriptCore

Home Page:http://docs.nativescript.org/runtimes/ios

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tns-platform-declarations - In objc!SafariServices.d.ts is declared the deprecated class SFAuthenticationSession instead of ASWebAuthenticationSession

NickIliev opened this issue · comments

From @alexmeia on March 6, 2019 10:59

Describe the bug
Version 5.2.0 of tns-platform-declarations still references to the deprecated class
SFAuthenticationSession instead of the analogous, but not deprecated, ASWebAuthenticationSession.
SFAuthenticationSession will not be usable starting from iOS 13, so an update to the iOS platform declarations id needed.

Copied from original issue: NativeScript/NativeScript#6992

Actually the definition for ASWebAuthenticationSession is available in objc!AuthenticationServices.d.ts, as pointed out by @mbektchiev in the original thread. I din't look there.