diff --git a/modules/react-native-wallet/android/build.gradle b/modules/react-native-wallet/android/build.gradle index 957b6e3a8f2b..2628b05827ff 100644 --- a/modules/react-native-wallet/android/build.gradle +++ b/modules/react-native-wallet/android/build.gradle @@ -38,15 +38,6 @@ def getExtOrIntegerDefault(name) { return rootProject.ext.has(name) ? rootProject.ext.get(name) : (project.properties["Wallet_" + name]).toInteger() } -def supportsNamespace() { - def parsed = com.android.Version.ANDROID_GRADLE_PLUGIN_VERSION.tokenize('.') - def major = parsed[0].toInteger() - def minor = parsed[1].toInteger() - - // Namespace support was added in 7.3.0 - return (major == 7 && minor >= 3) || major >= 8 -} - android { if (supportsNamespace()) { namespace "com.wallet" diff --git a/modules/react-native-wallet/android/src/main/AndroidManifest.xml b/modules/react-native-wallet/android/src/main/AndroidManifest.xml deleted file mode 100644 index 18469a703d37..000000000000 --- a/modules/react-native-wallet/android/src/main/AndroidManifest.xml +++ /dev/null @@ -1,3 +0,0 @@ - - diff --git a/modules/react-native-wallet/android/src/main/java/com/wallet/WalletModule.kt b/modules/react-native-wallet/android/src/main/java/com/wallet/WalletModule.kt index 58144c58630e..92e5dd2ccf7b 100644 --- a/modules/react-native-wallet/android/src/main/java/com/wallet/WalletModule.kt +++ b/modules/react-native-wallet/android/src/main/java/com/wallet/WalletModule.kt @@ -43,7 +43,6 @@ class WalletModule internal constructor(context: ReactApplicationContext) : Wall private var tapAndPayClient: TapAndPayClient? = null private var pendingCreateWalletPromise: Promise? = null - private var pendingAddCardPromise: Promise? = null init {