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
65 stars 20 forks source link

When authorized to log in, opening my app using universal link failed, causing the app login to fail. #18

Open sunny635533 opened 7 months ago

sunny635533 commented 7 months ago

When authorized to log in, opening my app using universal link failed, causing the app login to fail. A few users will encounter this situation. When installing the app for the first time, there may be a problem with the network connection, causing universal link related files to fail to download.I also encountered this problem when I installed the app after setting up a proxy on my iOS phone. Here's a video of the issue:

https://github.com/tiktok/tiktok-opensdk-ios/assets/4737071/1a9c52d5-cec9-4d00-b6f3-adb43918061a

This web page address is the universal link I configured. image

Pod file: pod 'TikTokOpenSDKCore' pod 'TikTokOpenAuthSDK' sdk's version is 2.2.0

I found webpage information similar to this question: https://stackoverflow.com/questions/65645013/ios-apple-universal-links-fails-randomly https://stackoverflow.com/questions/44257362/ios-universal-links-sometimes-stops-working

When logging in, TikTok uses the universal link configuration to jump back to my app, but the download of the universal link description file may fail. The user must reinstall the app in a good network environment to use it normally. I would like to know if there is a better way to solve this problem besides reinstalling the app?

@stephen-boyle Could you help me look into this issue?