feat(哈啰): 请求通知权限弹窗 (#2270)

This commit is contained in:
jiuqianyuan 2023-11-20 20:49:36 +08:00 committed by GitHub
parent f745999279
commit 986f950667
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,16 +6,25 @@ export default defineAppConfig({
groups: [
// 预留 key 0-8
{
enable: false,
key: 8,
name: '请求通知权限弹窗',
activityIds: 'com.yanzhenjie.permission.PermissionActivity',
quickFind: true,
activityIds: [
'com.yanzhenjie.permission.PermissionActivity',
'com.hellobike.atlas.business.portal.PortalActivity',
],
rules: '[text*="开启通知"] < FrameLayout + FrameLayout >2 [text="取消"]',
snapshotUrls: 'https://i.gkd.li/import/13228735',
snapshotUrls: [
'https://i.gkd.li/import/13228735',
'https://i.gkd.li/import/13402675', // activityIds: com.hellobike.atlas.business.portal.PortalActivity
],
},
{
enable: false,
key: 9,
name: '请求定位权限弹窗',
quickFind: true,
activityIds: 'com.hellobike.atlas.business.portal.PortalActivity',
rules:
'[text="系统定位服务已关闭"] < FrameLayout +n FrameLayout >2 [text="取消"]',
@ -39,6 +48,7 @@ export default defineAppConfig({
{
key: 11,
name: '哈啰智能电动车-广告弹窗',
quickFind: true,
activityIds: [
'com.hellobike.evehicle.business.main.EVehicleHomeManagerActivity',
],
@ -49,6 +59,7 @@ export default defineAppConfig({
{
key: 12,
name: '右侧悬浮广告',
quickFind: true,
activityIds: ['com.hellobike.atlas.business.portal.PortalActivity'],
rules:
'@[id="com.jingyao.easybike:id/closeFloatArea"] + [id="com.jingyao.easybike:id/floatADContainer"]',