Skip to content

Commit

Permalink
Removed unnecessary support for very old versions
Browse files Browse the repository at this point in the history
  • Loading branch information
zfurtak committed Dec 19, 2024
1 parent 2055f53 commit e5c69e9
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 13 deletions.
9 changes: 0 additions & 9 deletions modules/react-native-wallet/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit e5c69e9

Please sign in to comment.