mirror of
https://github.com/pppscn/SmsForwarder
synced 2024-11-04 06:00:11 +00:00
修复:没有跳转到具体的通知权限设置页的问题
新增:`{{当前时间}}` `{{CURRENT_TIME}}` 标签(便于调试)
This commit is contained in:
parent
2c9065a743
commit
a9eaa8c791
@ -188,7 +188,9 @@ dependencies {
|
||||
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
||||
//frpc
|
||||
implementation files('libs/frpclib.aar')
|
||||
//kmnkt是基于Kotlin Multiplatform的跨平台socket通信统一接口。支持Android目标与JVM目标,支持UDP/TCP/MQTT协议使用同一套接口实现
|
||||
|
||||
//kmnkt基于Kotlin Multiplatform的跨平台socket通信统一接口,支持UDP/TCP/MQTT协议
|
||||
//https://github.com/xuankaicat/kmnkt
|
||||
implementation("org.eclipse.paho:org.eclipse.paho.client.mqttv3:1.2.5")
|
||||
implementation files('libs/socket.aar')
|
||||
|
||||
@ -262,7 +264,7 @@ dependencies {
|
||||
testImplementation "androidx.paging:paging-common-ktx:$paging_version"
|
||||
|
||||
//权限请求框架:https://github.com/getActivity/XXPermissions
|
||||
implementation 'com.github.getActivity:XXPermissions:18.0'
|
||||
implementation 'com.github.getActivity:XXPermissions:18.2'
|
||||
|
||||
def mail_version = '1.6.7'
|
||||
implementation "com.sun.mail:android-mail:$mail_version"
|
||||
@ -281,9 +283,6 @@ dependencies {
|
||||
|
||||
//Location 是一个通过 Android 自带的 LocationManager 来实现的定位功能:https://github.com/jenly1314/Location
|
||||
implementation 'com.github.pppscn:location:1.0.0'
|
||||
|
||||
//跨平台socket通信统一接口:https://gitee.com/xuankaicat/kmnkt
|
||||
//implementation 'com.github.pppscn.kmnkt:socket:2.0.0-alpha06'
|
||||
}
|
||||
//自动添加X-Library依赖
|
||||
apply from: 'x-library.gradle'
|
||||
|
@ -51,6 +51,7 @@ data class MsgInfo(
|
||||
.replace(getString(R.string.tag_title), title)
|
||||
.replace(getString(R.string.tag_scheme), scheme)
|
||||
.replace(getString(R.string.tag_receive_time), SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(date))
|
||||
.replace(getString(R.string.tag_current_time), SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(Date()))
|
||||
.replace(getString(R.string.tag_device_name), deviceMark)
|
||||
.replace(getString(R.string.tag_app_version), versionName)
|
||||
.trim()
|
||||
@ -97,6 +98,7 @@ data class MsgInfo(
|
||||
.replace(getString(R.string.tag_title), title)
|
||||
.replace(getString(R.string.tag_scheme), scheme)
|
||||
.replace(getString(R.string.tag_receive_time), SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(date))
|
||||
.replace(getString(R.string.tag_current_time), SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(Date()))
|
||||
.replace(getString(R.string.tag_device_name), deviceMark)
|
||||
.replace(getString(R.string.tag_app_version), versionName)
|
||||
.trim()
|
||||
|
@ -589,6 +589,7 @@
|
||||
<string name="tag_card_slot">{{CARD_SLOT}}</string>
|
||||
<string name="tag_card_subid">{{CARD_SUBID}}</string>
|
||||
<string name="tag_receive_time">{{RECEIVE_TIME}}</string>
|
||||
<string name="tag_current_time">{{CURRENT_TIME}}</string>
|
||||
<string name="tag_device_name">{{DEVICE_NAME}}</string>
|
||||
<string name="tag_app_version">{{APP_VERSION}}</string>
|
||||
<string name="tag_title">{{TITLE}}</string>
|
||||
|
@ -590,6 +590,7 @@
|
||||
<string name="tag_card_slot">{{卡槽信息}}</string>
|
||||
<string name="tag_card_subid">{{卡槽主键}}</string>
|
||||
<string name="tag_receive_time">{{接收时间}}</string>
|
||||
<string name="tag_current_time">{{当前时间}}</string>
|
||||
<string name="tag_device_name">{{设备名称}}</string>
|
||||
<string name="tag_app_version">{{当前应用版本号}}</string>
|
||||
<string name="tag_title">{{通知标题}}</string>
|
||||
|
Loading…
Reference in New Issue
Block a user