mirror of
https://gitea.redwind.top/Austin/subscription
synced 2024-11-16 21:33:55 +08:00
feat(掌上公交): 请求通知权限弹窗,签到成功弹窗 (#372)
This commit is contained in:
parent
9315d5baef
commit
2a53f13e77
34
src/apps/com.mygolbs.mybus.ts
Normal file
34
src/apps/com.mygolbs.mybus.ts
Normal file
|
@ -0,0 +1,34 @@
|
|||
import { defineAppConfig } from '../types';
|
||||
|
||||
export default defineAppConfig({
|
||||
id: 'com.mygolbs.mybus',
|
||||
name: '掌上公交',
|
||||
groups: [
|
||||
{
|
||||
enable: false,
|
||||
key: 10,
|
||||
name: '请求通知权限弹窗',
|
||||
desc: '自动点击【取消】',
|
||||
activityIds: 'com.mygolbs.mybus.defines.CustomDialog',
|
||||
rules: [
|
||||
{
|
||||
matches: [
|
||||
'[text$="开启通知权限"]',
|
||||
'@[id="com.mygolbs.mybus:id/view_neg"] > [text="取消"]',
|
||||
],
|
||||
snapshotUrls: 'https://gkd-kit.gitee.io/import/12715980',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
enable: false,
|
||||
key: 11,
|
||||
name: '签到成功弹窗',
|
||||
desc: '自动点击x按钮',
|
||||
activityIds: 'com.mygolbs.mybus.guligold.SignSuccessActivity',
|
||||
rules:
|
||||
'@[id="com.mygolbs.mybus:id/iv_close"] < RelativeLayout - LinearLayout >n [text="签到成功"]',
|
||||
snapshotUrls: 'https://gkd-kit.gitee.io/import/12716035',
|
||||
},
|
||||
],
|
||||
});
|
Loading…
Reference in New Issue
Block a user