Giter Club home page Giter Club logo

sdkbox-sample-agecheq's People

Contributors

hugohuang1111 avatar tinybearc avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

tinybearc

sdkbox-sample-agecheq's Issues

Android - cpp 测试结果

agecheq 版本:2.1.3.2

一个按钮:check

输出log:

03-29 22:40:12.695  5200  5220 D cocos2d-x debug info: check
03-29 22:40:12.709  5200  5348 W System  : ClassLoader referenced unknown path: /system/framework/tcmclient.jar
03-29 22:40:12.710  5200  5349 W System  : ClassLoader referenced unknown path: /system/framework/tcmclient.jar
03-29 22:40:18.262  5200  5348 D dbgAgeCheqLib: JSON STRING: {"rtn":"ok","rtnmsg":"","data":{"apiversion":3,"checktype":0,"appid":"ca0e20a3-3bb8-42e1-a5ac-55af7f63dbfc","acpin":"1426","appauthorized":false,"appblocked":false,"parentverified":0,"regcountry":"US","reg":"COPPA","underregage":false,"under13":false,"under18":true,"underdevage":false,"trials":0}}
03-29 22:40:18.262  5200  5348 D dbgAgeCheq: call listener
03-29 22:40:18.272  5200  5220 D cocos2d-x debug info: checkResponse
03-29 22:40:18.272  5200  5220 D cocos2d-x debug info:   rtn: ok
03-29 22:40:18.272  5200  5220 D cocos2d-x debug info:   rtnmsg:
03-29 22:40:18.272  5200  5220 D cocos2d-x debug info:   apiversion: 0
03-29 22:40:18.272  5200  5220 D cocos2d-x debug info:   checktype: 0
03-29 22:40:18.272  5200  5220 D cocos2d-x debug info:   appauthorized: NO
03-29 22:40:18.272  5200  5220 D cocos2d-x debug info:   appblocked: NO
03-29 22:40:18.272  5200  5220 D cocos2d-x debug info:   parentverified: NO
03-29 22:40:18.272  5200  5220 D cocos2d-x debug info:   under13: YES
03-29 22:40:18.272  5200  5220 D cocos2d-x debug info:   under18: NO
03-29 22:40:18.272  5200  5220 D cocos2d-x debug info:   underdevage: NO
03-29 22:40:18.273  5200  5220 D cocos2d-x debug info:   trials: -1360707728
03-29 22:40:21.358  5200  5349 D dbgAgeCheqLib: JSON STRING: {"rtn":"ok","rtnmsg":"","data":{"apiversion":3}}
03-29 22:40:21.358  5200  5349 D dbgAgeCheq: call listener
03-29 22:40:21.372  5200  5220 D cocos2d-x debug info: associateDataResponse
03-29 22:40:21.372  5200  5220 D cocos2d-x debug info:   rtn: ok
03-29 22:40:21.373  5200  5220 D cocos2d-x debug info:   rtnmsg:

IOS - lua 测试结果

agecheq 版本:2.1.3.2

一个按钮:check

输出log:

2016-03-29 22:51:09.025 agecheq_lua-mobile[7031:53736] [LUA-print] check
2016-03-29 22:51:22.794 agecheq_lua-mobile[7031:53736] [LUA-print] dump from: [string "app/views/MainScene.lua"]:24: in function <[string "app/views/MainScene.lua"]:22>
2016-03-29 22:51:22.794 agecheq_lua-mobile[7031:53736] [LUA-print] - "<var>" = {
2016-03-29 22:51:22.795 agecheq_lua-mobile[7031:53736] [LUA-print] -     "apiversion"     = 3
2016-03-29 22:51:22.795 agecheq_lua-mobile[7031:53736] [LUA-print] -     "appauthorized"  = false
2016-03-29 22:51:22.795 agecheq_lua-mobile[7031:53736] [LUA-print] -     "appblocked"     = false
2016-03-29 22:51:22.795 agecheq_lua-mobile[7031:53736] [LUA-print] -     "checktype"      = 0
2016-03-29 22:51:22.795 agecheq_lua-mobile[7031:53736] [LUA-print] -     "event"          = "checkResponse"
2016-03-29 22:51:22.796 agecheq_lua-mobile[7031:53736] [LUA-print] -     "parentverified" = 0
2016-03-29 22:51:22.796 agecheq_lua-mobile[7031:53736] [LUA-print] -     "rtn"            = "ok"
2016-03-29 22:51:22.796 agecheq_lua-mobile[7031:53736] [LUA-print] -     "rtnmsg"         = ""
2016-03-29 22:51:22.796 agecheq_lua-mobile[7031:53736] [LUA-print] -     "trials"         = 0
2016-03-29 22:51:22.796 agecheq_lua-mobile[7031:53736] [LUA-print] -     "under13"        = false
2016-03-29 22:51:22.796 agecheq_lua-mobile[7031:53736] [LUA-print] -     "under18"        = true
2016-03-29 22:51:22.796 agecheq_lua-mobile[7031:53736] [LUA-print] -     "underdevage"    = false
2016-03-29 22:51:22.797 agecheq_lua-mobile[7031:53736] [LUA-print] - }
2016-03-29 22:51:25.055 agecheq_lua-mobile[7031:53736] [LUA-print] dump from: [string "app/views/MainScene.lua"]:26: in function <[string "app/views/MainScene.lua"]:22>
2016-03-29 22:51:25.055 agecheq_lua-mobile[7031:53736] [LUA-print] - "<var>" = {
2016-03-29 22:51:25.055 agecheq_lua-mobile[7031:53736] [LUA-print] -     "event"  = "associateDataResponse"
2016-03-29 22:51:25.055 agecheq_lua-mobile[7031:53736] [LUA-print] -     "rtn"    = "ok"
2016-03-29 22:51:25.055 agecheq_lua-mobile[7031:53736] [LUA-print] -     "rtnmsg" = ""
2016-03-29 22:51:25.056 agecheq_lua-mobile[7031:53736] [LUA-print] - }

IOS - js 测试结果

agecheq 版本:2.1.3.2

一个按钮:check

输出log:

2016-03-29 22:43:47.129 agecheq_js-mobile[6382:47736] JS: check
2016-03-29 22:43:47.699 agecheq_js-mobile[6382:47736] JS: checkResponse rtn:ok rtnmsg: apiversion:3 checktype:0 appauthorized:false appblocked:false parentverified:0 under13:false under18:true underdevage:false trials:0
2016-03-29 22:43:49.755 agecheq_js-mobile[6382:47736] JS: associateDataResponse rtn:ok rtnmsg:
2016-03-29 22:43:55.029 agecheq_js-mobile[6382:47736] JS: check
2016-03-29 22:43:55.462 agecheq_js-mobile[6382:47736] JS: checkResponse rtn:ok rtnmsg: apiversion:3 checktype:0 appauthorized:false appblocked:false parentverified:0 under13:false under18:true underdevage:false trials:0
2016-03-29 22:43:55.565 agecheq_js-mobile[6382:47736] JS: associateDataResponse rtn:ok rtnmsg:

IOS - cpp 测试结果

agecheq 版本:2.1.3.2

一个按钮:check

输出log:

2016-03-29 22:36:17.328 agecheq_cpp-mobile[5735:41957] check
2016-03-29 22:36:17.831 agecheq_cpp-mobile[5735:41957] checkResponse
2016-03-29 22:36:17.831 agecheq_cpp-mobile[5735:41957]   rtn: ok
2016-03-29 22:36:17.831 agecheq_cpp-mobile[5735:41957]   rtnmsg: 
2016-03-29 22:36:17.831 agecheq_cpp-mobile[5735:41957]   apiversion: 3
2016-03-29 22:36:17.832 agecheq_cpp-mobile[5735:41957]   checktype: 0
2016-03-29 22:36:17.832 agecheq_cpp-mobile[5735:41957]   appauthorized: NO
2016-03-29 22:36:17.832 agecheq_cpp-mobile[5735:41957]   appblocked: NO
2016-03-29 22:36:17.833 agecheq_cpp-mobile[5735:41957]   parentverified: NO
2016-03-29 22:36:17.833 agecheq_cpp-mobile[5735:41957]   under13: NO
2016-03-29 22:36:17.833 agecheq_cpp-mobile[5735:41957]   under18: YES
2016-03-29 22:36:17.833 agecheq_cpp-mobile[5735:41957]   underdevage: NO
2016-03-29 22:36:17.834 agecheq_cpp-mobile[5735:41957]   trials: 0
2016-03-29 22:36:17.843 agecheq_cpp-mobile[5735:41957] associateDataResponse
2016-03-29 22:36:17.843 agecheq_cpp-mobile[5735:41957]   rtn: ok
2016-03-29 22:36:17.844 agecheq_cpp-mobile[5735:41957]   rtnmsg: 

Android - lua 测试结果

agecheq 版本:2.1.3.2

一个按钮:check

输出log:

03-29 22:54:56.720  7488  7532 D cocos2d-x debug info: [LUA-print] check
03-29 22:54:56.739  7488  7688 W System  : ClassLoader referenced unknown path: /system/framework/tcmclient.jar
03-29 22:54:56.742  7488  7688 W System  : ClassLoader referenced unknown path: /system/framework/com.qualcomm.qti.GBAHttpAuthentication.jar
03-29 22:54:56.745  7488  7689 W System  : ClassLoader referenced unknown path: /system/framework/tcmclient.jar
03-29 22:55:09.204  7488  7689 E dbgAcheqLib: E2:Unable to resolve host "api.agecheq.com": No address associated with hostname
03-29 22:55:09.204  7488  7689 W System.err: java.net.UnknownHostException: Unable to resolve host "api.agecheq.com": No address associated with hostname
03-29 22:55:09.214  7488  7689 W System.err:    at java.net.InetAddress.lookupHostByName(InetAddress.java:470)
03-29 22:55:09.214  7488  7689 W System.err:    at java.net.InetAddress.getAllByNameImpl(InetAddress.java:252)
03-29 22:55:09.214  7488  7689 W System.err:    at java.net.InetAddress.getAllByName(InetAddress.java:215)
03-29 22:55:09.214  7488  7689 W System.err:    at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:142)
03-29 22:55:09.215  7488  7689 W System.err:    at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:169)
03-29 22:55:09.215  7488  7689 W System.err:    at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:124)
03-29 22:55:09.215  7488  7689 W System.err:    at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:370)
03-29 22:55:09.215  7488  7689 W System.err:    at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:560)
03-29 22:55:09.216  7488  7689 W System.err:    at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:492)
03-29 22:55:09.216  7488  7689 W System.err:    at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:470)
03-29 22:55:09.216  7488  7689 W System.err:    at com.agecheq.agecheqlib.AgeCheqApi$1.run(AgeCheqApi.java:97)
03-29 22:55:09.216  7488  7689 W System.err:    at java.lang.Thread.run(Thread.java:818)
03-29 22:55:09.217  7488  7689 W System.err: Caused by: android.system.GaiException: android_getaddrinfo failed: EAI_NODATA (No address associated with hostname)
03-29 22:55:09.227  7488  7689 W System.err:    at libcore.io.Posix.android_getaddrinfo(Native Method)
03-29 22:55:09.227  7488  7689 W System.err:    at libcore.io.ForwardingOs.android_getaddrinfo(ForwardingOs.java:55)
03-29 22:55:09.230  7488  7689 W System.err:    at java.net.InetAddress.lookupHostByName(InetAddress.java:451)
03-29 22:55:09.230  7488  7689 W System.err:    ... 11 more
03-29 22:55:09.234  7488  7689 E dbgAgeCheqLib: Error parsing data: org.json.JSONException: End of input at character 0 of
03-29 22:55:09.235  7488  7689 D dbgAgeCheqLib: Exception delivering data:Attempt to invoke virtual method 'java.lang.String org.json.JSONObject.toString()' on a null object reference
03-29 22:55:09.236  7488  7689 D dbgAgeCheq: call listener
03-29 22:55:09.240  7488  7532 D cocos2d-x debug info: [LUA-print] dump from: [string "app/views/MainScene.lua"]:26: in function <[string "app/views/MainScene.lua"]:22>
03-29 22:55:09.240  7488  7532 D cocos2d-x debug info: [LUA-print] - "<var>" = {
03-29 22:55:09.240  7488  7532 D cocos2d-x debug info: [LUA-print] -     "event"  = "associateDataResponse"
03-29 22:55:09.240  7488  7532 D cocos2d-x debug info: [LUA-print] -     "rtn"    = ""
03-29 22:55:09.241  7488  7532 D cocos2d-x debug info: [LUA-print] -     "rtnmsg" = ""
03-29 22:55:09.241  7488  7532 D cocos2d-x debug info: [LUA-print] - }

Android - js 测试结果

agecheq 版本:2.1.3.2

一个按钮:check

输出log:

03-29 22:47:43.356  6149  6177 D cocos2d-x debug info: JS: check
03-29 22:47:43.373  6149  6262 W System  : ClassLoader referenced unknown path: /system/framework/tcmclient.jar
03-29 22:47:43.374  6149  6264 W System  : ClassLoader referenced unknown path: /system/framework/tcmclient.jar
03-29 22:47:43.374  6149  6262 W System  : ClassLoader referenced unknown path: /system/framework/com.qualcomm.qti.GBAHttpAuthentication.jar
03-29 22:47:51.338  6149  6264 E dbgAcheqLib: E2:Unable to resolve host "api.agecheq.com": No address associated with hostname
03-29 22:47:51.338  6149  6264 W System.err: java.net.UnknownHostException: Unable to resolve host "api.agecheq.com": No address associated with hostname
03-29 22:47:51.344  6149  6264 W System.err:    at java.net.InetAddress.lookupHostByName(InetAddress.java:470)
03-29 22:47:51.344  6149  6264 W System.err:    at java.net.InetAddress.getAllByNameImpl(InetAddress.java:252)
03-29 22:47:51.344  6149  6264 W System.err:    at java.net.InetAddress.getAllByName(InetAddress.java:215)
03-29 22:47:51.345  6149  6264 W System.err:    at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:142)
03-29 22:47:51.345  6149  6264 W System.err:    at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:169)
03-29 22:47:51.345  6149  6264 W System.err:    at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:124)
03-29 22:47:51.345  6149  6264 W System.err:    at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:370)
03-29 22:47:51.345  6149  6264 W System.err:    at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:560)
03-29 22:47:51.346  6149  6264 W System.err:    at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:492)
03-29 22:47:51.346  6149  6264 W System.err:    at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:470)
03-29 22:47:51.346  6149  6264 W System.err:    at com.agecheq.agecheqlib.AgeCheqApi$1.run(AgeCheqApi.java:97)
03-29 22:47:51.347  6149  6264 W System.err:    at java.lang.Thread.run(Thread.java:818)
03-29 22:47:51.347  6149  6264 W System.err: Caused by: android.system.GaiException: android_getaddrinfo failed: EAI_NODATA (No address associated with hostname)
03-29 22:47:51.352  6149  6264 W System.err:    at libcore.io.Posix.android_getaddrinfo(Native Method)
03-29 22:47:51.354  6149  6264 W System.err:    at libcore.io.ForwardingOs.android_getaddrinfo(ForwardingOs.java:55)
03-29 22:47:51.354  6149  6264 W System.err:    at java.net.InetAddress.lookupHostByName(InetAddress.java:451)
03-29 22:47:51.354  6149  6264 W System.err:    ... 11 more
03-29 22:47:51.360  6149  6264 E dbgAgeCheqLib: Error parsing data: org.json.JSONException: End of input at character 0 of
03-29 22:47:51.362  6149  6264 D dbgAgeCheqLib: Exception delivering data:Attempt to invoke virtual method 'java.lang.String org.json.JSONObject.toString()' on a null object reference
03-29 22:47:51.362  6149  6264 D dbgAgeCheq: call listener
03-29 22:47:51.370  6149  6177 D cocos2d-x debug info: JS: associateDataResponse rtn: rtnmsg:
03-29 22:47:57.153  6149  6262 E dbgAcheqLib: E2:Unable to resolve host "api.agecheq.com": No address associated with hostname
03-29 22:47:57.153  6149  6262 W System.err: java.net.UnknownHostException: Unable to resolve host "api.agecheq.com": No address associated with hostname
03-29 22:47:57.154  6149  6262 W System.err:    at java.net.InetAddress.lookupHostByName(InetAddress.java:470)
03-29 22:47:57.154  6149  6262 W System.err:    at java.net.InetAddress.getAllByNameImpl(InetAddress.java:252)
03-29 22:47:57.154  6149  6262 W System.err:    at java.net.InetAddress.getAllByName(InetAddress.java:215)
03-29 22:47:57.155  6149  6262 W System.err:    at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:142)
03-29 22:47:57.155  6149  6262 W System.err:    at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:169)
03-29 22:47:57.155  6149  6262 W System.err:    at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:124)
03-29 22:47:57.155  6149  6262 W System.err:    at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:370)
03-29 22:47:57.155  6149  6262 W System.err:    at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:560)
03-29 22:47:57.156  6149  6262 W System.err:    at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:492)
03-29 22:47:57.156  6149  6262 W System.err:    at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:470)
03-29 22:47:57.156  6149  6262 W System.err:    at com.agecheq.agecheqlib.AgeCheqApi$1.run(AgeCheqApi.java:97)
03-29 22:47:57.156  6149  6262 W System.err:    at java.lang.Thread.run(Thread.java:818)
03-29 22:47:57.157  6149  6262 W System.err: Caused by: android.system.GaiException: android_getaddrinfo failed: EAI_NODATA (No address associated with hostname)
03-29 22:47:57.157  6149  6262 W System.err:    at libcore.io.Posix.android_getaddrinfo(Native Method)
03-29 22:47:57.158  6149  6262 W System.err:    at libcore.io.ForwardingOs.android_getaddrinfo(ForwardingOs.java:55)
03-29 22:47:57.158  6149  6262 W System.err:    at java.net.InetAddress.lookupHostByName(InetAddress.java:451)
03-29 22:47:57.158  6149  6262 W System.err:    ... 11 more
03-29 22:47:57.158  6149  6262 E dbgAgeCheqLib: Error parsing data: org.json.JSONException: End of input at character 0 of
03-29 22:47:57.173  6149  6262 D dbgAgeCheqLib: Exception delivering data:Attempt to invoke virtual method 'java.lang.String org.json.JSONObject.toString()' on a null object reference
03-29 22:47:57.173  6149  6262 D dbgAgeCheq: call listener
03-29 22:47:57.182  6149  6177 D cocos2d-x debug info: JS: checkResponse rtn: rtnmsg: apiversion:0 checktype:0 appauthorized:false appblocked:false parentverified:0 under13:false under18:false underdevage:false trials:-1360715312

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.