Skip to content

Commit ba8d2c2

Browse files
Merge branch 'master' into MOB-7795
2 parents 54a3e1d + f37b558 commit ba8d2c2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+3171
-51
lines changed

.github/workflows/ios-sdk-release.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,17 +42,16 @@ jobs:
4242
- name: Install Cocoapods
4343
run: gem install cocoapods
4444

45-
- name: set version number and push podspecs to git
46-
run: bundle exec fastlane ios bump_release_version version:$VERSION
47-
4845
- name: clean cocaopods cache and lint
4946
run: bundle exec fastlane ios clean_and_lint
5047

5148
- name: create xcframeworks and zip
5249
run: bundle exec fastlane ios build_xcframework output_dir:./output_dir
5350

54-
- name: create github release and upload assets
51+
- name: create and push git tag
52+
run: bundle exec fastlane ios create_git_tag version:$VERSION
5553

54+
- name: create github release and upload assets
5655
run: |
5756
bundle exec fastlane ios create_release version:$VERSION branch:$BRANCH changelog_section:$CHANGELOG_SECTION output_dir:$OUTPUT_DIR github_token:$GITHUB_TOKEN set_prerelease:$SET_PRERELEASE
5857

CHANGELOG.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,23 @@
33
All notable changes to this project will be documented in this file.
44
This project adheres to [Semantic Versioning](http://semver.org/).
55

6-
## [6.4.17]
6+
## [6.5.0]
7+
8+
### Added
9+
10+
- Introduces support for embedded messaging: an eligibility–based, personalized messages sent from Iterable to your mobile and web apps, which can display them inline, using native interface components
11+
- To display embedded messages, you can use customizable, out-of-the-box components provided by the SDK (cards, notifications, banners), or you can build fully custom components of your own design.
12+
- To learn more, read [Embedded Messages with Iterable's iOS SDK](https://support.iterable.com/hc/articles/23061840746900).
713

814
### Changed
915

10-
- IterableTaskRunner’s stop function now to set `running` variable as `false`
16+
- `IterableConfig` is updated with an `enableEmbeddedMessaging` flag that needs to be set to true to allow use of embedded messaging functionality
17+
18+
## [6.4.17]
19+
20+
### Fixed
21+
22+
- Resolved push open tracking issue when the app is running in the background.
1123

1224
## [6.4.16]
1325

Iterable-iOS-AppExtensions.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22
s.name = "Iterable-iOS-AppExtensions"
33
s.module_name = "IterableAppExtensions"
4-
s.version = "6.4.17"
4+
s.version = "6.5.0"
55
s.summary = "App Extensions for Iterable SDK"
66

77
s.description = <<-DESC

Iterable-iOS-SDK.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22
s.name = "Iterable-iOS-SDK"
33
s.module_name = "IterableSDK"
4-
s.version = "6.4.17"
4+
s.version = "6.5.0"
55
s.summary = "Iterable's official SDK for iOS"
66

77
s.description = <<-DESC

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ To learn more about various SDK features, read:
3737
- [Customizing Mobile Inbox on iOS](https://support.iterable.com/hc/articles/360039091471)
3838
- [iOS Universal Links](https://support.iterable.com/hc/articles/360035496511)
3939
- [Deep Links in Push Notifications](https://support.iterable.com/hc/articles/360035453971)
40+
- [Embedded Messages with Iterable's iOS SDK](https://support.iterable.com/hc/articles/23061840746900)
4041

4142
## Sample projects
4243

fastlane/Fastfile

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ platform :ios do
1414
bump_release_version(version:set_version)
1515
clean_and_lint
1616
build_xcframework(output_dir:set_output_dir)
17+
create_git_tag(version:set_version)
1718
create_release(version:set_version, output_dir:set_output_dir, changelog_section:set_changelog_section, github_token:set_github_token)
1819
pod_trunk_push
1920
end
@@ -77,6 +78,14 @@ platform :ios do
7778
)
7879
end
7980

81+
desc "create git tag and push tag"
82+
lane :create_git_tag do |options|
83+
version = options[:version]
84+
85+
add_git_tag(tag: "#{version}")
86+
push_git_tags
87+
end
88+
8089
desc "create github release and upload assets"
8190
lane :create_release do |options|
8291
version = options[:version]
@@ -86,8 +95,6 @@ platform :ios do
8695
github_token = options[:github_token]
8796
set_prerelease = options[:set_prerelease]
8897

89-
add_git_tag(tag: "#{version}")
90-
9198
version_changelog = read_changelog(
9299
changelog_path: 'CHANGELOG.md',
93100
section_identifier: "[#{changelog_section}]",

sample-apps/swift-sample-app/swift-sample-app.xcodeproj/project.pbxproj

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@
2121
ACA3A15120E2F83E00FEF74F /* NotificationService.swift in Sources */ = {isa = PBXBuildFile; fileRef = ACA3A15020E2F83E00FEF74F /* NotificationService.swift */; };
2222
ACA3A15520E2F83E00FEF74F /* swift-sample-app-notification-extension.appex in Embed App Extensions */ = {isa = PBXBuildFile; fileRef = ACA3A14E20E2F83D00FEF74F /* swift-sample-app-notification-extension.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; };
2323
ACE7624B20FEB2C20040A002 /* LoginViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = ACE7624A20FEB2C20040A002 /* LoginViewController.swift */; };
24+
E9C60B7B2B3C2061005C4462 /* embeddedmessages.json in Resources */ = {isa = PBXBuildFile; fileRef = E9C60B792B3C2061005C4462 /* embeddedmessages.json */; };
25+
E9C60B7C2B3C2061005C4462 /* EmbeddedMessagesViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = E9C60B7A2B3C2061005C4462 /* EmbeddedMessagesViewController.swift */; };
26+
E9C60B7E2B3C2072005C4462 /* IterableCardViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = E9C60B7D2B3C2072005C4462 /* IterableCardViewCell.swift */; };
2427
/* End PBXBuildFile section */
2528

2629
/* Begin PBXContainerItemProxy section */
@@ -65,6 +68,9 @@
6568
ACA3A16420E2FC7500FEF74F /* swift-sample-app.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = "swift-sample-app.entitlements"; sourceTree = "<group>"; };
6669
ACE7624A20FEB2C20040A002 /* LoginViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LoginViewController.swift; sourceTree = "<group>"; };
6770
ACFA148520E3033700AF4A5A /* CoffeeType.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CoffeeType.swift; sourceTree = "<group>"; };
71+
E9C60B792B3C2061005C4462 /* embeddedmessages.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = embeddedmessages.json; sourceTree = "<group>"; };
72+
E9C60B7A2B3C2061005C4462 /* EmbeddedMessagesViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = EmbeddedMessagesViewController.swift; sourceTree = "<group>"; };
73+
E9C60B7D2B3C2072005C4462 /* IterableCardViewCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = IterableCardViewCell.swift; sourceTree = "<group>"; };
6874
/* End PBXFileReference section */
6975

7076
/* Begin PBXFrameworksBuildPhase section */
@@ -128,6 +134,7 @@
128134
ACA3A13720E2F6AF00FEF74F /* swift-sample-app */ = {
129135
isa = PBXGroup;
130136
children = (
137+
E9C60B782B3C2061005C4462 /* EmbeddedMessages */,
131138
AC5ECD9D20E303F50081E1DA /* ViewControllers */,
132139
AC5ECD9B20E3038B0081E1DA /* Deep Link Handling */,
133140
ACFA148620E3034800AF4A5A /* Assets */,
@@ -182,6 +189,16 @@
182189
name = Storyboards;
183190
sourceTree = "<group>";
184191
};
192+
E9C60B782B3C2061005C4462 /* EmbeddedMessages */ = {
193+
isa = PBXGroup;
194+
children = (
195+
E9C60B7D2B3C2072005C4462 /* IterableCardViewCell.swift */,
196+
E9C60B792B3C2061005C4462 /* embeddedmessages.json */,
197+
E9C60B7A2B3C2061005C4462 /* EmbeddedMessagesViewController.swift */,
198+
);
199+
path = EmbeddedMessages;
200+
sourceTree = "<group>";
201+
};
185202
/* End PBXGroup section */
186203

187204
/* Begin PBXNativeTarget section */
@@ -282,6 +299,7 @@
282299
ACA3A14320E2F6B100FEF74F /* LaunchScreen.storyboard in Resources */,
283300
ACA3A14020E2F6B100FEF74F /* Assets.xcassets in Resources */,
284301
ACA3A13E20E2F6AF00FEF74F /* Main.storyboard in Resources */,
302+
E9C60B7B2B3C2061005C4462 /* embeddedmessages.json in Resources */,
285303
);
286304
runOnlyForDeploymentPostprocessing = 0;
287305
};
@@ -299,6 +317,8 @@
299317
isa = PBXSourcesBuildPhase;
300318
buildActionMask = 2147483647;
301319
files = (
320+
E9C60B7C2B3C2061005C4462 /* EmbeddedMessagesViewController.swift in Sources */,
321+
E9C60B7E2B3C2072005C4462 /* IterableCardViewCell.swift in Sources */,
302322
AC1BDF5A20E304CC000010CA /* CoffeeViewController.swift in Sources */,
303323
ACA3A13920E2F6AF00FEF74F /* AppDelegate.swift in Sources */,
304324
AC1BDF5920E304BF000010CA /* DeepLinkHandler.swift in Sources */,

0 commit comments

Comments
 (0)