Skip to content

Commit

Permalink
perf(抖音): 权限提示-通知权限 (#715)
Browse files Browse the repository at this point in the history
  • Loading branch information
AIsouler committed Jan 15, 2025
1 parent d65c288 commit 6536ba8
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions src/apps/com.ss.android.ugc.aweme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,22 +145,23 @@ export default defineGkdApp({
{
key: 10,
name: '权限提示-通知权限',
desc: '点击[暂不]',
desc: '点击[暂不]/[以后再说]',
fastQuery: true,
actionMaximum: 1,
resetMatch: 'app',
activityIds: '.main.MainActivity',
rules: [
{
key: 0,
matches:
'@[text="暂不"][focusable=true] < LinearLayout - LinearLayout >2 [text="开启朋友通知"]',
snapshotUrls: 'https://i.gkd.li/i/12675129',
},
{
key: 1,
matches: '[text="及时获得消息提醒"] +2 [text="暂不开启"]',
snapshotUrls: 'https://i.gkd.li/i/13669790',
matches: [
'[text^="打开私信通知" || text="开启朋友的消息通知" || text="及时获得消息提醒"][visibleToUser=true]',
'[text="以后再说" || text="暂不开启"][visibleToUser=true]',
],
snapshotUrls: [
'https://i.gkd.li/i/13669790',
'https://i.gkd.li/i/18417891',
'https://i.gkd.li/i/18419574',
],
},
],
},
Expand Down

0 comments on commit 6536ba8

Please sign in to comment.