Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[📚] Expo remote notifications config #8167

Open
StevenHallLtd opened this issue Nov 29, 2024 · 2 comments
Open

[📚] Expo remote notifications config #8167

StevenHallLtd opened this issue Nov 29, 2024 · 2 comments

Comments

@StevenHallLtd
Copy link

Documentation Feedback

This wasn't a huge time-sink for me, but I couldn't find reference on how to enable remote notifications in Xcode if you're using EAS or wanting to use the expo prebuild option. This simply requires adding the following configuration to app.json...

{
    "expo": {
        "ios": {
            "infoPlist": {
                "UIBackgroundModes": ["remote-notification"]
            },
        }
    }
}

Obviously not every project requires remote notifications, so it probably doesn't make sense to add this to the plugin.

@mikehardy
Copy link
Collaborator

More than that - for anything expo can do with built in config powers I'd prefer that there
I think this would be a great addition in the messaging section though - I knew the native part was needed but didn't know how to wire it in with Expo myself either. Maybe a quick Expo-related chunk including this in the iOS setup area for messaging as a docs PR? I'd happily merge anything like that

@mikehardy
Copy link
Collaborator

(there's an edit button top right of every page and the github web-based PR flow is really quick for text stuff)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants