Updated on 2026-08-14
This commit is contained in:
parent
f5320a1952
commit
449840473a
48 changed files with 140 additions and 104 deletions
|
|
@ -1,4 +1,4 @@
|
|||
package com.tangem.tangemserver;
|
||||
package com.tangem.serverandroid;
|
||||
|
||||
public class Server {
|
||||
/**
|
||||
|
|
@ -1,10 +1,10 @@
|
|||
package com.tangem.tangemserver;
|
||||
package com.tangem.serverandroid;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
import android.util.Log;
|
||||
|
||||
import com.tangem.cardcommon.data.TangemCard;
|
||||
import com.tangem.tangemserver.model.CardVerifyAndGetInfo;
|
||||
import com.tangem.serverandroid.model.CardVerifyAndGetInfo;
|
||||
import com.tangem.cardcommon.util.Util;
|
||||
|
||||
import java.io.InputStream;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.tangem.tangemserver;
|
||||
package com.tangem.serverandroid;
|
||||
|
||||
class ServerURL {
|
||||
static final String API_TANGEM = "https://verify.tangem.com/";
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
package com.tangem.tangemserver;
|
||||
package com.tangem.serverandroid;
|
||||
|
||||
import com.tangem.tangemserver.model.CardVerifyAndGetInfo;
|
||||
import com.tangem.serverandroid.model.CardVerifyAndGetInfo;
|
||||
|
||||
import okhttp3.ResponseBody;
|
||||
import retrofit2.Call;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.tangem.tangemserver.data
|
||||
package com.tangem.serverandroid.data
|
||||
|
||||
import android.content.Context
|
||||
import com.tangem.cardcommon.data.TangemCard
|
||||
|
|
@ -12,8 +12,8 @@ import android.util.Log
|
|||
import com.google.gson.Gson
|
||||
import com.google.gson.annotations.SerializedName
|
||||
import com.google.gson.reflect.TypeToken
|
||||
import com.tangem.tangemserver.model.CardVerifyAndGetInfo
|
||||
import com.tangem.tangemserver.R
|
||||
import com.tangem.serverandroid.model.CardVerifyAndGetInfo
|
||||
import com.tangem.serverandroid.R
|
||||
import com.tangem.cardcommon.data.external.CardDataSubstitutionProvider
|
||||
import com.tangem.cardcommon.reader.CardCrypto
|
||||
import com.tangem.cardcommon.util.Util
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.tangem.tangemserver.model;
|
||||
package com.tangem.serverandroid.model;
|
||||
|
||||
public class CardVerify {
|
||||
private String CID;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.tangem.tangemserver.model
|
||||
package com.tangem.serverandroid.model
|
||||
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.*
|
||||
Loading…
Add table
Add a link
Reference in a new issue