@@ -193,6 +193,12 @@ manifestPlaceholders = [
193193]
194194```
195195
196+ 同时建议检查 iOS 生成结果:
197+
198+ - ` ios/<app>/Info.plist ` 中的 ` UIBackgroundModes ` 会保留宿主已有值,并自动补齐 ` fetch ` 和 ` remote-notification `
199+ - 如果项目使用 Swift,插件会优先复用已有 ` SWIFT_OBJC_BRIDGING_HEADER ` ;如果未配置,则自动创建 ` <target>-Bridging-Header.h `
200+ - 重复执行 ` expo prebuild ` 不会重复追加 JPush 所需的 Bridging Header import
201+
196202如果你是在业务项目里临时直接改 ` node_modules/mx-jpush-expo ` ,重装依赖后修改会丢失,正式建议使用 ` pnpm patch mx-jpush-expo ` 固化。
197203
198204## 更新日志
@@ -220,7 +226,7 @@ manifestPlaceholders = [
220226- ✨ 自动配置华为和 FCM 的 ` apply plugin ` 语句
221227- ✨ 自动配置 project/build.gradle(Maven 仓库和 classpath)
222228- ✨ 新增 ` packageName ` 必填配置项
223- - � 完善厂商文通道配置文档 ,添加极光官方文档链接
229+ - 📝 完善厂商通道配置文档 ,添加极光官方文档链接
224230- 📝 添加应用签名配置说明(华为、荣耀、蔚来必需)
225231- 🔧 优化代码结构,移除手动下载 aar 的要求
226232
@@ -246,7 +252,8 @@ manifestPlaceholders = [
2462521 . 确保在 Xcode 中开启 Push Notifications 能力
2472532 . 在极光推送控制台上传正确的推送证书(Development/Production)
2482543 . 验证 Bundle ID 与极光控制台完全匹配
249- 4 . 如果使用 Swift,插件会自动配置 Bridging Header
255+ 4 . 如果使用 Swift,插件会自动复用或创建 Bridging Header,并写入 JPush 所需 import
256+ 5 . 插件会合并 ` UIBackgroundModes ` ,不会覆盖宿主已有后台模式
250257
251258### Android 配置
2522591 . 确保在 AndroidManifest.xml 中已声明必要的权限
@@ -336,15 +343,15 @@ mx-jpush-expo/
336343│ │ ├── ios/ # iOS 平台配置
337344│ │ │ ├── index.ts # iOS 配置集成
338345│ │ │ ├── infoPlist.ts # Info.plist 配置
339- │ │ │ ├── appDelegateInterface.ts # AppDelegate 接口
340- │ │ │ ├── appDelegate.ts # AppDelegate 实现
346+ │ │ │ ├── appDelegate.ts # AppDelegate 实现
341347│ │ │ ├── bridgingHeader.ts # Swift/OC 桥接头文件
342- │ │ │ └── podfile.ts # Podfile 配置
343348│ │ └── android/ # Android 平台配置
344349│ │ ├── index.ts # Android 配置集成
345350│ │ ├── androidManifest.ts # AndroidManifest 配置
346- │ │ ├── appBuildGradle.ts # build.gradle 配置
347- │ │ └── settingsGradle.ts # settings.gradle 配置
351+ │ │ ├── appBuildGradle.ts # app/build.gradle 配置
352+ │ │ ├── projectBuildGradle.ts # project/build.gradle 配置
353+ │ │ ├── settingsGradle.ts # settings.gradle 配置
354+ │ │ └── gradleProperties.ts # gradle.properties 配置
348355│ ├── build/ # 编译后的 JS 文件(发布到 npm)
349356│ ├── __tests__/ # 单元测试
350357│ ├── tsconfig.json # TypeScript 配置
0 commit comments