Giter Club home page Giter Club logo

Comments (14)

Dokome avatar Dokome commented on August 12, 2024

I meet this problem too,have you solved it? I try to use the sandbox client key, but still not work.

from tiktok-opensdk-ios.

GemperC avatar GemperC commented on August 12, 2024

Yes i have,
What i have done that worked:

  • Add the share sdk, integrate it fully.
  • Make sure your app is approved on tiktok developer.
  • dont share image and text, share just images. (Seems like text automatically removes some options)
  • don't use any of the methods of thw share sdk, use the share_plus package methods.

Its odd but only after integration of the sdk share_plus added tiktok, which before it hadn't

from tiktok-opensdk-ios.

Dokome avatar Dokome commented on August 12, 2024

Yes i have, What i have done that worked:

  • Add the share sdk, integrate it fully.
  • Make sure your app is approved on tiktok developer.
  • dont share image and text, share just images. (Seems like text automatically removes some options)
  • don't use any of the methods of thw share sdk, use the share_plus package methods.

Its odd but only after integration of the sdk share_plus added tiktok, which before it hadn't

Thanks, our app is build on react-native,I will learn how the share_plus library worked

from tiktok-opensdk-ios.

Nishannb avatar Nishannb commented on August 12, 2024

@Dokome Are you using Tiktok Share Kit in react native? I was looking for some help in integrating it, if you can help me.

from tiktok-opensdk-ios.

Dokome avatar Dokome commented on August 12, 2024

@Dokome Are you using Tiktok Share Kit in react native? I was looking for some help in integrating it, if you can help me.

I integrated the legacy sdk and always get the Permission Denied (errCode -4) 😂,what about you

from tiktok-opensdk-ios.

Nishannb avatar Nishannb commented on August 12, 2024

I am also not able to integrate it. Do you mean https://developers.tiktok.com/doc/getting-started-ios-quickstart-objective-c as legacy sdk.
I think this is the new sdk https://developers.tiktok.com/doc/mobile-sdk-ios-quickstart right?

from tiktok-opensdk-ios.

Dokome avatar Dokome commented on August 12, 2024

I am also not able to integrate it. Do you mean https://developers.tiktok.com/doc/getting-started-ios-quickstart-objective-c as legacy sdk. I think this is the new sdk https://developers.tiktok.com/doc/mobile-sdk-ios-quickstart right?

Yes, I use this repo and react-native-tiktok before, but the swift code always compile failed in my project, so I finally integrate the
legacy sdk with ObjectC.

from tiktok-opensdk-ios.

Nishannb avatar Nishannb commented on August 12, 2024

I cannot integrate with my project. Using Legacy SDK, I get this error:

Showing All Errors Only
/Users/admin/Library/Developer/Xcode/DerivedData/Take-eauqcvjjwjjiehdqnbdofghuenhl/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/TikTokOpenSDK/TikTokOpenSDK.framework/Headers/TikTokOpenSDKShare.h:74:40: 'TikTokOpenSDKShareRequest' has different definitions in different modules; first difference is definition in module 'TikTokOpenSDK.TikTokOpenSDKShare' found property

I followed this doc.
https://developers.tiktok.com/doc/getting-started-ios-quickstart-objective-c
Can you share how you managed to do it. If you have example project, I can look into it.

from tiktok-opensdk-ios.

Dokome avatar Dokome commented on August 12, 2024

@Nishannb
For the errors maybe you can reinstall your pods files and clear cache.I paste part of my code here, you can have a try.

from tiktok-opensdk-ios.

Nishannb avatar Nishannb commented on August 12, 2024

@Dokome I did delete pod file and cleared the cache. Same error. Thanks for the part of the code. I still am out of context with the code. Is there a share kit implemented RN project I can check in your repo, I can learn from there.

from tiktok-opensdk-ios.

Nishannb avatar Nishannb commented on August 12, 2024

When I share, it open the tiktok app and immediately comes back.

from tiktok-opensdk-ios.

Dokome avatar Dokome commented on August 12, 2024

When I share, it open the tiktok app and immediately comes back.

It also happened to my project,is your app published or use sandbox app client key?

from tiktok-opensdk-ios.

Nishannb avatar Nishannb commented on August 12, 2024

It's not a published app. I am trying in sandbox with its client key. What was the problem in your project and how were you able to debug it ?

from tiktok-opensdk-ios.

Dokome avatar Dokome commented on August 12, 2024

@Nishannb My problem just as this issue say, and I print the errCode from share response (You can check the Xcode terminal or resolve the errCode print with javascript).

NSInteger code = response.errCode;
NSLog(@"Recevied value: %ld", code);

from tiktok-opensdk-ios.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.