Commit 020faf4c865b2d997dbe662b317da24b52143c54
1 parent
dc26b0ad68
Exists in
master
文档更新
Showing 2 changed files with 22 additions and 18 deletions Side-by-side Diff
README.md
| 1 | 1 | # Gump SDK 5 for Android接入文档 |
| 2 | 2 | |
| 3 | -V5.2.2 | |
| 4 | -2019年06月06日 | |
| 3 | +V5 | |
| 4 | +2019年07月16日 | |
| 5 | 5 | |
| 6 | 6 | ## 版本概述 |
| 7 | 7 | |
| ... | ... | @@ -24,7 +24,7 @@ V5.2.2 |
| 24 | 24 | //登录功能依赖 |
| 25 | 25 | implementation 'com.gump:Passport:5.2.2' |
| 26 | 26 | //支付功能依赖 |
| 27 | - implementation 'com.gump:Payment:5.2.2' | |
| 27 | + implementation 'com.gump:Payment:5.2.3' | |
| 28 | 28 | } |
| 29 | 29 | |
| 30 | 30 | ### 2.修改AndroidManifest.xml文件 |
| ... | ... | @@ -115,20 +115,24 @@ Actinos枚举: |
| 115 | 115 | 注册相应的Activity,具体如下: |
| 116 | 116 | |
| 117 | 117 | <activity |
| 118 | - android:name="com.gumptech.sdk.PaymentActivity" | |
| 119 | - android:configChanges="orientation|screenSize|keyboardHidden|keyboard|screenLayout" | |
| 120 | - android:launchMode="singleTask" | |
| 121 | - android:screenOrientation="behind" | |
| 122 | - android:theme="@android:style/Theme.Translucent.NoTitleBar" > | |
| 123 | - <intent-filter> | |
| 124 | - <category android:name="android.intent.category.DEFAULT" /> | |
| 125 | - <action android:name="android.intent.action.VIEW" /> | |
| 126 | - <category android:name="android.intent.category.BROWSABLE" /> | |
| 127 | - <data | |
| 128 | - android:host="com.gump.sdk" | |
| 129 | - android:scheme="gump+游戏的appId" /> | |
| 130 | - </intent-filter> | |
| 131 | - </activity> | |
| 118 | + android:name="com.gump.payment.PaymentActivity" | |
| 119 | + android:configChanges="orientation|screenSize|keyboardHidden|keyboard|screenLayout" | |
| 120 | + android:screenOrientation="behind" | |
| 121 | + android:launchMode="singleTask" | |
| 122 | + android:theme="@style/Theme.Translucent"> | |
| 123 | + <intent-filter> | |
| 124 | + <action android:name="android.intent.action.VIEW"/> | |
| 125 | + | |
| 126 | + <category android:name="android.intent.category.DEFAULT"/> | |
| 127 | + | |
| 128 | + <category android:name="android.intent.category.BROWSABLE"/> | |
| 129 | + | |
| 130 | + <data | |
| 131 | + android:host="com.gump.sdk" | |
| 132 | + android:scheme="gump+游戏的appId"/> | |
| 133 | + </intent-filter> | |
| 134 | + </activity> | |
| 135 | + | |
| 132 | 136 | |
| 133 | 137 | 1)判断是否使用三方支付 |
| 134 | 138 |
app/build.gradle