Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MOBILE-4239] Fix Airship Actions running #557

Merged
merged 7 commits into from
Apr 8, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
null value
Ulrico972 committed Apr 8, 2024
commit bfe957275f0b8c6e95739d004e67936087c35e9f
2 changes: 1 addition & 1 deletion ios/AirshipReactNative.swift
Original file line number Diff line number Diff line change
@@ -328,7 +328,7 @@ public extension AirshipReactNative {
// Actions
@objc
public extension AirshipReactNative {
func actionsRun(action: [String: Any]) async throws-> Any? {
func actionsRun(action: [String: Any?]) async throws-> Any? {
return try await AirshipProxy.shared.action.runAction(
action["name"] as! String,
Ulrico972 marked this conversation as resolved.
Show resolved Hide resolved
value: action["value"] is NSNull ? nil : try AirshipJSON.wrap(action["value"])