Skip to content

Commit c5b047e

Browse files
committed
整合控制菜单进入微信设置页
修复密钥安全问题 修复第一次会无故不能使用指纹支付
1 parent 14503c0 commit c5b047e

Some content is hidden

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

44 files changed

+1931
-289
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
感谢原作者 dss16694/WechatFp , 这么给力的项目
88

9-
#注意: 这是Xposed插件
9+
## 注意: 这是Xposed插件
1010

1111
使用步骤:
1212
1. 下载并安装插件: https://github.com/eritpchy/WechatFp/releases/download/1.3/WechatFp-1.3-release.apk

app/build.gradle

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ android {
1010
minSdkVersion 14
1111
targetSdkVersion 26
1212
versionCode 6
13-
versionName "1.3.0"
13+
versionName "1.4.0"
14+
buildConfigField "String", "APP_SETTINGS_NAME", "\"指紋設置\""
15+
buildConfigField "String", "APP_PRODUCT_NAME", "\"WeChatFp\""
1416
}
1517
buildTypes {
1618
release {
@@ -35,7 +37,7 @@ android.applicationVariants.all { variant ->
3537
println "Running app..."
3638
exec {
3739
executable = ADB_PATH
38-
args = ['shell', "am start -n ${variant.applicationId}/.SettingsActivity"]
40+
args = ['shell', "am start -n ${variant.applicationId}/.activity.HomeActivity"]
3941
}
4042
}
4143
}
@@ -62,6 +64,7 @@ task debugWechat(dependsOn: "installDebug") {
6264
dependencies {
6365
implementation 'com.android.support:support-v4:26.0.2'
6466
implementation 'com.wei.android.lib:fingerprintidentify:1.2.1'
65-
implementation 'com.crossbowffs.remotepreferences:remotepreferences:0.5'
67+
implementation 'com.google.code.gson:gson:2.8.1'
68+
implementation 'com.squareup.okhttp3:okhttp:3.8.1'
6669
provided 'de.robv.android.xposed:api:53'
6770
}

app/src/main/AndroidManifest.xml

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
22
package="com.yyxx.wechatfp">
33

4-
<uses-permission android:name="android.permission.USE_FINGERPRINT"/>
5-
<uses-permission android:name="com.fingerprints.service.ACCESS_FINGERPRINT_MANAGER"/>
6-
<uses-permission android:name="com.samsung.android.providers.context.permission.WRITE_USE_APP_FEATURE_SURVEY"/>
4+
<uses-permission android:name="android.permission.USE_FINGERPRINT" />
5+
<uses-permission android:name="com.fingerprints.service.ACCESS_FINGERPRINT_MANAGER" />
6+
<uses-permission android:name="com.samsung.android.providers.context.permission.WRITE_USE_APP_FEATURE_SURVEY" />
7+
<uses-permission android:name="android.permission.INTERNET" />
8+
79
<application
810
android:allowBackup="true"
911
android:icon="@mipmap/ic_launcher"
1012
android:label="@string/app_name"
1113
android:supportsRtl="true"
1214
android:theme="@style/AppTheme">
13-
15+
1416
<meta-data
1517
android:name="xposedmodule"
1618
android:value="true" />
@@ -20,22 +22,19 @@
2022
<meta-data
2123
android:name="xposedminversion"
2224
android:value="54" />
25+
2326
<activity
24-
android:name=".SettingsActivity"
27+
android:name=".activity.HomeActivity"
2528
android:label="微信指纹支付">
2629
<intent-filter>
27-
<action
28-
android:name="android.intent.action.MAIN" />
29-
<category
30-
android:name="de.robv.android.xposed.category.MODULE_SETTINGS" />
30+
<action android:name="android.intent.action.MAIN" />
31+
32+
<category android:name="de.robv.android.xposed.category.MODULE_SETTINGS" />
3133
<category android:name="android.intent.category.LAUNCHER" />
3234
</intent-filter>
3335
</activity>
34-
35-
<provider
36-
android:name=".XPreferenceProvider"
37-
android:authorities="com.yyxx.wechatfp.XPreferenceProvider"
38-
android:exported="true"/>
36+
<activity android:name=".activity.WebActivity"
37+
android:parentActivityName=".activity.HomeActivity"/>
3938

4039
</application>
4140

app/src/main/assets/xposed_init

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
com.yyxx.wechatfp.WalletBaseUI
1+
com.yyxx.wechatfp.xposed.WalletBaseUI
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
package com.yyxx.wechatfp;
2+
3+
/**
4+
* Created by Jason on 2017/9/10.
5+
*/
6+
7+
public class Constant {
8+
9+
public static final String PACKAGE_BANE_WECHAT = "com.tencent.mm";
10+
public static final String HELP_URL_WECHAT = "https://github.com/eritpchy/WechatFp/blob/master/doc/WeChat/README.md";
11+
public static final String PROJECT_URL = "https://github.com/eritpchy/WechatFp";
12+
public static final String UPDATE_URL_GITHUB = "https://api.github.com/repos/eritpchy/WechatFp/releases/latest";
13+
public static final String DONATE_ID_ALIPAY = "https://qr.alipay.com/FKX012222QIU52C6LATAB7";
14+
public static final String DONATE_ID_WECHAT = "wxp://f2f0-1_Hm7XAY7SXA3B_0R0v-VJD71jYCWog";
15+
16+
}

app/src/main/java/com/yyxx/wechatfp/ObfuscationHelper.java

Lines changed: 0 additions & 81 deletions
This file was deleted.

app/src/main/java/com/yyxx/wechatfp/SettingsActivity.java

Lines changed: 0 additions & 102 deletions
This file was deleted.

app/src/main/java/com/yyxx/wechatfp/XPreferenceProvider.java

Lines changed: 0 additions & 31 deletions
This file was deleted.

0 commit comments

Comments
 (0)