Showing
7 changed files
with
66 additions
and
3 deletions
... | @@ -9,4 +9,7 @@ | ... | @@ -9,4 +9,7 @@ |
9 | - 2019-12-04 | 9 | - 2019-12-04 |
10 | - 更新更新PoolSdk_V2包名,将YouYuSDK_xxx.jar替换为AppSdk_xxx.jar,替换assets下的sdk和sdk.zip | 10 | - 更新更新PoolSdk_V2包名,将YouYuSDK_xxx.jar替换为AppSdk_xxx.jar,替换assets下的sdk和sdk.zip |
11 | - 2019-12-19 | 11 | - 2019-12-19 |
12 | - - 更新PoolSdk_V2,删除assets中sdk/sdk.zip/sdkconfig.ini 删除AppSdk_xxx.jar,android-support-v4.jar | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
12 | + - 更新PoolSdk_V2,删除assets中sdk/sdk.zip/sdkconfig.ini 删除AppSdk_xxx.jar,android-support-v4.jar | ||
13 | + | ||
14 | +- 2020-1-10 | ||
15 | + - 添加hasFunction,callFunc等接口,用来处理商品查询,实名页面等具体查看文档 | ||
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
assets/poolsdk_gat.xml
0 → 100644
1 | +<?xml version="1.0" encoding="utf-8"?> | ||
2 | +<config> | ||
3 | + <sdkconfig | ||
4 | + channelparameter1="" | ||
5 | + channelparameter2="" | ||
6 | + custom="{}" gamechannelid="" | ||
7 | + | ||
8 | + sdksimplename="poolsdk" | ||
9 | + sdkversioncode="V1_0" | ||
10 | + usertype="14" | ||
11 | + gamesimplename="fytx_test" | ||
12 | + logceportcrl="https://hk-public.sdk.guangkatf.com/sdk/statistic" | ||
13 | + logincheckurl="https://yxgl-sdk.txwy.tw/logincheck/check" | ||
14 | + payorderurl="https://yxgl-sdk.txwy.tw/paycheck/create" | ||
15 | + paycheckurl="https://yxgl-sdk.txwy.tw/paycheck/confirm" /> | ||
16 | +</config> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | <?xml version="1.0" encoding="UTF-8"?> | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | <project version="4"> | 2 | <project version="4"> |
3 | - <component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" project-jdk-name="1.8" project-jdk-type="JavaSDK"> | 3 | + <component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" project-jdk-name="1.8" project-jdk-type="JavaSDK"> |
4 | <output url="file://$PROJECT_DIR$/build/classes" /> | 4 | <output url="file://$PROJECT_DIR$/build/classes" /> |
5 | </component> | 5 | </component> |
6 | <component name="ProjectType"> | 6 | <component name="ProjectType"> | ... | ... |
... | @@ -20,5 +20,5 @@ android { | ... | @@ -20,5 +20,5 @@ android { |
20 | dependencies { | 20 | dependencies { |
21 | implementation fileTree(include: ['*.jar', '*.aar'], dir: 'libs') | 21 | implementation fileTree(include: ['*.jar', '*.aar'], dir: 'libs') |
22 | // implementation 'com.android.support.constraint:constraint-layout:1.0.2' | 22 | // implementation 'com.android.support.constraint:constraint-layout:1.0.2' |
23 | - implementation files('libs/PoolSdk_V2_200102.jar') | 23 | + implementation files('libs/PoolSdk_V2_200103.jar') |
24 | } | 24 | } | ... | ... |
demo/app/src/main/assets/poolsdk_gat.xml
0 → 100644
1 | +<?xml version="1.0" encoding="utf-8"?> | ||
2 | +<config> | ||
3 | + <sdkconfig | ||
4 | + channelparameter1="" | ||
5 | + channelparameter2="" | ||
6 | + custom="{}" gamechannelid="" | ||
7 | + | ||
8 | + sdksimplename="poolsdk" | ||
9 | + sdkversioncode="V1_0" | ||
10 | + usertype="14" | ||
11 | + gamesimplename="fytx_test" | ||
12 | + logceportcrl="https://hk-public.sdk.guangkatf.com/sdk/statistic" | ||
13 | + logincheckurl="https://yxgl-sdk.txwy.tw/logincheck/check" | ||
14 | + payorderurl="https://yxgl-sdk.txwy.tw/paycheck/create" | ||
15 | + paycheckurl="https://yxgl-sdk.txwy.tw/paycheck/confirm" /> | ||
16 | +</config> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
... | @@ -533,6 +533,7 @@ public class AppActivity extends Activity implements OnClickListener { | ... | @@ -533,6 +533,7 @@ public class AppActivity extends Activity implements OnClickListener { |
533 | * 商品查询接口 | 533 | * 商品查询接口 |
534 | */ | 534 | */ |
535 | private void queryProducts(){ | 535 | private void queryProducts(){ |
536 | + PoolSdkLog.logError(PoolSdkHelper.hasFunction("hasQueryWithProducts") + "SSS"); | ||
536 | Map productMap = new HashMap<Object,Object>(); | 537 | Map productMap = new HashMap<Object,Object>(); |
537 | productMap.put("productId1",""); | 538 | productMap.put("productId1",""); |
538 | productMap.put("productId2",""); | 539 | productMap.put("productId2",""); | ... | ... |
... | @@ -583,6 +583,33 @@ serverName | 服务器名称 | ... | @@ -583,6 +583,33 @@ serverName | 服务器名称 |
583 | 583 | ||
584 | 说明:游戏方需要渠道SDK实名认证信息时调用(请在登陆成功后再调用) | 584 | 说明:游戏方需要渠道SDK实名认证信息时调用(请在登陆成功后再调用) |
585 | 585 | ||
586 | +- 显示实名页面功能 | ||
587 | + | ||
588 | +```java | ||
589 | +/** 是否存在接口 | ||
590 | + * @param functionName (是否有实名页面界面接口传"hasRealNameVerifyView") | ||
591 | + * @return true:为存在 false:不存在 */ | ||
592 | + public static boolean hasFunction(String functionName){ | ||
593 | + } | ||
594 | + | ||
595 | +//回调结果到初始化监听接口中 | ||
596 | +public void poolSdkCallBack(int code, String msg) { | ||
597 | + if(code== PoolSDKCode.POOLSDK_EXTENDS_CODE1)//实名认证成功才有回调 | ||
598 | + { | ||
599 | + //msg为生日 格式(与查询的结果一样):19900101 | ||
600 | + } | ||
601 | +} | ||
602 | + | ||
603 | +/** * | ||
604 | +* 显示实名页面 | ||
605 | +* @param funcName 方法名 (显示实名认证页面接口"showRealNameVerifyView") | ||
606 | +* @param param 传空Map | ||
607 | +* @return | ||
608 | +*/ | ||
609 | +public static String callFunc(String funcName, Map<Object, Object> param){} | ||
610 | +``` | ||
611 | +- 查询实名状态结果 | ||
612 | + | ||
586 | ```java | 613 | ```java |
587 | public String verifyRealName(Activity paramActivity) | 614 | public String verifyRealName(Activity paramActivity) |
588 | ``` | 615 | ``` | ... | ... |
-
Please register or login to post a comment