tiktok/tiktok-opensdk-ios

How to run ShareDemo to work

sjzwwy opened this issue · 6 comments

sjzwwy commented

How to run ShareDemo, do I need to change the bundle id?

Sorry! We plan on updating the bundle ID so that it is com.tiktok.open.sharekitdemo instead of com.tiktok.open.shraekitdemo.inhouse. If the bundle ID is causing an issue, you can update it to resolve it.

Hi.
We are trying to run ShareDemo and doesn't work. (sign in & capabilites issue -> The app identifier "com.tiktok.open.sharekitdemo" cannot be registered to your development team because it is not available. Change your bundle identifier to a unique string to try again.)

And, when we try to use in our project, the following error is shown:

Optional(https://OUR_URI/?from_platform=tiktoksharesdk&request_id=1C0EC468-5543-464A-9CE3-4C06CD5C40CA&error_code=-1&error_description=Too%20many%20videos%20were%20shared.%2012%20videos%20maximum&share_state=20002&response_id=DD5A1901-1808-4A75-926D-246F55F1F515)

ERROR: apiKey cannot be nil or empty, set apiKey with initializeApiKey: before calling uploadEvents:
10.2.0 - [FirebaseAnalytics][I-ACS023001] Deep Link does not contain valid required params. URL params: {
"error_code" = "-1";
"error_description" = "Too many videos were shared. 12 videos maximum";
"from_platform" = tiktoksharesdk;
"request_id" = "1C0EC468-5543-464A-9CE3-4C06CD5C40CA";
"response_id" = "DD5A1901-1808-4A75-926D-246F55F1F515";
"share_state" = 20002;
}
can you help us?
Thanks!