mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-20 08:44:55 +08:00
feat(HMS Core): 页面中间跳出广告 (#347)
This commit is contained in:
22
src/apps/com.huawei.hwid.ts
Normal file
22
src/apps/com.huawei.hwid.ts
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
import { defineAppConfig } from '../types';
|
||||||
|
|
||||||
|
export default defineAppConfig({
|
||||||
|
id: 'com.huawei.hwid',
|
||||||
|
name: 'HMS Core',
|
||||||
|
groups: [
|
||||||
|
{
|
||||||
|
// 我不知道这个广告从哪里来的,它出乎意料地跳出并覆盖在Gspace上面
|
||||||
|
key: 0,
|
||||||
|
name: '页面中间跳出广告',
|
||||||
|
activityIds: [
|
||||||
|
'com.huawei.openalliance.ad.ppskit.activity.InnerPPSInterstitialAdActivity',
|
||||||
|
],
|
||||||
|
rules: [
|
||||||
|
{
|
||||||
|
matches: '[id="com.huawei.hwid:id/interstitial_close"]',
|
||||||
|
snapshotUrls: ['https://gkd-kit.gitee.io/import/12709068'],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
});
|
||||||
Reference in New Issue
Block a user