Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

feat(我爱卡):定位提示、权限提示 #4098

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions src/apps/com.woaika.kashen.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
import { defineAppConfig } from '../types';

export default defineAppConfig({
id: 'com.woaika.kashen',
name: '我爱卡',
groups: [
{
key: 1,
name: '定位提示',
desc: '点击"暂不"',
quickFind: true,
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: [
{
activityIds: 'com.woaika.kashen.ui.WIKHomeActivity',
matches: '[id="android:id/button2"][text="暂不"]',
exampleUrls:
'https://m.gkd.li/57941037/ae172e3f-42e2-4de2-8bd5-de7eb624c359',
snapshotUrls: 'https://i.gkd.li/import/14070846',
},
],
},
{
key: 2,
name: '权限提示-请求位置、存储权限',
desc: '点击"我知道了"',
quickFind: true,
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: [
{
matches: '[vid="tvPermissionDescDialogConfirm"]',
exampleUrls:
'https://m.gkd.li/57941037/6faf1f01-5b77-414b-91d8-98dcb5673f7c',
snapshotUrls: 'https://i.gkd.li/import/14070836',
},
],
},
],
});
Loading