
Security News
Risky Biz Podcast: Making Reachability Analysis Work in Real-World Codebases
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
getui-push是一个weex插件,可以通过weexpack快速集成,可以丰富weex功能
支持的WeexSDK版本: >= 0.16.0
weex create weextest
weex platform add ios
weex platform add android
weex plugin add getui-push
initPush(options)
初始化个推SDK
options {Object}
:初始化个推时设置的参数
appId {string}
:appIdappKey {string}
:appKeyappSecret {string}
:appSecretonRegisterClient(options)
获取clientId
callback {function (clientId)}
:获取到clientId的回调函数。
clientId {string}
:sdk登入成功后返回clientIdonReceivePayloadData(payloadData)
SDK接收个推推送的透传消息
callback {function (payloadData)}
:获取到clientId的回调函数。
payloadData {json Object}
:接收到的透传数据。在app/build.gradle文件中的android.defaultConfig下添加manifestPlaceholders,配置个推相关的应用参数
android {
...
defaultConfig {
...
manifestPlaceholders = [
GETUI_APP_ID : "APP_ID",
GETUI_APP_KEY : "APP_KEY",
GETUI_APP_SECRET : "APP_SECRET"
]
}
}
weex plugin add getui-push
pod 'GetuiPush'
weexpack plugin add getui-push
compile '${groupId}:getuipush:{$version}'
注意:您需要自行指定插件的groupId和version并将构建产物发布到相应的依赖管理仓库内去(例如maven), 您也可以对插件的name进行自定义,默认将使用插件工程的名称作为name
FAQs
getui-push extend for weex
The npm package getui-push receives a total of 18 weekly downloads. As such, getui-push popularity was classified as not popular.
We found that getui-push demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.