tiktok / tiktok-opensdk-android

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
49 stars 17 forks source link

onNewIntent not called #8

Closed pangli closed 8 months ago

pangli commented 1 year ago

application onNewIntent is not called. AuthApi.AuthMethod.ChromeTab when closing the browser can not know whether the result is cancellation of the authorization image

haifano commented 12 months ago

This is a known issue as we are unable to detect the close event for a custom Chrome tab. The onResume function of the caller activity should be triggered if users close the Chrome tab by clicking the close button or pressing the back button, and you can handle the cancel even there.

pangli commented 12 months ago

Customise an interface, set up markers to handle it and you're done!