Skip to content

Commit

Permalink
feat: 开启推送提醒
Browse files Browse the repository at this point in the history
  • Loading branch information
W7256 committed Jul 5, 2024
1 parent 04b6005 commit e1e6692
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions src/apps/com.dragon.read.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,11 +160,16 @@ export default defineAppConfig({
{
enable: false,
key: 10,
name: '请求通知权限弹窗',
desc: '自动点击【取消】',
activityIds: 'com.dragon.read.widget.ConfirmDialogBuilder',
rules: '@[text="取消"] < * -2 * > [text="开启推送提醒"]',
snapshotUrls: 'https://i.gkd.li/import/12716592',
name: '权限提示-开启推送提醒',
desc: '',
activityIds: [
'com.dragon.read.widget.ConfirmDialogBuilder',
'com.dragon.read.pages.main.MainFragmentActivity',
],
rules: '@TextView[text="取消"] +n TextView[text="去开启"]',
snapshotUrls: 'https://i.gkd.li/i/16109962',
exampleUrls:
'https://m.gkd.li/110102406/adb922a2-40fc-4881-a282-350104ad96cd',
},
{
key: 12,
Expand Down

0 comments on commit e1e6692

Please sign in to comment.