I am trying to use the YOS library for Yahoo user login support in my app. It works great when the user is trying to sing-in for the the first time using the app.
But if the session has expired the app crashes during initialization. It work again if I manually call "clearSession" method. But this method will remove the session info during each login so I cannot leave it there. It is getting like chicken and egg problem for me.
I am setting the verifier manually before calling the "resumeSession" method. I didn't find this information documented so wondering if this is the right way to do it. Also noted that if I remove this manual setting of verifier the app stops crashing, but then "resumeSession" always returns false
//oatuh_verifier is obtained from the custom URL scheme . // Parsed the string and retrieved the verifier section //Commenting this code also solves the Crash issue. // But now it won't authenticate the user [self.session setVerifier:oauth_verifier];