Updated on 2026-08-14
This commit is contained in:
parent
37bcd6905a
commit
85851cc5c3
7 changed files with 15 additions and 12 deletions
|
|
@ -15,7 +15,7 @@ allprojects {
|
|||
repositories {
|
||||
google()
|
||||
jcenter()
|
||||
maven { url 'https://jitpack.io' }
|
||||
// maven { url 'https://jitpack.io' }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -26,8 +26,9 @@ android {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
// implementation project(':tangemcard-common')
|
||||
implementation 'com.github.TangemCash.tangemcard-common:tangemcard-android:0.1.0'
|
||||
implementation project(':tangemcommon')
|
||||
// implementation 'com.github.TangemCash.tangemcard-common:tangemcard-android:0.1.0'
|
||||
|
||||
implementation 'androidx.appcompat:appcompat:1.1.0-alpha01'
|
||||
implementation 'com.google.code.gson:gson:2.8.5'
|
||||
implementation 'com.scottyab:rootbeer-lib:0.0.7'
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ import android.os.Bundle
|
|||
import androidx.core.app.ActivityCompat
|
||||
import androidx.fragment.app.FragmentActivity
|
||||
import com.tangem.tangemcard.android.presentation.dialog.NfcEnableDialog
|
||||
import com.tangem.tangemcard.util.Log
|
||||
import com.tangem.tangemcommon.util.Log
|
||||
import java.io.IOException
|
||||
|
||||
class NfcManager(private val activity: FragmentActivity, private val readerCallback: NfcAdapter.ReaderCallback) {
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ import android.nfc.tech.IsoDep
|
|||
data class NfcReader(
|
||||
val nfcManager: NfcManager,
|
||||
val isoDep: IsoDep
|
||||
) : com.tangem.tangemcard.reader.NfcReader {
|
||||
) : com.tangem.tangemcommon.reader.NfcReader {
|
||||
override fun getId(): ByteArray {
|
||||
return isoDep.tag.id
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,8 @@
|
|||
package com.tangem.tangemcard.data
|
||||
|
||||
import android.os.Bundle
|
||||
import com.tangem.tangemcard.util.Log
|
||||
import com.tangem.tangemcommon.data.Manufacturer
|
||||
import com.tangem.tangemcommon.data.TangemCard
|
||||
import java.util.*
|
||||
|
||||
const val EXTRA_TANGEM_CARD = "Card"
|
||||
|
|
|
|||
|
|
@ -26,8 +26,9 @@ android {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
// implementation project(':tangemcard-common')
|
||||
implementation 'com.github.TangemCash.tangemcard-common:tangemcard-android:0.1.0'
|
||||
implementation project(':tangemcommon')
|
||||
// implementation 'com.github.TangemCash.tangemcard-common:tangemcard-android:0.1.0'
|
||||
|
||||
implementation 'androidx.appcompat:appcompat:1.1.0-alpha01'
|
||||
implementation 'com.google.code.gson:gson:2.8.5'
|
||||
implementation 'com.squareup.retrofit2:converter-gson:2.5.0'
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
package com.tangem.tangemserver.android.data
|
||||
|
||||
import android.content.Context
|
||||
import com.tangem.tangemcard.data.TangemCard
|
||||
import com.tangem.tangemcommon.data.TangemCard
|
||||
|
||||
import android.annotation.SuppressLint
|
||||
import android.graphics.Bitmap
|
||||
|
|
@ -14,9 +14,9 @@ import com.google.gson.annotations.SerializedName
|
|||
import com.google.gson.reflect.TypeToken
|
||||
import com.tangem.tangemserver.android.model.CardVerifyAndGetInfo
|
||||
import com.tangem.tangemcard.R
|
||||
import com.tangem.tangemcard.data.external.CardDataSubstitutionProvider
|
||||
import com.tangem.tangemcard.reader.CardCrypto
|
||||
import com.tangem.tangemcard.util.Util
|
||||
import com.tangem.tangemcommon.data.external.CardDataSubstitutionProvider
|
||||
import com.tangem.tangemcommon.reader.CardCrypto
|
||||
import com.tangem.tangemcommon.util.Util
|
||||
import java.io.InputStream
|
||||
import java.lang.Exception
|
||||
import java.nio.charset.StandardCharsets
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue