MobileApplication.IconBadgeNumber
From Xojo Documentation
Property (As Integer )
aMobileApplication.IconBadgeNumber = newIntegerValue
or
IntegerValue = aMobileApplication.IconBadgeNumber
New in 2020r2
Supported for all project types and targets.
or
IntegerValue = aMobileApplication.IconBadgeNumber
New in 2020r2
Supported for all project types and targets.
The number that appears in the badge on the application's icon.
Notes
A badge will only appear if the value is greater than 0.
When building with Xojo 2021r3 and later versions, your app will be required to get permission to update the badge from the Notification Center.
See the BadgeNumber example project for implementation details: Examples/Controls/BadgeNumber
Sample Code
App.IconBadgeNumber = App.IconBadgeNumber + 1