diff --git a/packages/firebase-messaging-core/README.md b/packages/firebase-messaging-core/README.md index 01162ba5..4cb766ba 100644 --- a/packages/firebase-messaging-core/README.md +++ b/packages/firebase-messaging-core/README.md @@ -122,8 +122,8 @@ Open /platforms/ios/yourproject.**xcworkspace** (!) and go to your project's tar #### Copy the entitlements file -The previous step created a the file`platforms/ios/YourAppName/(Resources/)YourAppName.entitlements`. -Copy that file to `app/App_Resources/iOS/` (if it doesn't exist yet, otherwise merge its contents), +The previous step created a the file `platforms/ios/YourAppName/(Resources/)YourAppName.entitlements`. +Move and rename that file to `app/App_Resources/iOS/app.entitlements` (if it doesn't exist yet, otherwise merge its contents), so it's not removed when you remove and re-add the iOS platform. The relevant content for background push in that file is: ```xml diff --git a/packages/firebase-messaging/README.md b/packages/firebase-messaging/README.md index 0132cfa4..34630234 100644 --- a/packages/firebase-messaging/README.md +++ b/packages/firebase-messaging/README.md @@ -508,8 +508,8 @@ Open /platforms/ios/yourproject.**xcworkspace** (!) and go to your project's tar #### Copy the entitlements file -The previous step created a the file`platforms/ios/YourAppName/(Resources/)YourAppName.entitlements`. -Copy that file to `app/App_Resources/iOS/` (if it doesn't exist yet, otherwise merge its contents), +The previous step created a the file `platforms/ios/YourAppName/(Resources/)YourAppName.entitlements`. +Move and rename that file to `app/App_Resources/iOS/app.entitlements` (if it doesn't exist yet, otherwise merge its contents), so it's not removed when you remove and re-add the iOS platform. The relevant content for background push in that file is: ```xml