'Showing Manifest merge failed error when I installed tipsi-stripe package

When I installed tipsi-stipe package and run the project I get the below error message "Manifest merger failed : android:exported needs to be explicitly specified for . Apps targeting Android 12 and higher are required to specify an explicit value for android:exported when the corresponding component has an intent filter defined"

Added android:exported="true" on Main/AndroidManifest.xml file inside activity tag

Below are the versions details. "react": "17.0.2", "react-native": "0.68.0", "tipsi-stripe": "^9.2.0"

buildToolsVersion = "31.0.0"
minSdkVersion = 21
compileSdkVersion = 31
targetSdkVersion = 31
ndkVersion = "21.4.7075529"

Added android:exported="true" on Main/AndroidManifest.xml file inside activity tag



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source