Use Case:
I was using write_script_tags,Now I am using theme app extensions to ensure compatibility with Online Store 2.0 themes. But in app review process, I got this feedback
Only request permissions for API scopes that are required for your app to function. Your app is requesting scopes that aren’t in use, so make changes to comply with our requirements.
Passing empty scopes while installing an app is an important step to ensure that the app is successfully installed and that the user has full access to the features and functions of the app. Empty scopes refer to the permission levels or access rights that the app requests from the user. This ensures that the app is installed without any conflicts and that the user is aware of the access rights that the app is requesting. In order to pass empty scopes, the user must first grant permission to the app in order to access their data. This can be done by providing necessary credentials such as username, password, and two-factor authentication. Once the user has granted permission, the empty scopes will be passed while the app is being installed. It is important to note that the user should carefully review the app’s permission levels before granting them access. This will ensure that the user is aware of what type of data the app can access and how it will be used. It is also important to remember that the user should always be able to revoke the permission they provide in the future, if they decide to do so.