uniPush 推送小图标会显示个推图标 ,按照推送图标设置文档中的方法,配置后完全安卓设备上不生效,还是个推的图标?
配置路径:"app-plus" -> "distribute" -> "sdkConfigs" -> "push" -> "unipush" -> "icons" -> "small" 下配置
图标尺寸规范也按照文档一致了,到底要怎么才生效?到底是路径不对还是哪里不对,有人回答一下吗?
hbuilderX版本 3.99 (正式版)
2043242294
- 发布:2024-01-26 14:13
- 更新:2024-08-22 15:12
- 阅读:293
补充一下,看了你的配置文件也有问题,在manifest.json下的配置是这样子的:
"sdkConfigs" : {
"ad" : {},
"push" : {
"unipush" : {
"icons" : {
"push" : {
"ldpi" : "unpackage/res/drawable-ldpi/push.png",
"mdpi" : "unpackage/res/drawable-ldpi/push.png",
"hdpi" : "unpackage/res/drawable-ldpi/push.png",
"xhdpi" : "unpackage/res/drawable-ldpi/push.png",
"xxhdpi" : "unpackage/res/drawable-ldpi/push.png"
},
"small" : {
"ldpi" : "unpackage/res/drawable-ldpi/push_small.png",
"mdpi" : "unpackage/res/drawable-mdpi/push_small.png",
"hdpi" : "unpackage/res/drawable-hdpi/push_small.png",
"xhdpi" : "unpackage/res/drawable-xhdpi/push_small.png",
"xxhdpi" : "unpackage/res/drawable-xxhdpi/push_small.png"
}
}
}
}
}