From dd2562d8dc2b01bcdfca3152f82f09efbbd09259 Mon Sep 17 00:00:00 2001 From: zuoxiao <lf_zuo@163.com> Date: 星期三, 25 六月 2025 19:49:48 +0800 Subject: [PATCH] fix(generallibrary): 优化卡片处理和支付方式获取逻辑- 修复地区卡处理逻辑,增加对"00"类型卡的特殊处理 - 优化用户卡数据解析和显示逻辑,提高容错性 - 改进支付方式获取方法,增加错误处理和日志记录 -调整充值接口调用参数,确保正确传递当前余额等信息- 修复 AreaCard 中 areaNumber 类型,改为字符串处理 --- henanlibrary/src/main/AndroidManifest.xml | 24 +++++++++++------------- 1 files changed, 11 insertions(+), 13 deletions(-) diff --git a/henanlibrary/src/main/AndroidManifest.xml b/henanlibrary/src/main/AndroidManifest.xml index e1f0eb6..75dc0af 100644 --- a/henanlibrary/src/main/AndroidManifest.xml +++ b/henanlibrary/src/main/AndroidManifest.xml @@ -1,11 +1,12 @@ <?xml version="1.0" encoding="utf-8"?> -<manifest xmlns:android="http://schemas.android.com/apk/res/android" - package="com.dayu.henanlibrary"> +<manifest xmlns:android="http://schemas.android.com/apk/res/android"> + <uses-permission android:name="android.permission.NFC" /> <!--鐢ㄤ簬璁块棶缃戠粶锛岀綉缁滃畾浣嶉渶瑕佷笂缃�--> <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.BLUETOOTH" /> <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> + <application android:allowBackup="true" android:supportsRtl="true"> @@ -13,19 +14,16 @@ <activity android:name=".activity.AdminSetupActivity" - android:exported="true"> - </activity> + android:exported="false" /> <activity android:name=".activity.HomeActivity" - android:exported="true"> + android:exported="false" /> - </activity> <activity android:name=".activity.NewCardActivity" - android:exported="true" - android:launchMode="singleTop" - android:screenOrientation="portrait"> + android:exported="false" + android:launchMode="singleTop"> <intent-filter> <action android:name="android.nfc.action.TAG_DISCOVERED" /> <data android:mimeType="text/plain" /> @@ -33,7 +31,7 @@ </activity> <activity android:name=".activity.SysActivity" - android:exported="true"> + android:exported="false"> </activity> @@ -41,6 +39,7 @@ <activity android:name=".activity.MyActivity" /> <activity android:name=".activity.RechargeActivity" + android:exported="false" android:launchMode="singleTop"> <intent-filter> <action android:name="android.nfc.action.TAG_DISCOVERED" /> @@ -50,7 +49,7 @@ <activity android:name=".activity.ReadCardAcitivy" - android:exported="true" + android:exported="false" android:launchMode="singleTop"> <intent-filter> <action android:name="android.nfc.action.ACTION_NDEF_DISCOVERED" /> @@ -60,7 +59,7 @@ </activity> <activity android:name=".activity.NFCWreatActivity" - android:exported="true" + android:exported="false" android:launchMode="singleTop"> <intent-filter> <action android:name="android.nfc.action.TAG_DISCOVERED" /> @@ -77,7 +76,6 @@ <activity android:name=".activity.IdentifyingActivity" /> <activity android:name=".activity.ReplacementActivity" /> <activity android:name=".activity.RechargeDetail" /> - </application> -- Gitblit v1.8.0