Skip to content

Commit 2769579

Browse files
committed
fix(modules): correct patch for mx-jpush-expo
1 parent c32a05a commit 2769579

3 files changed

Lines changed: 714 additions & 834 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
},
7878
"devDependencies": {
7979
"@babel/core": "^7.25.2",
80-
"@bacons/apple-targets": "^4.0.6",
80+
"@bacons/apple-targets": "4.0.6",
8181
"@commitlint/cli": "^19.8.1",
8282
"@commitlint/config-conventional": "^19.8.1",
8383
"@eslint/eslintrc": "^3.3.1",

patches/mx-jpush-expo@1.2.5.patch

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
diff --git a/plugin/build/ios/appDelegate.js b/plugin/build/ios/appDelegate.js
2-
index 33f44b8a4f0f4a5197c447d3cfd5b8f18fe92726..4cc2f5e1a0a4836c204cd783e8a0f329f8fbc19b 100644
2+
index 33adf82..b6a30d8 100644
33
--- a/plugin/build/ios/appDelegate.js
44
+++ b/plugin/build/ios/appDelegate.js
5-
@@ -36,8 +36,9 @@ function getAppDelegateClassClosingLine(src) {
5+
@@ -35,8 +35,9 @@ function getAppDelegateClassClosingLine(src) {
66
return classRange.endLine;
77
}
88
function applyIosAppDelegate(contents) {
@@ -18,7 +18,8 @@ index 33f44b8a4f0f4a5197c447d3cfd5b8f18fe92726..4cc2f5e1a0a4836c204cd783e8a0f329
1818

1919
// 通知设置
2020
@objc public func jpushNotificationCenter(_ center: UNUserNotificationCenter,
21-
openSettingsFor notification: UNNotification?) {
21+
- openSettingsFor notification: UNNotification?) {
22+
+ openSettingsFor notification: UNNotification) {
2223
#if DEBUG
2324
print("打开通知设置")
24-
#endif
25+
#endif

0 commit comments

Comments
 (0)