Skip to content

Commit

Permalink
[Mobile] Fix notification badge by accepting real type value from pas…
Browse files Browse the repository at this point in the history
…sed object github:5

Jobs: mobileappserver:5
[git-p4: depot-paths = "//depot/4eDimension/19R4/4DComponents/User Components/4D Mobile App Server/": change = 275096]
  • Loading branch information
e-marchand committed Jan 17, 2022
1 parent 275a818 commit 21e12fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Project/Sources/Methods/buildNotification.4dm
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ If ($isAPN)

// Fill badge

If (Value type:C1509($1.badge)=Is integer:K8:5)
If ((Value type:C1509($1.badge)=Is integer:K8:5) | (Value type:C1509($1.badge)=Is real:K8:4))

$notification.aps.badge:=$1.badge
$notification.aps.badge:=Int:C8($1.badge)

End if

Expand Down

0 comments on commit 21e12fa

Please sign in to comment.