GithubHelp home page GithubHelp logo

mobclub / new-c2dx-for-sharesdk Goto Github PK

View Code? Open in Web Editor NEW
16.0 36.0 14.0 782.01 MB

The newest project of cocos2d-x using ShareSDK.

C++ 6.18% C 1.60% Objective-C++ 3.27% Python 0.09% Makefile 0.23% Java 43.81% Objective-C 41.70% JavaScript 0.46% HTML 2.67%

new-c2dx-for-sharesdk's Introduction

New-C2DX-For-ShareSDK

这是基于ShareSDK支持Coco2dx的一套插件。目的是为Coco2dx开发者更快速方便地集成使用ShareSDK。

支持的 ShareSDK 版本

  • Android - V3.1.4
  • iOS - V4.1.1

集成文档


集成中如遇到任何技术问题,欢迎咨询免费技术支持 QQ:4006852216 电话:400-685-2216

new-c2dx-for-sharesdk's People

Contributors

1019238091 avatar dangerousdon avatar jinghuangliu avatar jychenx avatar kengeee avatar moblarry avatar o2space avatar vhbvb avatar yhxjw86 avatar zhangbrook avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

new-c2dx-for-sharesdk's Issues

发现一个问题

C2DXShareSDK.cpp
line 199 的方法里

参数platType是不存在的,编译都编译不过去,你们没发现吗

QQ授权后收到的数据与以前不同

我使用了这个最新版本,发现QQ授权后返回的数据与以前不同,授权后打印的log如下:
06-27 13:53:47.014 18828 18828 D cocos2d-x debug info: Dictionary setObject -- addObject success reqID
06-27 13:53:47.014 18828 18828 D cocos2d-x debug info: cJSON_Number
06-27 13:53:47.014 18828 18828 D cocos2d-x debug info: Dictionary setObject -- addObject success status
06-27 13:53:47.014 18828 18828 D cocos2d-x debug info: cJSON_Number
06-27 13:53:47.014 18828 18828 D cocos2d-x debug info: Dictionary setObject -- addObject success platform
06-27 13:53:47.014 18828 18828 D cocos2d-x debug info: cJSON_Number
06-27 13:53:47.015 18828 18828 D cocos2d-x debug info: Dictionary setObject -- addObject success action
06-27 13:53:47.015 18828 18828 D cocos2d-x debug info: Success

然后获得用户信息,log如下:
06-27 13:54:38.257 18828 18828 D cocos2d-x debug info: cJSON_Number
06-27 13:54:38.258 18828 18828 D cocos2d-x debug info: Dictionary setObject -- addObject success status
06-27 13:54:38.258 18828 18828 D cocos2d-x debug info: cJSON_Number
06-27 13:54:38.258 18828 18828 D cocos2d-x debug info: Dictionary setObject -- addObject success action
06-27 13:54:38.258 18828 18828 D cocos2d-x debug info: cJSON_Object
06-27 13:54:38.258 18828 18828 D cocos2d-x debug info: cJSON_String
06-27 13:54:38.258 18828 18828 D cocos2d-x debug info: Dictionary setObject -- addObject success is_yellow_vip
06-27 13:54:38.258 18828 18828 D cocos2d-x debug info: cJSON_String
06-27 13:54:38.258 18828 18828 D cocos2d-x debug info: Dictionary setObject -- addObject success msg
06-27 13:54:38.259 18828 18828 D cocos2d-x debug info: cJSON_String
06-27 13:54:38.259 18828 18828 D cocos2d-x debug info: Dictionary setObject -- addObject success vip
06-27 13:54:38.259 18828 18828 D cocos2d-x debug info: cJSON_String
06-27 13:54:38.259 18828 18828 D cocos2d-x debug info: Dictionary setObject -- addObject success nickname
06-27 13:54:38.259 18828 18828 D cocos2d-x debug info: cJSON_String
06-27 13:54:38.259 18828 18828 D cocos2d-x debug info: Dictionary setObject -- addObject success figureurl_qq_1
06-27 13:54:38.259 18828 18828 D cocos2d-x debug info: cJSON_String
06-27 13:54:38.259 18828 18828 D cocos2d-x debug info: Dictionary setObject -- addObject success city
06-27 13:54:38.259 18828 18828 D cocos2d-x debug info: cJSON_String
06-27 13:54:38.260 18828 18828 D cocos2d-x debug info: Dictionary setObject -- addObject success figureurl_1
06-27 13:54:38.260 18828 18828 D cocos2d-x debug info: cJSON_String
06-27 13:54:38.260 18828 18828 D cocos2d-x debug info: Dictionary setObject -- addObject success gender
06-27 13:54:38.260 18828 18828 D cocos2d-x debug info: cJSON_String
06-27 13:54:38.260 18828 18828 D cocos2d-x debug info: Dictionary setObject -- addObject success province
06-27 13:54:38.260 18828 18828 D cocos2d-x debug info: cJSON_String
06-27 13:54:38.260 18828 18828 D cocos2d-x debug info: Dictionary setObject -- addObject success is_yellow_year_vip
06-27 13:54:38.261 18828 18828 D cocos2d-x debug info: cJSON_String
06-27 13:54:38.261 18828 18828 D cocos2d-x debug info: Dictionary setObject -- addObject success yellow_vip_level
06-27 13:54:38.261 18828 18828 D cocos2d-x debug info: cJSON_String
06-27 13:54:38.261 18828 18828 D cocos2d-x debug info: Dictionary setObject -- addObject success figureurl
06-27 13:54:38.261 18828 18828 D cocos2d-x debug info: cJSON_String
06-27 13:54:38.261 18828 18828 D cocos2d-x debug info: Dictionary setObject -- addObject success figureurl_2
06-27 13:54:38.261 18828 18828 D cocos2d-x debug info: cJSON_Number
06-27 13:54:38.261 18828 18828 D cocos2d-x debug info: Dictionary setObject -- addObject success is_lost
06-27 13:54:38.261 18828 18828 D cocos2d-x debug info: cJSON_String
06-27 13:54:38.262 18828 18828 D cocos2d-x debug info: Dictionary setObject -- addObject success figureurl_qq_2
06-27 13:54:38.262 18828 18828 D cocos2d-x debug info: cJSON_String
06-27 13:54:38.262 18828 18828 D cocos2d-x debug info: Dictionary setObject -- addObject success level
06-27 13:54:38.262 18828 18828 D cocos2d-x debug info: cJSON_Number
06-27 13:54:38.262 18828 18828 D cocos2d-x debug info: Dictionary setObject -- addObject success ret
06-27 13:54:38.262 18828 18828 D cocos2d-x debug info: Dictionary setObject -- addObject success res
06-27 13:54:38.262 18828 18828 D cocos2d-x debug info: Success
06-27 13:54:38.263 18828 18828 D cocos2d-x debug info: key = is_yellow_vip
06-27 13:54:38.263 18828 18828 D cocos2d-x debug info: value = 0
06-27 13:54:38.263 18828 18828 D cocos2d-x debug info: key = msg
06-27 13:54:38.263 18828 18828 D cocos2d-x debug info: value =
06-27 13:54:38.264 18828 18828 D cocos2d-x debug info: key = vip
06-27 13:54:38.264 18828 18828 D cocos2d-x debug info: value = 0
06-27 13:54:38.264 18828 18828 D cocos2d-x debug info: key = nickname
06-27 13:54:38.264 18828 18828 D cocos2d-x debug info: value = 峻峰龙龙
06-27 13:54:38.264 18828 18828 D cocos2d-x debug info: key = figureurl_qq_1
06-27 13:54:38.264 18828 18828 D cocos2d-x debug info: value = http://q.qlogo.cn/qqapp/100371282/8B93D1E33AAE68E8B5D2CB4D61C16535/40
06-27 13:54:38.264 18828 18828 D cocos2d-x debug info: key = city
06-27 13:54:38.264 18828 18828 D cocos2d-x debug info: value = 朝阳
06-27 13:54:38.264 18828 18828 D cocos2d-x debug info: key = figureurl_1
06-27 13:54:38.264 18828 18828 D cocos2d-x debug info: value = http://qzapp.qlogo.cn/qzapp/100371282/8B93D1E33AAE68E8B5D2CB4D61C16535/50
06-27 13:54:38.264 18828 18828 D cocos2d-x debug info: key = gender
06-27 13:54:38.265 18828 18828 D cocos2d-x debug info: value = 男
06-27 13:54:38.265 18828 18828 D cocos2d-x debug info: key = province
06-27 13:54:38.265 18828 18828 D cocos2d-x debug info: value = 北京
06-27 13:54:38.265 18828 18828 D cocos2d-x debug info: key = is_yellow_year_vip
06-27 13:54:38.265 18828 18828 D cocos2d-x debug info: value = 0
06-27 13:54:38.265 18828 18828 D cocos2d-x debug info: key = yellow_vip_level
06-27 13:54:38.265 18828 18828 D cocos2d-x debug info: value = 0
06-27 13:54:38.265 18828 18828 D cocos2d-x debug info: key = figureurl
06-27 13:54:38.265 18828 18828 D cocos2d-x debug info: value = http://qzapp.qlogo.cn/qzapp/100371282/8B93D1E33AAE68E8B5D2CB4D61C16535/30
06-27 13:54:38.265 18828 18828 D cocos2d-x debug info: key = figureurl_2
06-27 13:54:38.265 18828 18828 D cocos2d-x debug info: value = http://qzapp.qlogo.cn/qzapp/100371282/8B93D1E33AAE68E8B5D2CB4D61C16535/100
06-27 13:54:38.266 18828 18828 D cocos2d-x debug info: key = is_lost
06-27 13:54:38.266 18828 18828 D cocos2d-x debug info: key = figureurl_qq_2
06-27 13:54:38.266 18828 18828 D cocos2d-x debug info: value = http://q.qlogo.cn/qqapp/100371282/8B93D1E33AAE68E8B5D2CB4D61C16535/100
06-27 13:54:38.266 18828 18828 D cocos2d-x debug info: key = level
06-27 13:54:38.266 18828 18828 D cocos2d-x debug info: value = 0
06-27 13:54:38.266 18828 18828 D cocos2d-x debug info: key = ret

使用之前的版本,会收到userid和token等信息,现在怎么没有了,与以前的数据格式不同,希望帮我分析一下。

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.