File tree Expand file tree Collapse file tree 7 files changed +639
-8506
lines changed
Expand file tree Collapse file tree 7 files changed +639
-8506
lines changed Original file line number Diff line number Diff line change 1- # iterable-expo-plugin
1+ # @iterable/expo-plugin
2+
3+ ## Instructions
4+
5+ ### Adding Deeplinks
6+
7+ #### iOS
8+ To add deeplinks to your Expo app for use with Iterable, add associated domains
9+ to your ` app.json ` under the iOS configuration.
10+
11+ EG:
12+ ``` json
13+ {
14+ "expo" : {
15+ "ios" : {
16+ "associatedDomains" : [
17+ " applinks:expo.dev" ,
18+ " applinks:iterable.com" ,
19+ " applinks:links.anotherone.com"
20+ ]
21+ }
22+ }
23+ }
24+ ```
25+
26+ This is the equivalent of adding them through ** Signing & Capabilities** in
27+ Xcode, as described in step 5 of [ Iterables iOS Univeral Links
28+ Documentation] ( https://support.iterable.com/hc/en-us/articles/360035496511-iOS-Universal-Links )
29+
30+ See further documentation about how expo setup of iOS Universal Links
31+ [ here] ( https://docs.expo.dev/linking/ios-universal-links/ ) .
32+
33+ ## Troubleshooting
34+
35+ ### Example App
36+
37+ #### Failed to delete [ ios|android] code: ENOTEMPTY: directory not empty
38+
39+ Sometimes this error appears when running ` npx expo prebuild --clean ` . It seems
40+ to be an intermittent bug within expo. It usually works upon running the same
41+ command a second time, so just try again.
Original file line number Diff line number Diff line change 1414 },
1515 "ios" : {
1616 "supportsTablet" : true ,
17- "bundleIdentifier" : " expo.modules.adapters.iterable.example"
17+ "bundleIdentifier" : " expo.modules.adapters.iterable.example" ,
18+ "associatedDomains" : [
19+ " applinks:iterable.com" ,
20+ " applinks:links.anotherone.com"
21+ ]
1822 },
1923 "android" : {
2024 "adaptiveIcon" : {
2630 "web" : {
2731 "favicon" : " ./assets/favicon.png"
2832 },
29- "plugins" : [[" ../app.plugin.js" , { "apiKey" : " YOUR_ITERABLE_API_KEY" }]]
33+ "plugins" : [
34+ [
35+ " ../app.plugin.js" ,
36+ {
37+ "apiKey" : " YOUR_ITERABLE_API_KEY" ,
38+ "appEnvironment" : " development" ,
39+ "autoConfigurePushNotifications" : true ,
40+ "enableInAppMessages" : true ,
41+ "enableTimeSensitivePush" : true ,
42+ "requestPermissionsForPushNotifications" : true
43+ }
44+ ]
45+ ]
3046 }
3147}
You can’t perform that action at this time.
0 commit comments