Skip to content

Commit

Permalink
Merge pull request #532 from urbanairship/MOBILE-3957
Browse files Browse the repository at this point in the history
Crash when using Airship.push.getActiveNotifications()
  • Loading branch information
rlepinski authored Oct 23, 2023
2 parents 7e0f697 + c2bc253 commit b22007b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ class AirshipModule internal constructor(val context: ReactApplicationContext) :
@ReactMethod
override fun pushGetActiveNotifications(promise: Promise) {
promise.resolveResult {
proxy.push.getActiveNotifications()
JsonValue.wrapOpt(proxy.push.getActiveNotifications())
}
}

Expand Down

0 comments on commit b22007b

Please sign in to comment.