Skip to content

Commit

Permalink
Version 5.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lowip committed Aug 12, 2022
1 parent 36d0e16 commit 47edecf
Show file tree
Hide file tree
Showing 78 changed files with 2,462 additions and 2,779 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
xcuserdata/
DerivedData/
.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata
Examples/Examples.xcodeproj/project.xcworkspace/xcshareddata/swiftpm
Examples/Examples.xcodeproj/project.xcworkspace/xcshareddata/swiftpm
20 changes: 20 additions & 0 deletions BrazeKit.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Pod::Spec.new do |s|
s.name = 'BrazeKit'
s.version = '5.1.0'
s.summary = 'Braze Main SDK library providing support for analytics and push notifications.'

s.homepage = 'https://braze.com'
s.license = { :type => 'Commercial' }
s.authors = 'Braze, Inc.'

s.source = {
:http => 'https://github.com/braze-inc/braze-swift-sdk/releases/download/5.1.0/BrazeKit-CocoaPods.zip',
:sha256 => 'dfedd4d9375d4b71be2f4b4b0e604cd3e931339f92f55a37c90a8500f34a7b9a'
}

s.swift_version = '5.0'
s.ios.deployment_target = '10.0'

s.vendored_framework = 'BrazeKit.xcframework'
s.resource_bundles = { 'BrazeKit' => 'Sources/BrazeKitResources/Resources/**/*' }
end
23 changes: 23 additions & 0 deletions BrazeLocation.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
Pod::Spec.new do |s|
s.name = 'BrazeLocation'
s.version = '5.1.0'
s.summary = 'Braze location library providing support for location analytics and geofence monitoring.'

s.homepage = 'https://braze.com'
s.license = { :type => 'Commercial' }
s.authors = 'Braze, Inc.'

s.source = {
:http => 'https://github.com/braze-inc/braze-swift-sdk/releases/download/5.1.0/BrazeLocation-CocoaPods.zip',
:sha256 => '8d1c1b04e586b10dc4987ff57e91ac236246e519fbc214d9b3a2683bdb008b90'
}

s.swift_version = '5.0'
s.ios.deployment_target = '10.0'

s.vendored_framework = 'BrazeLocation.xcframework'

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

s.homepage = 'https://braze.com'
s.license = { :type => 'Commercial' }
s.authors = 'Braze, Inc.'

s.source = {
:http => 'https://github.com/braze-inc/braze-swift-sdk/releases/download/5.1.0/BrazeNotificationService-CocoaPods.zip',
:sha256 => '43d2b4cb740391029f40b56ad4a71044498dddad56cf185ab9695aeb7ca550f4'
}

s.swift_version = '5.0'
s.ios.deployment_target = '10.0'

s.vendored_framework = 'BrazeNotificationService.xcframework'
end
19 changes: 19 additions & 0 deletions BrazePushStory.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Pod::Spec.new do |s|
s.name = 'BrazePushStory'
s.version = '5.1.0'
s.summary = 'Braze notification content extension library providing support for Push Stories.'

s.homepage = 'https://braze.com'
s.license = { :type => 'Commercial' }
s.authors = 'Braze, Inc.'

s.source = {
:http => 'https://github.com/braze-inc/braze-swift-sdk/releases/download/5.1.0/BrazePushStory-CocoaPods.zip',
:sha256 => 'b7478167cf457883c6b7ad4455b3a2acd805f258555a9e55bd427b9eeb933de9'
}

s.swift_version = '5.0'
s.ios.deployment_target = '10.0'

s.vendored_framework = 'BrazePushStory.xcframework'
end
20 changes: 20 additions & 0 deletions BrazeUI.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Pod::Spec.new do |s|
s.name = 'BrazeUI'
s.version = '5.1.0'
s.summary = 'Braze-provided user interface library for In-App Messages.'

s.homepage = 'https://braze.com'
s.license = { :type => 'Commercial' }
s.authors = 'Braze, Inc.'

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

s.swift_version = '5.0'
s.ios.deployment_target = '10.0'
s.static_framework = true

s.source_files = 'Sources/BrazeUI/**/*.swift'
s.resource_bundles = { 'BrazeUI' => 'Sources/BrazeUI/Resources/**/*' }

s.dependency 'BrazeKit', '5.1.0'
end
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
## 5.1.0

##### Fixed

- Fixes an issue where the SDK would be unable to present a webview when the application was already presenting a modal view controller.
- Fixes an issue preventing a full device data update after changing the identified user.
- Fixes an issue preventing events and user attributes from being flushed automatically under certain conditions.
- Fixes an issue delaying updates to push notifications settings.

##### Added

- Adds CocoaPods support.
- Pods:
- [BrazeKit](https://cocoapods.org/pods/BrazeKit)
- [BrazeUI](https://cocoapods.org/pods/BrazeUI)
- [BrazeLocation](https://cocoapods.org/pods/BrazeLocation)
- [BrazeNotificationService](https://cocoapods.org/pods/BrazeNotificationService)
- [BrazePushStory](https://cocoapods.org/pods/BrazePushStory)
- See [Examples/Podfile](Examples/Podfile) for example integration.
- Adds `Braze.UIUtils.activeTopmostViewController` to get the topmost view controller that is currently being presented by the application.

## 5.0.1

##### Fixed
Expand Down
5 changes: 0 additions & 5 deletions Examples/Analytics/Info.plist

This file was deleted.

Loading

0 comments on commit 47edecf

Please sign in to comment.