Skip to content

Commit

Permalink
+ 4.7.1 fix 一些设备连生物支付选项都没有, 导致无法显示指纹支付入口
Browse files Browse the repository at this point in the history
  • Loading branch information
eritpchy committed Jun 15, 2023
1 parent f0df42b commit 2617c3e
Show file tree
Hide file tree
Showing 12 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ android {
minSdkVersion 14
targetSdkVersion 30
versionCode 23
versionName "4.7.0"
versionName "4.7.1"
buildConfigField "String", "APP_PRODUCT_NAME", "\"FingerprintPay\""
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ private void doSettingsMenuInject_10_1_38(final Activity activity) {
//try use Alipay style
try {
View settingsView = versionCode >= 773 /** 10.3.80.9100 */
? ViewUtils.findViewByText(activity.getWindow().getDecorView(), "生物支付", "Biological ID Pay")
? ViewUtils.findViewByText(activity.getWindow().getDecorView(), "支付密码", "支付密碼", "Payment Password")
: ViewUtils.findViewByName(activity, "com.alipay.mobile.antui", "item_left_text");
L.d("settingsView", settingsView);
if (settingsView instanceof TextView) {
Expand Down Expand Up @@ -383,7 +383,7 @@ private void doSettingsMenuInject_10_1_38(final Activity activity) {
rootLinearLayout.addView(lineBottomView, lineParams);

if (versionCode >= 773 /** 10.3.80.9100 */) {
View itemView = ViewUtils.findViewByText(activity.getWindow().getDecorView(), "生物支付", "Biological ID Pay");
View itemView = ViewUtils.findViewByText(activity.getWindow().getDecorView(), "支付密码", "支付密碼", "Payment Password");
if (itemView != null) {
ViewGroup itemViewGroup = (ViewGroup) itemView.getParent().getParent().getParent().getParent();
L.d("生物支付item: " + ViewUtils.getViewInfo(itemViewGroup));
Expand Down
4 changes: 2 additions & 2 deletions release/update_riru_alipay.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version": "4.7.0",
"version": "4.7.1",
"versionCode": "23",
"zipUrl": "https://github.com/eritpchy/FingerprintPay/releases/download/4.7.0-ci/riru-module-xfingerprint-pay-alipay-v4.7.0-release.zip",
"zipUrl": "https://github.com/eritpchy/FingerprintPay/releases/download/4.7.1-ci/riru-module-xfingerprint-pay-alipay-v4.7.1-release.zip",
"changelog": "https://raw.githubusercontent.com/eritpchy/FingerprintPay/main/CHANGELOG.md"
}
4 changes: 2 additions & 2 deletions release/update_riru_qq.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version": "4.7.0",
"version": "4.7.1",
"versionCode": "23",
"zipUrl": "https://github.com/eritpchy/FingerprintPay/releases/download/4.7.0-ci/riru-module-xfingerprint-pay-qq-v4.7.0-release.zip",
"zipUrl": "https://github.com/eritpchy/FingerprintPay/releases/download/4.7.1-ci/riru-module-xfingerprint-pay-qq-v4.7.1-release.zip",
"changelog": "https://raw.githubusercontent.com/eritpchy/FingerprintPay/main/CHANGELOG.md"
}
4 changes: 2 additions & 2 deletions release/update_riru_taobao.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version": "4.7.0",
"version": "4.7.1",
"versionCode": "23",
"zipUrl": "https://github.com/eritpchy/FingerprintPay/releases/download/4.7.0-ci/riru-module-xfingerprint-pay-taobao-v4.7.0-release.zip",
"zipUrl": "https://github.com/eritpchy/FingerprintPay/releases/download/4.7.1-ci/riru-module-xfingerprint-pay-taobao-v4.7.1-release.zip",
"changelog": "https://raw.githubusercontent.com/eritpchy/FingerprintPay/main/CHANGELOG.md"
}
4 changes: 2 additions & 2 deletions release/update_riru_unionpay.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version": "4.7.0",
"version": "4.7.1",
"versionCode": "23",
"zipUrl": "https://github.com/eritpchy/FingerprintPay/releases/download/4.7.0-ci/riru-module-xfingerprint-pay-unionpay-v4.7.0-release.zip",
"zipUrl": "https://github.com/eritpchy/FingerprintPay/releases/download/4.7.1-ci/riru-module-xfingerprint-pay-unionpay-v4.7.1-release.zip",
"changelog": "https://raw.githubusercontent.com/eritpchy/FingerprintPay/main/CHANGELOG.md"
}
4 changes: 2 additions & 2 deletions release/update_riru_wechat.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version": "4.7.0",
"version": "4.7.1",
"versionCode": "23",
"zipUrl": "https://github.com/eritpchy/FingerprintPay/releases/download/4.7.0-ci/riru-module-xfingerprint-pay-wechat-v4.7.0-release.zip",
"zipUrl": "https://github.com/eritpchy/FingerprintPay/releases/download/4.7.1-ci/riru-module-xfingerprint-pay-wechat-v4.7.1-release.zip",
"changelog": "https://raw.githubusercontent.com/eritpchy/FingerprintPay/main/CHANGELOG.md"
}
4 changes: 2 additions & 2 deletions release/update_zygisk_alipay.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version": "4.7.0",
"version": "4.7.1",
"versionCode": "23",
"zipUrl": "https://github.com/eritpchy/FingerprintPay/releases/download/4.7.0-ci/zygisk-module-xfingerprint-pay-alipay-v4.7.0-release.zip",
"zipUrl": "https://github.com/eritpchy/FingerprintPay/releases/download/4.7.1-ci/zygisk-module-xfingerprint-pay-alipay-v4.7.1-release.zip",
"changelog": "https://raw.githubusercontent.com/eritpchy/FingerprintPay/main/CHANGELOG.md"
}
4 changes: 2 additions & 2 deletions release/update_zygisk_qq.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version": "4.7.0",
"version": "4.7.1",
"versionCode": "23",
"zipUrl": "https://github.com/eritpchy/FingerprintPay/releases/download/4.7.0-ci/zygisk-module-xfingerprint-pay-qq-v4.7.0-release.zip",
"zipUrl": "https://github.com/eritpchy/FingerprintPay/releases/download/4.7.1-ci/zygisk-module-xfingerprint-pay-qq-v4.7.1-release.zip",
"changelog": "https://raw.githubusercontent.com/eritpchy/FingerprintPay/main/CHANGELOG.md"
}
4 changes: 2 additions & 2 deletions release/update_zygisk_taobao.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version": "4.7.0",
"version": "4.7.1",
"versionCode": "23",
"zipUrl": "https://github.com/eritpchy/FingerprintPay/releases/download/4.7.0-ci/zygisk-module-xfingerprint-pay-taobao-v4.7.0-release.zip",
"zipUrl": "https://github.com/eritpchy/FingerprintPay/releases/download/4.7.1-ci/zygisk-module-xfingerprint-pay-taobao-v4.7.1-release.zip",
"changelog": "https://raw.githubusercontent.com/eritpchy/FingerprintPay/main/CHANGELOG.md"
}
4 changes: 2 additions & 2 deletions release/update_zygisk_unionpay.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version": "4.7.0",
"version": "4.7.1",
"versionCode": "23",
"zipUrl": "https://github.com/eritpchy/FingerprintPay/releases/download/4.7.0-ci/zygisk-module-xfingerprint-pay-unionpay-v4.7.0-release.zip",
"zipUrl": "https://github.com/eritpchy/FingerprintPay/releases/download/4.7.1-ci/zygisk-module-xfingerprint-pay-unionpay-v4.7.1-release.zip",
"changelog": "https://raw.githubusercontent.com/eritpchy/FingerprintPay/main/CHANGELOG.md"
}
4 changes: 2 additions & 2 deletions release/update_zygisk_wechat.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version": "4.7.0",
"version": "4.7.1",
"versionCode": "23",
"zipUrl": "https://github.com/eritpchy/FingerprintPay/releases/download/4.7.0-ci/zygisk-module-xfingerprint-pay-wechat-v4.7.0-release.zip",
"zipUrl": "https://github.com/eritpchy/FingerprintPay/releases/download/4.7.1-ci/zygisk-module-xfingerprint-pay-wechat-v4.7.1-release.zip",
"changelog": "https://raw.githubusercontent.com/eritpchy/FingerprintPay/main/CHANGELOG.md"
}

0 comments on commit 2617c3e

Please sign in to comment.