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

Unable to launch tiktok app when authorized to login in #17

Open sunny635533 opened 10 months ago

sunny635533 commented 10 months ago

The tiktok app cannot be launched when authorized to log in. A small number of users will encounter this situation. Below is the link address and video screenshot of the webpage:

https://www.tiktok.com/login?lang=en&enter_method=web&enter_from=dev_awro2yamp997e59t&redirect_url=https%253A%252F%252Fwww.tiktok.com%252Fv2%252Fauth%252Fauthorize%253Frequest_id%253D6A11683F-D1F8-4CD0-9D42-77F320C1EA34%2526api_version%253D2.2.0%2526consumer_key%253Dawro2yamp997e59t%2526app_identity%253Da44827d9e425a7b9f1965f1f4a59aa9bfdc1897e6ece0a9bc16b1ce5b5f35caf53f7e45c25b4008365d5dabd013d3673e9cc8c3a728c11082fe492b3c826021a%2526device_platform%253Diphone%2526state%2526permissions%253Duser.info.basic%252Cvideo.list%252Cuser.info.profile%252Cuser.info.stats%2526code_challenge%253Dc068ba6a5c1cb5a108d5b4644b14e76ecff382192e37137817d48a89c3170f04%2526redirect_uri%253Dhttps%253A%252F%252Fm.iboomingglobal.com%252Fapp%252F%2526sdk_name%253Dtiktok_sdk_auth%2526client_key%253Dawro2yamp997e59t%2526response_type%253Dcode%2526scope%253Duser.info.basic%252Cvideo.list%252Cuser.info.profile%252Cuser.info.stats%2526use_spark%253D1%2526hide_nav_bar%253D1&hide_left_icon=1&type=

https://github.com/tiktok/tiktok-opensdk-ios/assets/4737071/2b7ad9b0-d9ea-4a91-8ac9-0b46138c30df

Pod file:

pod 'TikTokOpenSDKCore'
 pod 'TikTokOpenAuthSDK'

sdk's version is 2.2.0

If you know the reason please tell me, thanks.

stephen-boyle commented 10 months ago

Hi @sunny635533, we are aware of this edge case with universal links, especially when trying to download an app with a proxy configured. We are trying to investigate on our side number of affected users.

Currently, the only known solution to make universal links work if the AASA file fails to download upon app installation is to reinstall the app, but users should be wary of this because drafts are not saved once TikTok is deleted, they should try and save their drafts if possible before deleting TikTok. Are you aware of how many users have been impacted by this?

sunny635533 commented 10 months ago

@stephen-boyle ,First of all thank you for your reply. Our product managers are collecting user information about this type of problem from business personnel. I believe the collection will be completed soon and I will get back to you.

sunny635533 commented 10 months ago

@stephen-boyle About 10 users encountered this problem. There are very few users who are unable to log in because of problems with universal links.