Breaking
BrazeImageUtils::getBitmap
now returns aBitmapAndHeaders
object instead of just aBitmap
. This object contains theBitmap
and headers from the image download network request.- Custom Image Loaders that have used code from
DefaultBrazeImageLoader
may need to update their code to handle the new return type.
- Custom Image Loaders that have used code from
Fixed
- Fixed an issue with
com.braze.support.DateTimeUtils.nowInMilliseconds()
where, in the event of the device network time clock not being available, the SDK would continually log about the error. - Fixed the potential for
ViewUtils.removeViewFromParent
to cause a crash. - Fixed an issue where an HTML In-App Message could crash if a bad external link had a query parameter of
target="_blank"
. Thanks to@chenxiangcxc
for finding the issue. - Fixed an issue where images would be cached when the HTTP headers indicated they shouldn't be cached.
- Fixed an issue where some liquid templated images would not have the proper aspect ratio.
Added
- Added support for new Feature Flag property types by adding
getJsonProperty(key)
,getImageProperty(key)
, andgetDateTimeProperty(key)
toFeatureFlag
.
Changed
- Removed
@Synchronized
from Brazelogger in order to eliminate noisy thread deadlock logs.