adds rest communication

- test cases for push and pop
- rest singleton instantiated in MainApplication
  access through context
- pop and peek work, push needs encryption process
  still
This commit is contained in:
2021-12-16 12:21:17 +01:00
parent 3d42f0ca2e
commit 10ba4cf31b
8 changed files with 283 additions and 57 deletions

View File

@ -4,12 +4,12 @@ plugins {
}
android {
compileSdk 32
compileSdk 30
defaultConfig {
applicationId "com.maenle.bump"
minSdk 29
targetSdk 32
targetSdk 30
versionCode 1
versionName "1.0"
@ -37,6 +37,7 @@ android {
dependencies {
implementation 'com.google.android.gms:play-services-mlkit-barcode-scanning:16.1.4'
implementation 'com.android.volley:volley:1.2.0'
def camerax_version = "1.0.2"
implementation 'androidx.core:core-ktx:1.3.2'
implementation 'androidx.appcompat:appcompat:1.2.0'
@ -47,7 +48,7 @@ dependencies {
implementation "androidx.camera:camera-camera2:$camerax_version"
implementation "androidx.camera:camera-lifecycle:$camerax_version"
implementation 'com.google.zxing:core:3.3.0'
implementation "androidx.camera:camera-view:1.0.0-alpha31"
implementation "androidx.camera:camera-view:1.0.0-alpha20"
implementation 'com.macasaet.fernet:fernet-java8:1.4.2'
testImplementation 'junit:junit:4.+'
androidTestImplementation 'androidx.test.ext:junit:1.1.2'