
Security News
GitHub Actions Checkout Now Blocks Risky pull_request_target Checkouts
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.
为Expo应用集成极光推送(JPush)的配置插件
由于极光推送官方不直接支持Expo配置插件模式,本插件通过以下方式实现集成:
Expo配置插件 -> prebuild转为原生工作流 -> 自动注入JPush相关代码
npm install jpush-expo
npm install jpush-react-native jcore-react-native
在app.json或app.config.js中添加以下配置:
{
"expo": {
// 其他配置...
"plugins": [
[
"jpush-expo",
{
"appKey": "你的极光推送AppKey", // 必填,从极光推送控制台获取
"channel": "你的应用渠道" // 必填,如:production、dev等
}
]
// 其他插件...
]
}
}
执行以下命令生成原生项目:
npx expo prebuild
这将生成包含所有JPush配置的android和ios目录。
ios目录android目录FAQs
jpex
The npm package exjpex receives a total of 18 weekly downloads. As such, exjpex popularity was classified as not popular.
We found that exjpex demonstrated a healthy version release cadence and project activity because the last version was released less than 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
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.

Product
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.