Error when I try to install Custom App: Oauth error missing_shopify_permission

We are building a mobile app for our online store

In order to get deep-links working in our app, we need to setup our shopify store so that it returns a specific apple-app-site-association JSON file from https://our_store/.well-known/apple-app-site-association

For this, we’re trying to follow the directions listed here: https://shopify.dev/api/admin-rest/2021-10/resources/mobileplatformapplication#top

However, when installing our shopify custom app on our store https://corahealth.in, we are getting this error

: Oauth error missing_shopify_permission: write_mobile_platform_applications, read_mobile_platform_applications

We have requested these scopes in the request we’re sending to the store at the custom-app-install/update time, and that is when we’re seeing this error.

So the question is:

How do we install our app on https://corahealth.in with scopes

“write_mobile_platform_applications, read_mobile_platform_applications”

so that we can call the Admin REST API:

/admin/api/2021-10/mobile_platform_applications.json