精简:去掉美团多渠道打包

升级:权限请求框架 XXPermissions
This commit is contained in:
pppscn 2022-09-21 14:03:39 +08:00
parent 9d75554df0
commit a21e604571
3 changed files with 7 additions and 6 deletions

View File

@ -216,7 +216,7 @@ dependencies {
implementation 'com.zzhoujay.richtext:richtext:3.0.8'
//
implementation 'com.meituan.android.walle:library:1.1.6'
//implementation 'com.meituan.android.walle:library:1.1.6'
api("androidx.work:work-multiprocess:2.7.1")
api("androidx.work:work-runtime-ktx:2.7.1")
@ -250,7 +250,7 @@ dependencies {
testImplementation "androidx.paging:paging-common-ktx:$paging_version"
//https://github.com/getActivity/XXPermissions
implementation 'com.github.getActivity:XXPermissions:15.0'
implementation 'com.github.getActivity:XXPermissions:16.2'
def mail_version = '1.6.7'
implementation "com.sun.mail:android-mail:$mail_version"
@ -267,6 +267,6 @@ dependencies {
//X-Library依赖
apply from: 'x-library.gradle'
//walle多渠道打包
apply from: 'multiple-channel.gradle'
//apply from: 'multiple-channel.gradle'

View File

@ -4,7 +4,7 @@ import android.app.Application
import android.content.Context
import com.idormy.sms.forwarder.BuildConfig
import com.idormy.sms.forwarder.utils.SettingUtils.Companion.isAgreePrivacy
import com.meituan.android.walle.WalleChannelReader
//import com.meituan.android.walle.WalleChannelReader
import com.umeng.analytics.MobclickAgent
import com.umeng.commonsdk.UMConfigure
import com.xuexiang.xui.XUI
@ -79,7 +79,8 @@ class UMengInit private constructor() {
* @return
*/
private fun getChannel(context: Context?): String? {
return WalleChannelReader.getChannel(context!!, DEFAULT_CHANNEL_ID)
//return WalleChannelReader.getChannel(context!!, DEFAULT_CHANNEL_ID)
return DEFAULT_CHANNEL_ID
}
}

View File

@ -649,7 +649,7 @@
<string name="no">No</string>
<string name="unknown">---</string>
<string name="refresh">刷新</string>
<string name="tip_can_not_get_sim_infos">请确认应用权限【获取手机信息】为【始终允许】</string>
<string name="tip_can_not_get_sim_infos">请确认应用权限【获取手机信息】为【始终允许】或手动填写</string>
<string name="tip_can_not_get_sim_info">未获取到卡槽%s中的SIM卡信息</string>
<string name="add">添加</string>
<string name="check_update">检查更新</string>