Closed Jack25apr closed 6 years ago
OAuth2Module.swift: all vars such:
var tsSdkInitiliazation: NSInteger? var tsLoginButtonClicked: NSInteger? var tsRedirectUrlInvoked: NSInteger? var tsTokenResponseReceived: NSInteger?
should not be NSInteger, but Int64? because later on: NSInteger(NSDate().timeIntervalSince1970 * 1000); it crashes.
please use
var tsSdkInitiliazation: Int64? var tsLoginButtonClicked: Int64? var tsRedirectUrlInvoked: Int64? var tsTokenResponseReceived: Int64?
and later on in assignments:
= Int64(NSDate().timeIntervalSince1970 * 1000);
(You can easily reproduce with HelloWorld Project : Download simulator iOS 9.3, restart mac and use 4s simulator as run destination)
OAuth2Module.swift: all vars such:
should not be NSInteger, but Int64? because later on: NSInteger(NSDate().timeIntervalSince1970 * 1000); it crashes.
please use
and later on in assignments:
(You can easily reproduce with HelloWorld Project : Download simulator iOS 9.3, restart mac and use 4s simulator as run destination)