Skip to content

Commit

Permalink
Version 5.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lowip committed Oct 25, 2022
1 parent 2f829ae commit 3481cf1
Show file tree
Hide file tree
Showing 63 changed files with 3,220 additions and 981 deletions.
6 changes: 3 additions & 3 deletions BrazeKit.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'BrazeKit'
s.version = '5.5.1'
s.version = '5.6.0'
s.summary = 'Braze Main SDK library providing support for analytics and push notifications.'

s.homepage = 'https://braze.com'
Expand All @@ -9,8 +9,8 @@ Pod::Spec.new do |s|
s.authors = 'Braze, Inc.'

s.source = {
:http => 'https://github.com/braze-inc/braze-swift-sdk/releases/download/5.5.1/BrazeKit-CocoaPods.zip',
:sha256 => '380dd46a29386bedfe72a3e2e18a7248aacef5623501b8196fc8d6bf130c0c9e'
:http => 'https://github.com/braze-inc/braze-swift-sdk/releases/download/5.6.0/BrazeKit-CocoaPods.zip',
:sha256 => 'c35fa043e86919936cae61e191c95df9b03e95c0aac2e797b4d26e20f21786e3'
}

s.swift_version = '5.0'
Expand Down
8 changes: 4 additions & 4 deletions BrazeLocation.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'BrazeLocation'
s.version = '5.5.1'
s.version = '5.6.0'
s.summary = 'Braze location library providing support for location analytics and geofence monitoring.'

s.homepage = 'https://braze.com'
Expand All @@ -9,8 +9,8 @@ Pod::Spec.new do |s|
s.authors = 'Braze, Inc.'

s.source = {
:http => 'https://github.com/braze-inc/braze-swift-sdk/releases/download/5.5.1/BrazeLocation-CocoaPods.zip',
:sha256 => 'e88cf1fd8ad099269ecc93b8f0a8ca8b54bec7612e13ed3d8fd0b510faa471af'
:http => 'https://github.com/braze-inc/braze-swift-sdk/releases/download/5.6.0/BrazeLocation-CocoaPods.zip',
:sha256 => '185f30e2b993ce39ee1f6053bf7f794db1b6d851ceff48777fb0fd0d5fabce84'
}

s.swift_version = '5.0'
Expand All @@ -21,5 +21,5 @@ Pod::Spec.new do |s|

# Depends on BrazeKit because BrazeKit includes the internal _BrazeLocationClient symbols required
# for linking against BrazeLocation.
s.dependency 'BrazeKit', '5.5.1'
s.dependency 'BrazeKit', '5.6.0'
end
6 changes: 3 additions & 3 deletions BrazeNotificationService.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'BrazeNotificationService'
s.version = '5.5.1'
s.version = '5.6.0'
s.summary = 'Braze notification service extension library providing support for Rich Push notifications.'

s.homepage = 'https://braze.com'
Expand All @@ -9,8 +9,8 @@ Pod::Spec.new do |s|
s.authors = 'Braze, Inc.'

s.source = {
:http => 'https://github.com/braze-inc/braze-swift-sdk/releases/download/5.5.1/BrazeNotificationService-CocoaPods.zip',
:sha256 => '05991a10529346219ad4101d1c6305bc578555b26136312f1c2619338deeb07a'
:http => 'https://github.com/braze-inc/braze-swift-sdk/releases/download/5.6.0/BrazeNotificationService-CocoaPods.zip',
:sha256 => '366538682b5d6268246733366b69689cb19c175b450747f9bd675a6df830bf73'
}

s.swift_version = '5.0'
Expand Down
6 changes: 3 additions & 3 deletions BrazePushStory.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'BrazePushStory'
s.version = '5.5.1'
s.version = '5.6.0'
s.summary = 'Braze notification content extension library providing support for Push Stories.'

s.homepage = 'https://braze.com'
Expand All @@ -9,8 +9,8 @@ Pod::Spec.new do |s|
s.authors = 'Braze, Inc.'

s.source = {
:http => 'https://github.com/braze-inc/braze-swift-sdk/releases/download/5.5.1/BrazePushStory-CocoaPods.zip',
:sha256 => '361fe3ec0e7fd03f5eafe8c6f582fbaeb7d60af765fe01cb1136b423b4176123'
:http => 'https://github.com/braze-inc/braze-swift-sdk/releases/download/5.6.0/BrazePushStory-CocoaPods.zip',
:sha256 => 'c55cd87e925d56a834d606e78e3ad5b54fb3c683ce92be58c5f9a043cf748b1c'
}

s.swift_version = '5.0'
Expand Down
6 changes: 3 additions & 3 deletions BrazeUI.podspec
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
Pod::Spec.new do |s|
s.name = 'BrazeUI'
s.version = '5.5.1'
s.version = '5.6.0'
s.summary = 'Braze-provided user interface library for In-App Messages.'

s.homepage = 'https://braze.com'
s.documentation_url = 'https://braze-inc.github.io/braze-swift-sdk/documentation/brazeui/'
s.license = { :type => 'Commercial' }
s.authors = 'Braze, Inc.'

s.source = { :git => 'https://github.com/braze-inc/braze-swift-sdk.git', :tag => '5.5.1' }
s.source = { :git => 'https://github.com/braze-inc/braze-swift-sdk.git', :tag => '5.6.0' }

s.swift_version = '5.0'
s.ios.deployment_target = '10.0'
Expand All @@ -17,5 +17,5 @@ Pod::Spec.new do |s|
s.source_files = 'Sources/BrazeUI/**/*.swift'
s.resource_bundles = { 'BrazeUI' => 'Sources/BrazeUI/Resources/**/*' }

s.dependency 'BrazeKit', '5.5.1'
s.dependency 'BrazeKit', '5.6.0'
end
41 changes: 41 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,44 @@
## 5.6.0

##### Fixed
- The modal webview controller presented after a click now correctly handles non-HTTP(S) URLs (e.g. App Store URLs).
- Fixes an issue preventing some test HTML in-app messages from displaying images.

##### Added
- Learn how to easily customize `BrazeUI` in-app message and content cards UI components with the following documentation and example code:
- [In-App Message UI Customization] article
- [Content Cards UI Customization] article
- `InAppMessageUI-Customization` example scheme
- `ContentCardUI-Customization` example scheme
- Adds new attributes to `BrazeUI` in-app message UI components:
- `cornerCurve` to change the [`cornerCurve`]
- `buttonsAttributes` to change the font, spacing and corner radius of the buttons
- `imageCornerRadius` to change the image corner radius for slideups
- `imageCornerCurve` to change the image [`cornerCurve`] for slideups
- `dismissible` to change whether slideups can be interactively dismissed
- Adds direct accessors to the in-app message view subclass on the [`BrazeInAppMessageUI.messageView`] property.
- [`slideup`], [`modal`], [`modalImage`], [`full`], [`fullImage`], [`html`], [`control`].
- Adds direct accessors to the content card `title`, `description` and `domain` when available.
- Adds `Braze.Notifications.isInternalNotification` to check if a push notification was sent by Braze for an internal feature.
- Adds [`brazeBridge.changeUser()`] to the HTML in-app messages JavaScript bridge.

[In-App Message UI Customization]: https://braze-inc.github.io/braze-swift-sdk/documentation/braze/in-app-message-customization
[Content Cards UI Customization]: https://braze-inc.github.io/braze-swift-sdk/documentation/braze/content-cards-customization
[`cornerCurve`]: https://developer.apple.com/documentation/quartzcore/calayer/3152596-cornercurve
[`BrazeInAppMessageUI.messageView`]: https://braze-inc.github.io/braze-swift-sdk/documentation/brazeui/brazeinappmessageui/messageview
[`brazeBridge.changeUser()`]: https://www.braze.com/docs/user_guide/message_building_by_channel/in-app_messages/customize/html_in-app_messages/#bridge
[`slideup`]: https://braze-inc.github.io/braze-swift-sdk/documentation/brazeui/inappmessageview/slideup
[`modal`]: https://braze-inc.github.io/braze-swift-sdk/documentation/brazeui/inappmessageview/modal
[`modalImage`]: https://braze-inc.github.io/braze-swift-sdk/documentation/brazeui/inappmessageview/modalimage
[`full`]: https://braze-inc.github.io/braze-swift-sdk/documentation/brazeui/inappmessageview/full
[`fullImage`]: https://braze-inc.github.io/braze-swift-sdk/documentation/brazeui/inappmessageview/fullimage
[`html`]: https://braze-inc.github.io/braze-swift-sdk/documentation/brazeui/inappmessageview/html
[`control`]: https://braze-inc.github.io/braze-swift-sdk/documentation/brazeui/inappmessageview/control

##### Changed

- The `applyAttributes()` method for `BrazeContentCardUI` views now take the `attributes` explicitly as a parameter.

## 5.5.1

##### Fixed
Expand Down
Loading

0 comments on commit 3481cf1

Please sign in to comment.