k9i-0 / flutter_tiktok_sdk Goto Github PK
View Code? Open in Web Editor NEWA Flutter plugin that lets developers access TikTok's native SDKs in Flutter apps with Dart
Home Page: https://pub.dev/packages/flutter_tiktok_sdk
License: MIT License
A Flutter plugin that lets developers access TikTok's native SDKs in Flutter apps with Dart
Home Page: https://pub.dev/packages/flutter_tiktok_sdk
License: MIT License
If our project is in Objective-C, how do we add code to AppDelegate.m?
swift:
TikTokOpenSDKApplicationDelegate.sharedInstance().application(application, didFinishLaunchingWithOptions: launchOptions)
Objective-C:
???
It works on IOS perfectly but on Android login doesn't return anything. It does open a prompt for login and after the successful login, nothing happens.
Here is my AndroidManifest.xml file
Do you have a plan to support new version of Tiktok OAuth v2?
Log: https://pastebin.com/dkKi86WS
I can not login in Android because of this error.
IOS works very well.
It works well on the Android Emulator and only fails on the real device
TikTok have changed their login kit auth flow to support oauth v2. It looks like "redirect_uri" is required now as part of TikTokAuthRequest. (https://developers.tiktok.com/doc/login-kit-ios-quickstart/) It looks like the old style of authorization may have stopped working as of 3rd July 2023.
Hi I'm trying to retrieve the scope for user.info.stats does not implemented to get the users followers count. Is there any way or any update on the sdk?
@K9i-0 thank for the library!
I was wondering would it be possible to expose the Video Kit API for uploading of videos to TikTok?
Thank for lib .
But I integrated your lib but don't work .
Please give help me the solve for this problem
{status: TikTokLoginStatus.error, authCode: null, state: null, grantedPermissions: null, errorCode: 10017, errorMessage: }
Hi @K9i-0, is this plugin can support tiktok login in flutter web?
I think we should support all feature of Tiktok SDK like Share Kit and others
https://developers.tiktok.com/doc/share-kit-android-quickstart-v2/
Currently, when I try to log in using this library, I get canceled with the following error, is there any workaround?
W/System.err(31467): android.content.pm.PackageManager$NameNotFoundException: ComponentInfo{com.zhiliaoapp.musically/com.zhiliaoapp.musically.openauthorize.AwemeAuthorizedActivity} W/System.err(31467): at android.app.ApplicationPackageManager.getActivityInfo(ApplicationPackageManager.java:614) W/System.err(31467): at android.app.ApplicationPackageManager.getActivityInfo(ApplicationPackageManager.java:597) W/System.err(31467): at com.bytedance.sdk.open.tiktok.base.BaseCheckHelperImpl.getPlatformSDKVersion(BaseCheckHelperImpl.java:75) W/System.err(31467): at com.bytedance.sdk.open.tiktok.base.BaseCheckHelperImpl.isAppSupportAPI(BaseCheckHelperImpl.java:56) W/System.err(31467): at com.bytedance.sdk.open.tiktok.base.BaseCheckHelperImpl.isAppSupportAuthApi(BaseCheckHelperImpl.java:65) W/System.err(31467): at com.bytedance.sdk.open.tiktok.base.BaseCheckHelperImpl.isAppSupportAuthorization(BaseCheckHelperImpl.java:27) W/System.err(31467): at com.bytedance.sdk.open.tiktok.impl.TikTokOpenApiImpl.getSupportApiAppInfo(TikTokOpenApiImpl.java:184) W/System.err(31467): at com.bytedance.sdk.open.tiktok.impl.TikTokOpenApiImpl.authorize(TikTokOpenApiImpl.java:155) W/System.err(31467): at com.k9i.flutter_tiktok_sdk.FlutterTiktokSdkPlugin.onMethodCall(FlutterTiktokSdkPlugin.kt:67) W/System.err(31467): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:267) W/System.err(31467): at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(DartMessenger.java:292) W/System.err(31467): at io.flutter.embedding.engine.dart.DartMessenger.lambda$dispatchMessageToQueue$0$io-flutter-embedding-engine-dart-DartMessenger(DartMessenger.java:319) W/System.err(31467): at io.flutter.embedding.engine.dart.DartMessenger$$ExternalSyntheticLambda0.run(Unknown Source:12) W/System.err(31467): at android.os.Handler.handleCallback(Handler.java:958) W/System.err(31467): at android.os.Handler.dispatchMessage(Handler.java:99) W/System.err(31467): at android.os.Looper.loopOnce(Looper.java:230) W/System.err(31467): at android.os.Looper.loop(Looper.java:319) W/System.err(31467): at android.app.ActivityThread.main(ActivityThread.java:8893) W/System.err(31467): at java.lang.reflect.Method.invoke(Native Method) W/System.err(31467): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:608) W/System.err(31467): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1103)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.