tiktok / tiktok-opensdk-ios

The TikTok OpenSDK features Login Kit and Share Kit which allow your users to log in using their TikTok account and share content from your app to TikTok.
https://developers.tiktok.com
Other
74 stars 29 forks source link

Login Kit TikTokAuthRequest.send completion not call #25

Closed yuximin closed 6 months ago

yuximin commented 6 months ago

I have implemented the TikTok login function according to the document, and have successfully activated TikTok authorization and return to our app. But it did not callback to the completion in TikTokAuthRequest.send. It only got the URL in func application(_ application: UIApplication, continue userActivity: NSUserActivity, restorationHandler: @escaping ([UIUserActivityRestoring]?) -> Void) -> Bool. What should I do to obtain a callback in TikTokAuthRequest.send‘s completion. Hope your answer.

Heski99 commented 4 months ago

لقد قمت بتنفيذ وظيفة تسجيل الدخول إلى TikTok وفقًا للمستند، وقمت بتنشيط ترخيص TikTok بنجاح والعودة إلى تطبيقنا. لكنه لم يتم رد الاتصال بـ completionin TikTokAuthRequest.send. لقد حصل فقط على عنوان URL بتنسيق func application(_ application: UIApplication, continue userActivity: NSUserActivity, restorationHandler: @escaping ([UIUserActivityRestoring]?) -> Void) -> Bool. ماذا علي أن أفعل للحصول على رد اتصال عند TikTokAuthRequest.sendاكتمال . نأمل إجابتك.

Thanks