Open AlekseyLatkov opened 6 years ago
I have tested ssdk.Authorize(PlatformType.WeChat) in Android platform recently, and success gets user info, if you were, I could give you some solutions.
@zhzyj please tell me how to get the wechat user authorize info.
I finally found a solution to make ssdk.showUserHandler and ssdk.authHandler get called. I replace the package name "cn.sharesdk.demo" in /Plugins/Android/ShareSDK/AndroidManifest.xml with my own project's package name, and also change the callback Activity's package name in /Plugins/Android/ShareSDK/libs/DemoCallback.jar, I used jarjar.jar to do this work.
Can you speak Chinese?
WeChat sharing and authorization requires a callback jar package, you can contact the official technical support to help you generate this DemoCallback.jar
Sharing is working correctly, but ssdk.showUserHandler and ssdk.authHandler is never called after ssdk.Authorize(PlatformType.WeChat) so I cant get user info. (appid and appsecret was setted correctly). Can you help me with this issue?