Skip to content

Commit f7dfee6

Browse files
Add associated domain entitlement.
1 parent 933ecee commit f7dfee6

File tree

3 files changed

+31
-0
lines changed

3 files changed

+31
-0
lines changed

host-app/Info.plist

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@
2727
<key>NSAllowsArbitraryLoads</key>
2828
<true/>
2929
</dict>
30+
<key>UIBackgroundModes</key>
31+
<array>
32+
<string>remote-notification</string>
33+
</array>
3034
<key>UILaunchStoryboardName</key>
3135
<string>LaunchScreen</string>
3236
<key>UIMainStoryboardFile</key>

host-app/host-app.entitlements

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>aps-environment</key>
6+
<string>development</string>
7+
<key>com.apple.developer.associated-domains</key>
8+
<array>
9+
<string>applinks:links.iterable.com</string>
10+
</array>
11+
</dict>
12+
</plist>

swift-sdk.xcodeproj/project.pbxproj

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@
170170
789F9E27D756A343F1E4E523 /* libPods-swift-sdk.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-swift-sdk.a"; sourceTree = BUILT_PRODUCTS_DIR; };
171171
AC0674E420D8766600C2806D /* notification-extensionTests-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "notification-extensionTests-Bridging-Header.h"; sourceTree = "<group>"; };
172172
AC0674E520D8766600C2806D /* NotificationExtensionTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = NotificationExtensionTests.m; sourceTree = "<group>"; };
173+
AC0A45372179300D0040394F /* host-app.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = "host-app.entitlements"; sourceTree = "<group>"; };
173174
AC2263DF20CF49B8009800EB /* IterableSDK.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = IterableSDK.framework; sourceTree = BUILT_PRODUCTS_DIR; };
174175
AC2263E220CF49B8009800EB /* IterableSDK.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = IterableSDK.h; sourceTree = "<group>"; };
175176
AC2263E320CF49B8009800EB /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
@@ -557,6 +558,7 @@
557558
ACF560D420E443BF000AAC23 /* host-app */ = {
558559
isa = PBXGroup;
559560
children = (
561+
AC0A45372179300D0040394F /* host-app.entitlements */,
560562
ACF560D520E443BF000AAC23 /* AppDelegate.swift */,
561563
ACF560D720E443BF000AAC23 /* ViewController.swift */,
562564
ACF560D920E443BF000AAC23 /* Main.storyboard */,
@@ -795,6 +797,17 @@
795797
};
796798
ACF560D220E443BF000AAC23 = {
797799
CreatedOnToolsVersion = 9.4;
800+
SystemCapabilities = {
801+
com.apple.BackgroundModes = {
802+
enabled = 1;
803+
};
804+
com.apple.Push = {
805+
enabled = 1;
806+
};
807+
com.apple.SafariKeychain = {
808+
enabled = 1;
809+
};
810+
};
798811
};
799812
};
800813
};
@@ -1536,6 +1549,7 @@
15361549
buildSettings = {
15371550
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
15381551
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
1552+
CODE_SIGN_ENTITLEMENTS = "host-app/host-app.entitlements";
15391553
CODE_SIGN_STYLE = Automatic;
15401554
DEVELOPMENT_TEAM = BP98Z28R86;
15411555
INFOPLIST_FILE = "host-app/Info.plist";
@@ -1556,6 +1570,7 @@
15561570
buildSettings = {
15571571
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
15581572
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
1573+
CODE_SIGN_ENTITLEMENTS = "host-app/host-app.entitlements";
15591574
CODE_SIGN_STYLE = Automatic;
15601575
DEVELOPMENT_TEAM = BP98Z28R86;
15611576
INFOPLIST_FILE = "host-app/Info.plist";

0 commit comments

Comments
 (0)