Toggle navigation
Toggle navigation
This project
Loading...
Sign in
guangka
/
public_sdk_android
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
xuguohong
2020-01-10 09:42:42 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
123850163e83ef32825f6ee11a6b1d4742302bd3
12385016
1 parent
45338c7a
update
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
65 additions
and
2 deletions
README.md
assets/poolsdk_gat.xml
demo/.idea/misc.xml
demo/app/build.gradle
demo/app/src/main/assets/poolsdk_gat.xml
demo/app/src/main/java/com/youai/foolsdk/demo/AppActivity.java
doc/公共SDK客户端接入文档.md
README.md
View file @
1238501
...
...
@@ -10,3 +10,6 @@
-
更新更新PoolSdk_V2包名,将YouYuSDK_xxx.jar替换为AppSdk_xxx.jar,替换assets下的sdk和sdk.zip
-
2019-12-19
-
更新PoolSdk_V2,删除assets中sdk/sdk.zip/sdkconfig.ini 删除AppSdk_xxx.jar,android-support-v4.jar
-
2020-1-10
-
添加hasFunction,callFunc等接口,用来处理商品查询,实名页面等具体查看文档
\ No newline at end of file
...
...
assets/poolsdk_gat.xml
0 → 100644
View file @
1238501
<?xml version="1.0" encoding="utf-8"?>
<config>
<sdkconfig
channelparameter1=
""
channelparameter2=
""
custom=
"{}"
gamechannelid=
""
sdksimplename=
"poolsdk"
sdkversioncode=
"V1_0"
usertype=
"14"
gamesimplename=
"fytx_test"
logceportcrl=
"https://hk-public.sdk.guangkatf.com/sdk/statistic"
logincheckurl=
"https://yxgl-sdk.txwy.tw/logincheck/check"
payorderurl=
"https://yxgl-sdk.txwy.tw/paycheck/create"
paycheckurl=
"https://yxgl-sdk.txwy.tw/paycheck/confirm"
/>
</config>
\ No newline at end of file
demo/.idea/misc.xml
View file @
1238501
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<component
name=
"ProjectRootManager"
version=
"2"
languageLevel=
"JDK_1_
8
"
project-jdk-name=
"1.8"
project-jdk-type=
"JavaSDK"
>
<component
name=
"ProjectRootManager"
version=
"2"
languageLevel=
"JDK_1_
7
"
project-jdk-name=
"1.8"
project-jdk-type=
"JavaSDK"
>
<output
url=
"file://$PROJECT_DIR$/build/classes"
/>
</component>
<component
name=
"ProjectType"
>
...
...
demo/app/build.gradle
View file @
1238501
...
...
@@ -20,5 +20,5 @@ android {
dependencies
{
implementation
fileTree
(
include:
[
'*.jar'
,
'*.aar'
],
dir:
'libs'
)
// implementation 'com.android.support.constraint:constraint-layout:1.0.2'
implementation
files
(
'libs/PoolSdk_V2_20010
2
.jar'
)
implementation
files
(
'libs/PoolSdk_V2_20010
3
.jar'
)
}
...
...
demo/app/src/main/assets/poolsdk_gat.xml
0 → 100644
View file @
1238501
<?xml version="1.0" encoding="utf-8"?>
<config>
<sdkconfig
channelparameter1=
""
channelparameter2=
""
custom=
"{}"
gamechannelid=
""
sdksimplename=
"poolsdk"
sdkversioncode=
"V1_0"
usertype=
"14"
gamesimplename=
"fytx_test"
logceportcrl=
"https://hk-public.sdk.guangkatf.com/sdk/statistic"
logincheckurl=
"https://yxgl-sdk.txwy.tw/logincheck/check"
payorderurl=
"https://yxgl-sdk.txwy.tw/paycheck/create"
paycheckurl=
"https://yxgl-sdk.txwy.tw/paycheck/confirm"
/>
</config>
\ No newline at end of file
demo/app/src/main/java/com/youai/foolsdk/demo/AppActivity.java
View file @
1238501
...
...
@@ -533,6 +533,7 @@ public class AppActivity extends Activity implements OnClickListener {
* 商品查询接口
*/
private
void
queryProducts
(){
PoolSdkLog
.
logError
(
PoolSdkHelper
.
hasFunction
(
"hasQueryWithProducts"
)
+
"SSS"
);
Map
productMap
=
new
HashMap
<
Object
,
Object
>();
productMap
.
put
(
"productId1"
,
""
);
productMap
.
put
(
"productId2"
,
""
);
...
...
doc/公共SDK客户端接入文档.md
View file @
1238501
...
...
@@ -583,6 +583,33 @@ serverName | 服务器名称
说明:游戏方需要渠道SDK实名认证信息时调用(请在登陆成功后再调用)
-
显示实名页面功能
```
java
/** 是否存在接口
* @param functionName (是否有实名页面界面接口传"hasRealNameVerifyView")
* @return true:为存在 false:不存在 */
public
static
boolean
hasFunction
(
String
functionName
){
}
//回调结果到初始化监听接口中
public
void
poolSdkCallBack
(
int
code
,
String
msg
)
{
if
(
code
==
PoolSDKCode
.
POOLSDK_EXTENDS_CODE1
)
//实名认证成功才有回调
{
//msg为生日 格式(与查询的结果一样):19900101
}
}
/** *
* 显示实名页面
* @param funcName 方法名 (显示实名认证页面接口"showRealNameVerifyView")
* @param param 传空Map
* @return
*/
public
static
String
callFunc
(
String
funcName
,
Map
<
Object
,
Object
>
param
){}
```
-
查询实名状态结果
```
java
public
String
verifyRealName
(
Activity
paramActivity
)
```
...
...
Please
register
or
login
to post a comment