onesignal-ane
onesignal-ane copied to clipboard
OneSignal_disable_badge_clearing
I would need to ask if it's possible to set "OneSignal_disable_badge_clearing" in iOS section of Application descriptor file of Adobe AIR? So far this setting seems to only work in XCode.
Kindly advice.
I think you could add the following to InfoAdditions
:
<key>OneSignal_disable_badge_clearing</key>
<false/>
Thank you for the answer and I already managed to add in InfoAdditions with
@romeoobane @marpies OneSignal_disable_badge_clearing
needs to be set to true
to prevent the SDK from resetting the badge value when the app is resumed / opened.
I've added the needed setting but still the badge value is reset when the app is resumed / opened:
Please just let me know if you need more info on my project settings. Thank you!
Should this setting be added directly in XCode .plist file and then rebuild the ANE?
No, it needs to be set in the app descriptor XML.
I tested this myself and indeed the setting does not have an effect in AIR app. The problem is with AIR as it seems to reset the badge automatically. You can try creating a feature request and collect votes.
Thank you so much for testing on your side and for the clarification.
I'll try to create a feature request for this.