Commit 1a7b48163065b3838f7846f406d209a97f660e8a
1 parent
41b4f2203c
Exists in
master
4.7.5_orange
Showing 4 changed files with 9 additions and 9 deletions Side-by-side Diff
GameSDKDemo/build.gradle
... | ... | @@ -91,6 +91,6 @@ dependencies { |
91 | 91 | implementation 'com.android.support:design:27.1.1' |
92 | 92 | // implementation project(':GameSDK') |
93 | 93 | // implementation project(':IAP5Helper') |
94 | - implementation 'com.gumptech.sdk:GameSDK:4.7.2' | |
94 | + implementation 'com.gumptech.sdk:GameSDK:4.7.5_orange' | |
95 | 95 | // implementation 'com.gumptech.sdk:SamsungIAP:5.1.1' |
96 | 96 | } |
GameSDKDemo/src/main/java/com/gumptech/sdk/demo/MainActivity.java
... | ... | @@ -35,8 +35,8 @@ public class MainActivity extends AppCompatActivity implements PurchaseCallback |
35 | 35 | private Button btnPay; |
36 | 36 | private Button btnIap; |
37 | 37 | |
38 | - private String appId = "10036"; | |
39 | - private String appKey = "7c127e0c66f06e58c7c7310a7c6fa488"; | |
38 | + private String appId = "100"; | |
39 | + private String appKey = "f899139df5e1059396431415e770c6dd"; | |
40 | 40 | private GumpUser gumpUser; |
41 | 41 | |
42 | 42 | /** |
... | ... | @@ -92,7 +92,7 @@ public class MainActivity extends AppCompatActivity implements PurchaseCallback |
92 | 92 | @Override |
93 | 93 | public void onResult(boolean isRisk) { |
94 | 94 | btnIap.setEnabled(isRisk); |
95 | - btnPay.setEnabled(!isRisk); | |
95 | + btnPay.setEnabled(isRisk); | |
96 | 96 | } |
97 | 97 | }); |
98 | 98 | } |
GameSDKDemo/src/main/res/values-zh/strings.xml
... | ... | @@ -6,8 +6,8 @@ |
6 | 6 | <string name="init">初始化</string> |
7 | 7 | <string name="login">登录</string> |
8 | 8 | <string name="check">检查支付状态</string> |
9 | - <string name="iap">官方支付(无弹窗)</string> | |
10 | - <string name="pay">弹窗支付</string> | |
9 | + <string name="iap">官方支付(插件支付)</string> | |
10 | + <string name="pay">三方支付</string> | |
11 | 11 | |
12 | 12 | |
13 | 13 | <string name="hint_product">商品id/商品名</string> |
README.md
1 | 1 | # Gump SDK 4 for Android接入文档 |
2 | 2 | |
3 | 3 | |
4 | -V4.7.2 | |
5 | -2019年06月11日 | |
4 | +V4.7.5_orange | |
5 | +2019年07月12日 | |
6 | 6 | |
7 | 7 | |
8 | 8 | ## 版本概述 |
... | ... | @@ -21,7 +21,7 @@ V4.7.2 |
21 | 21 | } |
22 | 22 | } |
23 | 23 | dependencies { |
24 | - implementation 'com.gumptech.sdk:GameSDK:4.7.2' | |
24 | + implementation 'com.gumptech.sdk:GameSDK:4.7.5_orange' | |
25 | 25 | |
26 | 26 | } |
27 | 27 |