App Store Connect/Expo: Review rejected; purpose strings

First time beginner trying to get through the App review in App Store Connect.
In my case, I forgot about the purpose string regarding Photo library access.

Guideline 5.1.1 – Legal – Privacy – Data Collection and Storage
Purpose strings must clearly and completely describe the app’s use of data and, in most cases, provide an example of how the data will be used.

Changing the permission text to be more specific to your App was a requirment, and this is an example using Expo.

app.config.js

    ios: {
      infoPlist: {
        NSPhotoLibraryUsageDescription:
          "This app accesses your photo library to allow you to select and upload images for your profile picture, and to attach photos from your library to send in chat messages.",
      },
    },