Skip to content

Commit

Permalink
v1.04
Browse files Browse the repository at this point in the history
更新支持支付宝 10.1.20;
更新支持 QQ 7.5.5、7.5.8;
更新支持 微信 6.6.6;
  • Loading branch information
wuxiaosu committed Apr 18, 2018
1 parent e0ac31b commit 8ac3ef9
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 7 deletions.
13 changes: 11 additions & 2 deletions fakebalance/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,17 @@ android {
applicationId "com.wuxiaosu.fakebalance"
minSdkVersion 21
targetSdkVersion 23
versionCode 4
versionName "1.03"
versionCode 5
versionName "1.04"
}

signingConfigs {
release {
storeFile file(FAKEBALANCE_STORE_FILE)
storePassword FAKEBALANCE_STORE_PASSWORD
keyAlias FAKEBALANCE_KEY_ALIAS
keyPassword FAKEBALANCE_KEY_PASSWORD
}
}

buildTypes {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@
public class MainActivity extends BaseActivity {

private final String[] wechatSupportVersions =
new String[]{"6.6.0", "6.6.1", "6.6.2", "6.6.3", "6.6.5"};
new String[]{"6.6.0", "6.6.1", "6.6.2", "6.6.3", "6.6.5", "6.6.6"};
private final String[] timSupportVersions =
new String[]{"2.0.0", "2.0.1", "2.0.5", "2.1.0", "2.1.5"};
private final String[] qqSupportVersions =
new String[]{"7.3.8", "7.5.0"};
new String[]{"7.3.8", "7.5.0", "7.5.5", "7.5.8"};
private final String[] alipaySupportVersions =
new String[]{"10.1.0", "10.1.2", "10.1.5", "10.1.8", "10.1.10", "10.1.12", "10.1.15", "10.1.18"};
new String[]{"10.1.0", "10.1.2", "10.1.5", "10.1.8", "10.1.10", "10.1.12", "10.1.15", "10.1.18", "10.1.20"};

@Override
protected void onCreate(Bundle savedInstanceState) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ public AliPayHook(String versionName) {
break;
case "10.1.18":
break;
case "10.1.20":
break;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,20 @@ public class QQPluginHook {
private static boolean fakeBalance;
private static String balance;

private String qvipPayAccountActivityCallbackClazzName = "ddk";
private String qvipPayAccountActivityCallbackClazzName;

public QQPluginHook(String versionName) {
switch (versionName) {
case "7.3.8":
case "7.5.0":
qvipPayAccountActivityCallbackClazzName = "ddk";
break;
default:
case "7.5.5":
case "7.5.8":
qvipPayAccountActivityCallbackClazzName = "ddw";
break;
}
xsp = new XSharedPreferences(BuildConfig.APPLICATION_ID, SettingLabelView.DEFAULT_PREFERENCES_NAME);
xsp.makeWorldReadable();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,21 @@ public WeChatHook(String versionName) {
walletBalanceManagerUIMethodName = "au";
walletBalanceManagerUIFiledName = "szP";
break;
default:
case "6.6.5":
mallIndexUIMethodName = "aYS";
mallIndexUIFiledName = "orA";

walletBalanceManagerUIMethodName = "av";
walletBalanceManagerUIFiledName = "sFT";
break;
default:
case "6.6.6":
mallIndexUIMethodName = "bbL";
mallIndexUIFiledName = "oFV";

walletBalanceManagerUIMethodName = "aF";
walletBalanceManagerUIFiledName = "ths";
break;
}
}

Expand Down

0 comments on commit 8ac3ef9

Please sign in to comment.