From 91b4ed9b66c40cee26cd09152dee056f0eae1478 Mon Sep 17 00:00:00 2001 From: Ben Delaney Date: Mon, 31 Oct 2022 14:04:53 +1100 Subject: [PATCH] fix(messaging): readme file rename instructions do not work --- packages/firebase-messaging-core/README.md | 4 ++-- packages/firebase-messaging/README.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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