Added encryption and decryption for the case, that database on the server exists.
This commit is contained in:
@ -14,7 +14,6 @@ import okhttp3.RequestBody.Companion.asRequestBody
|
||||
import org.json.JSONArray
|
||||
import org.json.JSONObject
|
||||
import java.io.File
|
||||
import java.io.FileOutputStream
|
||||
import java.io.IOException
|
||||
import kotlin.system.exitProcess
|
||||
|
||||
@ -22,7 +21,7 @@ object DatabaseUploader {
|
||||
|
||||
private const val DB_NAME = "questionnaire_database"
|
||||
// TODO entferne uploadDeltaTest2.php
|
||||
private const val SERVER_DELTA_URL = "http://49.13.157.44/uploadDeltaTest2.php"
|
||||
private const val SERVER_DELTA_URL = "http://49.13.157.44/uploadDeltaTest3.php"
|
||||
private const val SERVER_CHECK_URL = "http://49.13.157.44/checkDatabaseExists.php"
|
||||
private const val API_TOKEN = "MEIN_SUPER_GEHEIMES_TOKEN_12345"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user