There is no response when I press the ‘retrun to application’ button.
I have opened SafariViewController using twitter login api([Twitter logInWithCompletion:]), and click cancel button and then click retrun to application.
Sign in or click the done button, the callback is as expected.
twitterKit version is 3.3.0
My info.plist configuration looks like this
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleURLSchemes</key>
<array>
<string>twitterkit-<my_consumerKey></string>
</array>
</dict>
</array>
<key>LSApplicationQueriesSchemes</key>
<array>
<string>twitter</string>
<string>twitterauth</string>
</array>
And my appdelegate’s application: openURL: options: like this
- (BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary<NSString *,id> *)options {
return [[Twitter sharedInstance] application:app openURL:url options:options];
}
When the button is clicked, appdelegate 's application: openURL: options: url is given as twitterkit-{myConsumerKey}://callback?app={myConsumerKey}&denied=j80xxgAAAAAAurrVAAABZGjnhb4.
Any help would be greatly appreciated. I can provide whatever details are needed to resolve this issue.