diff --git a/android/app/build.gradle b/android/app/build.gradle
index 6feb7c36..cbd9ea8f 100644
--- a/android/app/build.gradle
+++ b/android/app/build.gradle
@@ -1,3 +1,10 @@
+plugins {
+ id "com.android.application"
+ id "kotlin-android"
+ id "dev.flutter.flutter-gradle-plugin"
+ id "com.google.gms.google-services"
+}
+
def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
@@ -6,10 +13,6 @@ if (localPropertiesFile.exists()) {
}
}
-def flutterRoot = localProperties.getProperty('flutter.sdk')
-if (flutterRoot == null) {
- throw GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
-}
def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
if (flutterVersionCode == null) {
@@ -27,13 +30,6 @@ if (keystorePropertiesFile.exists()) {
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
}
-apply plugin: 'com.android.application'
-// START: FlutterFire Configuration
-apply plugin: 'com.google.gms.google-services'
-// END: FlutterFire Configuration
-apply plugin: 'kotlin-android'
-apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
-
android {
compileSdk 34
@@ -81,7 +77,7 @@ flutter {
}
dependencies {
- implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
+ implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.9.20"
implementation('androidx.appcompat:appcompat:1.6.1')
implementation("androidx.appcompat:appcompat-resources:1.6.1")
}
diff --git a/android/build.gradle b/android/build.gradle
index 4f656811..bc157bd1 100644
--- a/android/build.gradle
+++ b/android/build.gradle
@@ -1,19 +1,3 @@
-buildscript {
- ext.kotlin_version = '1.9.20'
- repositories {
- google()
- mavenCentral()
- }
-
- dependencies {
- classpath 'com.android.tools.build:gradle:7.4.2'
- // START: FlutterFire Configuration
- classpath 'com.google.gms:google-services:4.3.14'
- // END: FlutterFire Configuration
- classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
- }
-}
-
allprojects {
repositories {
google()
diff --git a/android/settings.gradle b/android/settings.gradle
index 44e62bcf..43f1da8d 100644
--- a/android/settings.gradle
+++ b/android/settings.gradle
@@ -1,11 +1,26 @@
-include ':app'
+pluginManagement {
+ def flutterSdkPath = {
+ def properties = new Properties()
+ file("local.properties").withInputStream { properties.load(it) }
+ def flutterSdkPath = properties.getProperty("flutter.sdk")
+ assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
+ return flutterSdkPath
+ }()
-def localPropertiesFile = new File(rootProject.projectDir, "local.properties")
-def properties = new Properties()
+ includeBuild("$flutterSdkPath/packages/flutter_tools/gradle")
-assert localPropertiesFile.exists()
-localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) }
+ repositories {
+ google()
+ mavenCentral()
+ gradlePluginPortal()
+ }
+}
-def flutterSdkPath = properties.getProperty("flutter.sdk")
-assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
-apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle"
+plugins {
+ id "dev.flutter.flutter-plugin-loader" version "1.0.0"
+ id "com.android.application" version "7.3.0" apply false
+ id "org.jetbrains.kotlin.android" version "1.9.20" apply false
+ id "com.google.gms.google-services" version "4.4.0" apply false
+}
+
+include ":app"
diff --git a/assets/img/bogestra-logo.svg b/assets/img/bogestra-logo.svg
index 0dadcf93..153d615a 100644
--- a/assets/img/bogestra-logo.svg
+++ b/assets/img/bogestra-logo.svg
@@ -2,45 +2,41 @@
diff --git a/assets/img/icons/error.svg b/assets/img/icons/error.svg
new file mode 100644
index 00000000..803c8cbe
--- /dev/null
+++ b/assets/img/icons/error.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/docs/wiki/Pages/ticket.md b/docs/wiki/Pages/ticket.md
new file mode 100644
index 00000000..b1539d31
--- /dev/null
+++ b/docs/wiki/Pages/ticket.md
@@ -0,0 +1,33 @@
+# Semesterticket
+
+This page is to provide a basic overview about the "Calendar" feature located inside
+`lib/pages/wallet/ticket`.
+
+---
+
+## Ticket usescases
+
+| Type | Name | Description |
+|------|------|-------------|
+| Future | renderAztecCode() | Returns an Image object, containing the resized Aztec code loaded from storage.
+| Future