customerio / customerio-expo-plugin

MIT License
11 stars 9 forks source link

Unclear documentation for rich push #128

Closed AdamGerthel closed 9 months ago

AdamGerthel commented 9 months ago

The documentation for setting up rich push for managed projects suggests adding the following app config:

 "build": {
    "experimental": {
       "ios": {
          "appExtensions": [{
             "targetName": "NotificationService",
             "bundleIdentifier": "${appIdentifier}.richpush",
          }],
       },
    },
 },

But there's no mention of where this config goes. ExpoConfig doesn't have a build property. IIRC, it used to, but it was moved to a separate package, 'expo-build-properties'. Is that where this config should be? And if so, exactly in which format? Because I'm not sure if the experimental prop exists there.

mrehan27 commented 9 months ago

Thanks for reaching out and sharing your concern. I've shared your feedback internally, and we'll be updating our documentation soon to help minimize any confusion.

For your question, this configuration needs to be set in the app.json file, specifically under expo -> extra -> eas -> build -> experimental -> ios -> appExtensions. You can find more details on this in the Expo documentation.

Let me know if you need further help or have more questions. Please feel free to reach out anytime.