Skip to content

7.0.0

Compare
Choose a tag to compare
@vanessaland vanessaland released this 30 Aug 18:22
· 1 commit to master since this release
Breaking
Fixed
  • Fixed an issue on Android where the AndroidPushReceivedTimestamp of a PushNotification was incorrectly translated from a long to an int. The value received by the C# layer is now the same as the value sent in the JSON.
Added
  • On the FeatureFlag object, added these APIs to get specific properties:
    • featureFlag.GetTimestampProperty(string id) for accessing Int Unix UTC millisecond timestamps as long?s.
    • featureFlag.GetJSONProperty(string id) for accessing JSON objects as JSONObject? types.
    • featureFlag.GetImageProperty(string id) for accessing image URLs as string?s.
  • Updated the following APIs to use Pascal case and deprecated the previous variant:
    • featureFlag.GetStringProperty(string id), replacing getStringProperty
    • featureFlag.GetIntegerProperty(string id), replacing getIntegerProperty
    • featureFlag.GetDoubleProperty(string id), replacing getDoubleProperty
    • featureFlag.GetBooleanProperty(string id), replacing getBooleanProperty
  • Added the method AppboyBinding.SetUserLanguage(string) for setting the language user attribute.
  • Added the method AppboyBinding.SetAdTrackingEnabled(bool adTrackingEnabled, string googleAdvertisingId) to set the adTrackingEnabled flag on iOS and both the adTrackingEnabled flag and the Google Advertising ID on Android.
  • Added support to modify the allow list for Braze tracking properties via the following C# properties and methods:
    • TrackingProperty class
    • TrackingPropertyAllowList class
    • AppboyBinding.UpdateTrackingPropertyAllowList(TrackingPropertyAllowList) to modify the allow list for Braze tracking properties.
    • For details, refer to the Braze iOS Privacy Manifest documentation.
  • Added the InAppMessage.IsTestSend property to indicate whether an in-app message was sent as a test send.
  • Added the method AppboyBinding.HideCurrentInAppMessage() to hide the visible in-app message, if applicable.