React Native Requirements
React Native mobile applications require extra configuration for both iOS and Android to ensure that Cash App deeplinks successfully during the Cash App Pay mobile user flow. This is caused because your application cannot see, or directly interact with, most external packages without explicitly requesting allowance. Therefore, you must declare your app’s need for increased visibility with Cash App.
iOS
Problem
Launch Services provides support for launching apps and matching document types to apps. Therefore, the keys recognized by Launch Services allow you to specify the desired execution environment for your code packages. See more at Launch Services Keys.
Solution
The following configuration must be added to the info.plist
file:
Android
Problem
When your app queries information about other apps that are installed on an Android (11 or higher) device, the information is filtered by default. This filtering behavior means that your app can’t detect all the apps installed on the device. This helps minimize the potentially sensitive information that your app can access but doesn’t really need for its use cases. See more at Package visibility filtering on Android.
Solution
The following configuration must be added to the AndroidManifest.xml
file: