Skip to content

Commit 8c00b54

Browse files
committed
version 2.3.0; 添加中间页说明;更新示例
1 parent 73e0820 commit 8c00b54

File tree

208 files changed

+193
-5625
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

208 files changed

+193
-5625
lines changed

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
# ChangeLog
22

3+
### 2.3.0
4+
5+
- 更新: 源码使用 Kotlin
6+
- 新增: 添加“中间页面”支持,用于处理一些异常情况,用户需要使用 XML 自定义页面替换
7+
8+
---
9+
10+
### 2.2.6
11+
12+
- 更新: 微信签约更新
13+
14+
### 2.2.5
15+
16+
- 修正: 签约方法修正
17+
318
### 2.2.4
419

520
- 更新: 银联 SDK 更新至 3.4.8

README.md

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ docs 目录里面是 Android SDK 的接入指南。
2727
Android SDK 要求 `Android 4.1` 及以上版本
2828
请使用 `Java 8` 或以上版本
2929

30+
**需要 Kotlin 标准库**
31+
32+
## 额外说明
33+
34+
1. [中间页说明](/docs/支付中间页面说明.md)
35+
3036
## <h2 id='3'>快速体验</h2>
3137

3238
### Android Studio
@@ -62,7 +68,7 @@ allprojects {
6268

6369
```groovy
6470
dependencies {
65-
implementation 'com.pingxx:pingpp-android:2.2.6' // (Ping++ 标准版 SDK) 必须添加
71+
implementation 'com.pingxx:pingpp-android:2.3.0' // (Ping++ 标准版 SDK) 必须添加
6672
implementation 'com.tencent.mm.opensdk:wechat-sdk-android-without-mta:5.5.8' // 使用微信支付时添加,具体版本参考微信官方文档或者 jcenter
6773
implementation 'com.pingxx:pingpp-android-alipay:15.6.8' // 使用支付宝时添加
6874
implementation 'com.pingxx:pingpp-android-upacp:3.4.8' // 使用银联支付时添加
@@ -87,21 +93,10 @@ dependencies {
8793
</dependency>
8894
```
8995

90-
#### 下载 SDK 导入
91-
92-
在 lib 目录中包含 pingpp(标准版 SDK)资源,其中包含支付所需的 jar 包和资源包,请按需拷贝相应的文件到项目中。
93-
94-
##### pingpp
95-
96-
- Ping++ 依赖包:`libpingpp-x.x.x``res` 资源文件和 `libpingpp.so` 文件(必须依赖的)
97-
- 微信依赖包:`wechat-sdk-android-without-mta-VERSION.jar`
98-
- 支付宝依赖包:`alipaySdkxxxxxxxx.jar`
99-
- 银联支付依赖包:`UPPayAssistEx.jar``UPPayPluginExPro.jar``libentryexpro.so``libuptsmaddon.so``assets` 目录下 `data.bin` 文件
100-
- QQ钱包依赖包:`mqqopenpay.jar`
101-
- 招行一网通(混淆加密方式可不配置相关的参数,非混淆加密方式需配置):`cmbkeyboard.jar``res` 目录下 `cmb_` 开头的资源文件
102-
10396
### <h3 id='4.2'>二、清单文件配置所需权限</h3>
10497

98+
> 缺少时或者需要覆盖时可按下述说明添加
99+
105100
<font color='red'>(注:有些权限是需要动态注册的,如 `READ_PHONE_STATE` 权限)</font>
106101

107102
``` xml
@@ -347,7 +342,7 @@ SDK 提供了日志功能,默认日志为关闭状态。 开发者可以通过
347342

348343
``` java
349344
//开启调试模式
350-
Pingpp.DEBUG = true;
345+
Pingpp.enableDebugLog(true);
351346
```
352347

353348
## <h2 id='6'>注意事项</h2>

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ buildscript {
55
jcenter()
66
}
77
dependencies {
8-
classpath 'com.android.tools.build:gradle:3.3.0'
8+
classpath 'com.android.tools.build:gradle:3.5.3'
99
}
1010
}
1111

0 commit comments

Comments
 (0)