Skip to content

Commit 445c893

Browse files
authored
Merge branch 'master' into feature/itbl_track_anon_user
2 parents b6a9073 + 4e08441 commit 445c893

File tree

11 files changed

+26
-22
lines changed

11 files changed

+26
-22
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
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.5.7]
7+
### Fixed
8+
- Fixed deeplink re-routing issue where delegate would only return `false` value. Thanks to @scottasoutherland :)
9+
610
## [6.5.6]
711
### Fixed
812
- Fixed an issue where push notification were not being delivered in iOS 18 beta Sandbox builds.

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.5.6"
4+
s.version = "6.5.7"
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.5.6"
4+
s.version = "6.5.7"
55
s.summary = "Iterable's official SDK for iOS"
66

77
s.description = <<-DESC

sample-apps/objc-sample-app/objc-sample-app/AppDelegate.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ - (BOOL)handleIterableURL:(NSURL *)url context:(IterableActionContext *)context
134134
- (BOOL)handleIterableCustomAction:(IterableAction *)action context:(IterableActionContext *)context {
135135
if ([action.type isEqualToString:@"handleFindCoffee"]) {
136136
if (action.userInput != nil) {
137-
NSString *urlString = [[NSString alloc] initWithFormat:@"https://majumder.me/coffee?q=%@", action.userInput];
137+
NSString *urlString = [[NSString alloc] initWithFormat:@"https://example.com/coffee?q=%@", action.userInput];
138138
NSURL *url = [[NSURL alloc] initWithString:urlString];
139139
return [DeepLinkHandler handleURL:url];
140140
}

sample-apps/objc-sample-app/objc-sample-app/objc-sample-app.entitlements

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
<string>development</string>
77
<key>com.apple.developer.associated-domains</key>
88
<array>
9-
<string>applinks:majumder.me</string>
10-
<string>applinks:links.majumder.me</string>
9+
<string>applinks:example.com</string>
10+
<string>applinks:links.example.com</string>
1111
</array>
1212
</dict>
1313
</plist>

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -497,13 +497,13 @@
497497
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
498498
CODE_SIGN_ENTITLEMENTS = "swift-sample-app/swift-sample-app.entitlements";
499499
CODE_SIGN_STYLE = Automatic;
500-
DEVELOPMENT_TEAM = BP98Z28R86;
500+
DEVELOPMENT_TEAM = "";
501501
INFOPLIST_FILE = "swift-sample-app/Info.plist";
502502
LD_RUNPATH_SEARCH_PATHS = (
503503
"$(inherited)",
504504
"@executable_path/Frameworks",
505505
);
506-
PRODUCT_BUNDLE_IDENTIFIER = "iterable.swift-sample-app";
506+
PRODUCT_BUNDLE_IDENTIFIER = "com.example.iterable.swift-sample-app";
507507
PRODUCT_NAME = "$(TARGET_NAME)";
508508
SWIFT_VERSION = 5.0;
509509
TARGETED_DEVICE_FAMILY = "1,2";
@@ -516,13 +516,13 @@
516516
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
517517
CODE_SIGN_ENTITLEMENTS = "swift-sample-app/swift-sample-app.entitlements";
518518
CODE_SIGN_STYLE = Automatic;
519-
DEVELOPMENT_TEAM = BP98Z28R86;
519+
DEVELOPMENT_TEAM = "";
520520
INFOPLIST_FILE = "swift-sample-app/Info.plist";
521521
LD_RUNPATH_SEARCH_PATHS = (
522522
"$(inherited)",
523523
"@executable_path/Frameworks",
524524
);
525-
PRODUCT_BUNDLE_IDENTIFIER = "iterable.swift-sample-app";
525+
PRODUCT_BUNDLE_IDENTIFIER = "com.example.iterable.swift-sample-app";
526526
PRODUCT_NAME = "$(TARGET_NAME)";
527527
SWIFT_VERSION = 5.0;
528528
TARGETED_DEVICE_FAMILY = "1,2";
@@ -533,14 +533,14 @@
533533
isa = XCBuildConfiguration;
534534
buildSettings = {
535535
CODE_SIGN_STYLE = Automatic;
536-
DEVELOPMENT_TEAM = BP98Z28R86;
536+
DEVELOPMENT_TEAM = "";
537537
INFOPLIST_FILE = "swift-sample-app-notification-extension/Info.plist";
538538
LD_RUNPATH_SEARCH_PATHS = (
539539
"$(inherited)",
540540
"@executable_path/Frameworks",
541541
"@executable_path/../../Frameworks",
542542
);
543-
PRODUCT_BUNDLE_IDENTIFIER = "iterable.swift-sample-app.swift-sample-app-notification-extension";
543+
PRODUCT_BUNDLE_IDENTIFIER = "com.example.iterable.swift-sample-app.swift-sample-app-notification-extension";
544544
PRODUCT_NAME = "$(TARGET_NAME)";
545545
SKIP_INSTALL = YES;
546546
SWIFT_VERSION = 5.0;
@@ -552,14 +552,14 @@
552552
isa = XCBuildConfiguration;
553553
buildSettings = {
554554
CODE_SIGN_STYLE = Automatic;
555-
DEVELOPMENT_TEAM = BP98Z28R86;
555+
DEVELOPMENT_TEAM = "";
556556
INFOPLIST_FILE = "swift-sample-app-notification-extension/Info.plist";
557557
LD_RUNPATH_SEARCH_PATHS = (
558558
"$(inherited)",
559559
"@executable_path/Frameworks",
560560
"@executable_path/../../Frameworks",
561561
);
562-
PRODUCT_BUNDLE_IDENTIFIER = "iterable.swift-sample-app.swift-sample-app-notification-extension";
562+
PRODUCT_BUNDLE_IDENTIFIER = "com.example.iterable.swift-sample-app.swift-sample-app-notification-extension";
563563
PRODUCT_NAME = "$(TARGET_NAME)";
564564
SKIP_INSTALL = YES;
565565
SWIFT_VERSION = 5.0;

sample-apps/swift-sample-app/swift-sample-app/AppDelegate.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ extension AppDelegate: IterableCustomActionDelegate {
171171
func handle(iterableCustomAction action: IterableAction, inContext _: IterableActionContext) -> Bool {
172172
if action.type == "handleFindCoffee" {
173173
if let query = action.userInput {
174-
return DeepLinkHandler.handle(url: URL(string: "https://majumder.me/coffee?q=\(query)")!)
174+
return DeepLinkHandler.handle(url: URL(string: "https://example.com/coffee?q=\(query)")!)
175175
}
176176
}
177177
return false

sample-apps/swift-sample-app/swift-sample-app/swift-sample-app.entitlements

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
<string>development</string>
77
<key>com.apple.developer.associated-domains</key>
88
<array>
9-
<string>applinks:majumder.me</string>
10-
<string>applinks:links.majumder.me</string>
9+
<string>applinks:example.com</string>
10+
<string>applinks:links.example.com</string>
1111
</array>
1212
</dict>
1313
</plist>

swift-sdk/Internal/DeepLinkManager.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,17 +43,18 @@ class DeepLinkManager: NSObject {
4343
// Always return true for deep link
4444
return (true, pending)
4545
} else {
46+
var result: Bool = false
4647
if let action = IterableAction.actionOpenUrl(fromUrlString: url.absoluteString) {
4748
let context = IterableActionContext(action: action, source: .universalLink)
4849

49-
ActionRunner.execute(action: action,
50+
result = ActionRunner.execute(action: action,
5051
context: context,
5152
urlHandler: IterableUtil.urlHandler(fromUrlDelegate: urlDelegate,
5253
inContext: context),
5354
urlOpener: urlOpener,
5455
allowedProtocols: allowedProtocols)
5556
}
56-
return (false, Fulfill<IterableAttributionInfo?, Error>(value: nil))
57+
return (result, Fulfill<IterableAttributionInfo?, Error>(value: nil))
5758
}
5859
}
5960

swift-sdk/IterableAPI.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import UIKit
77

88
@objcMembers public final class IterableAPI: NSObject {
99
/// The current SDK version
10-
public static let sdkVersion = "6.5.6"
10+
public static let sdkVersion = "6.5.7"
1111

1212
/// The email of the logged in user that this IterableAPI is using
1313
public static var email: String? {

0 commit comments

Comments
 (0)