You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/fragments/lib/push-notifications/ios/getting_started/20_set_entitlements.mdx
+26-3Lines changed: 26 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,9 @@ Using Amazon Pinpoint with APNs requires the following capabilities
7
7
8
8
To add these capabilities:
9
9
10
+
<BlockSwitcher>
11
+
<Blockname="iOS">
12
+
10
13
1. In project settings, select your main application target, select the **Signing and Capabilities** tab, and click **+ Capability** in the upper left corner of the editor pane to bring up the Capabilities dialog.
3.If your app supports **iOS**, repeat step 1 to open the Capabilities dialog and then type **back** in the filter box and double-click **Background Modes** to add the capability.
27
+
3.Repeat step 1 to open the Capabilities dialog and then type **back** in the filter box and double-click **Background Modes** to add the capability.
@@ -33,10 +36,30 @@ Xcode can be a little finicky with this step. If the Capabilities dialog is empt
33
36
34
37
6. Select **Change All** again when prompted.
35
38
36
-
7. If your app supports **macOS**, repeat step 1 to open the Capabilities dialog and then type **sand** in the filter box and double-click **App Sandbox** to add the capability.
39
+
</Block>
40
+
<Blockname="macOS">
41
+
42
+
1. In project settings, select your main application target, select the **Signing and Capabilities** tab, and click **+ Capability** in the upper left corner of the editor pane to bring up the Capabilities dialog.
Xcode can be a little finicky with this step. If the Capabilities dialog is empty, try switching to a different tab and then switching back to **Signing and Capabilities**
49
+
50
+
</Callout>
51
+
52
+
2. Type **push** in the filter box and double-click **Push Notifications** to add the capability.
0 commit comments