Skip to content

Commit 4a04533

Browse files
committed
fix(demo): use vp instead of bun for pre-scripts
1 parent 91f7bb4 commit 4a04533

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

examples/demo/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"clean:android": "rm -rf android/app/build android/app/.cxx android/build",
1010
"clean:ios": "rm -rf ios/App/build ios/DerivedData ios/App/App.xcodeproj/project.xcworkspace/xcshareddata/swiftpm",
1111
"ios": "bash ../run-ios.sh",
12-
"preandroid": "bun run setup",
13-
"preios": "bun run setup",
12+
"preandroid": "vp run setup",
13+
"preios": "vp run setup",
1414
"setup": "../setup.sh"
1515
},
1616
"dependencies": {

ios/Sources/OneSignalCapacitorPlugin/OneSignalCapacitorPlugin.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@ public class OneSignalCapacitorPlugin: CAPPlugin, CAPBridgedPlugin,
632632
clickResult["urlTarget"] = urlTargetStr
633633

634634
notifyListeners("inAppMessageClick", data: [
635-
"message": event.message.jsonRepresentation as? [String: Any] ?? [:],
635+
"message": ["messageId": event.message.messageId],
636636
"result": clickResult
637637
])
638638
}

0 commit comments

Comments
 (0)