mirror of
https://github.com/pppscn/SmsForwarder
synced 2024-11-04 06:00:11 +00:00
精简:去掉美团多渠道打包
升级:权限请求框架 XXPermissions
This commit is contained in:
parent
9d75554df0
commit
a21e604571
@ -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'
|
||||
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user