Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT] Pinning and Tags #1541

Merged
merged 65 commits into from
May 15, 2024
Merged
Show file tree
Hide file tree
Changes from 58 commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
b516bc8
feat: add pinning
prateekmedia Apr 26, 2024
5cc25c6
fix: sort codes correctly based on pinning status
prateekmedia Apr 26, 2024
5f921e7
fix: go back to otpauth instead of converting to json
prateekmedia Apr 27, 2024
38b0046
fix: remove toString and update toExportFormat code
prateekmedia Apr 27, 2024
e26c817
fix: parsing of rawData and sorting while fetching codes
prateekmedia Apr 27, 2024
a22f38c
fix: add toasts for pin, update card ui, add pin svgs
prateekmedia Apr 27, 2024
adbb8f3
fix: encoding and decoding logic
prateekmedia Apr 27, 2024
17ad0a9
fix: disable privacy screen on debug mode
prateekmedia Apr 27, 2024
12635be
fix: complete pinned design
prateekmedia Apr 29, 2024
5a18fe3
feat: tags selection by text field
prateekmedia Apr 29, 2024
35672ee
feat: tags ui and logic complete
prateekmedia Apr 29, 2024
f065481
chore: add doc
prateekmedia Apr 29, 2024
77b30ef
fix: complete edit and delete tag logic
prateekmedia Apr 29, 2024
c9c7f0c
fix: width of popup menu button
prateekmedia Apr 30, 2024
e7ed34b
fix: update tag colors
prateekmedia May 1, 2024
ee5362a
fix: unselect tag on tap on selected one
prateekmedia May 1, 2024
8d096ec
chore: bump version
prateekmedia May 1, 2024
49c0295
fix: use Future.wait for edit and delete tag
prateekmedia May 1, 2024
e4b2bf0
chore: bump packages
prateekmedia May 1, 2024
ab93eb4
fix: bump gradlew files
prateekmedia May 2, 2024
25fb9cf
fix: add new ente button
prateekmedia May 2, 2024
b860d3a
fix: push theme for button
prateekmedia May 2, 2024
c6084c6
fix: add code error widget
prateekmedia May 3, 2024
8370d2a
fix: try to fix button tint
prateekmedia May 3, 2024
838983e
fix: logics and ui (button, error code)
prateekmedia May 4, 2024
d1a15b1
fix: logics and ui (button, error code)
prateekmedia May 4, 2024
b5d49af
fix(auth): errors in merge
prateekmedia May 4, 2024
270f1f1
chore(auth): update pubspec.lock
prateekmedia May 4, 2024
612ed18
fix(auth): border radius of gradient_button.dart
prateekmedia May 4, 2024
45eda72
fix(auth): remove boxShadow from gradient_button.dart
prateekmedia May 4, 2024
68f0a1d
fix(auth): add mounted check for tags
prateekmedia May 4, 2024
62441b8
fix(auth): don't make app unusable on error
prateekmedia May 6, 2024
54f6f86
fix(auth): code display for new codes
prateekmedia May 7, 2024
aa5c41b
fix(auth): toast on desktop
prateekmedia May 7, 2024
7628991
fix(auth): revert remove linesplitter
prateekmedia May 7, 2024
851c04f
fix(auth): don't export display
prateekmedia May 7, 2024
3c79325
chore(auth): rename toExportFormat
prateekmedia May 7, 2024
ef318d8
fix(auth): move color to ente color scheme
prateekmedia May 7, 2024
d88a7ec
fix(auth): incorrect text during export
prateekmedia May 7, 2024
e1239a6
fix(auth): use global logger
prateekmedia May 7, 2024
0810967
fix(auth): store error in Code
prateekmedia May 7, 2024
a9d63a1
fix(auth): separate fedora workflow
prateekmedia May 7, 2024
f3c05d2
fix(auth): improve workflow
prateekmedia May 7, 2024
ea37b5a
fix: don't try to publish aab in fedora workflow
prateekmedia May 8, 2024
639ef13
fix[auth]: update dependencies of appimage
prateekmedia May 8, 2024
35aa8fc
fix(auth): workflow for fedora
prateekmedia May 8, 2024
1b84410
fix(cut): save button getting cut
prateekmedia May 9, 2024
da70ba7
feat(auth): add new icons
prateekmedia May 9, 2024
7c43908
fix(auth): revert manifest
prateekmedia May 9, 2024
6496eea
fix(auth): ignore files
prateekmedia May 9, 2024
5ef92e3
fix(auth): remove all codes
prateekmedia May 9, 2024
36685f4
fix(auth): store all colors in EnteColorScheme
prateekmedia May 10, 2024
ea72300
fix(auth): encode ',' as %2C for correctly importing later on
prateekmedia May 10, 2024
10e717a
fix(auth): update splash
prateekmedia May 10, 2024
7a64371
fix(auth): don't package splash with app
prateekmedia May 11, 2024
4040525
fix(auth): update splash screen
prateekmedia May 11, 2024
297c3af
fix(auth): update dark mode splash
prateekmedia May 11, 2024
4abdc62
fix(auth): update light mode splash
prateekmedia May 11, 2024
5195aaa
[auth] Add code display test
ua741 May 13, 2024
9e11377
fix(auth): don't append codeDisplay twice
prateekmedia May 13, 2024
2bc4081
fix(auth): splash icon
prateekmedia May 14, 2024
b714392
fix(auth): update parse error message
prateekmedia May 14, 2024
d762bf0
fix(auth): revert demo code
prateekmedia May 14, 2024
eb7d6d4
fix(auth): update getAllTags logic
prateekmedia May 15, 2024
47d9d3c
Merge branch 'main' into auth-v3
ua741 May 15, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
72 changes: 59 additions & 13 deletions .github/workflows/auth-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,30 +85,21 @@ jobs:
- name: Install dependencies for desktop build
run: |
sudo apt-get update -y
sudo apt-get install -y libsecret-1-dev libsodium-dev libwebkit2gtk-4.0-dev libfuse2 ninja-build libgtk-3-dev dpkg-dev pkg-config rpm patchelf libsqlite3-dev locate appindicator3-0.1 libappindicator3-dev libffi-dev libtiff5
sudo apt-get install -y libsecret-1-dev libsodium-dev libwebkit2gtk-4.0-dev libfuse2 ninja-build libgtk-3-dev dpkg-dev pkg-config libsqlite3-dev locate appindicator3-0.1 libappindicator3-dev libffi-dev libtiff5
sudo updatedb --localpaths='/usr/lib/x86_64-linux-gnu'

- name: Install appimagetool
run: |
wget -O appimagetool "https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage"
chmod +x appimagetool
mv appimagetool /usr/local/bin/

- name: Build desktop app
run: |
flutter config --enable-linux-desktop
dart pub global activate flutter_distributor
flutter_distributor package --platform=linux --targets=deb --skip-clean
flutter_distributor package --platform=linux --targets=rpm --skip-clean
flutter_distributor package --platform=linux --targets=appimage --skip-clean
mv dist/**/*-*-linux.deb artifacts/ente-${{ github.ref_name }}-x86_64.deb
mv dist/**/*-*-linux.rpm artifacts/ente-${{ github.ref_name }}-x86_64.rpm
mv dist/**/*-*-linux.AppImage artifacts/ente-${{ github.ref_name }}-x86_64.AppImage
env:
LIBSODIUM_USE_PKGCONFIG: 1

- name: Generate checksums
run: sha256sum artifacts/ente-* > artifacts/sha256sum
- name: Generate checksums and push to artifacts
run: |
sha256sum artifacts/ente-* > artifacts/sha256sum-apk-deb

- name: Create a draft GitHub release
uses: ncipollo/release-action@v1
Expand All @@ -128,6 +119,61 @@ jobs:
releaseFiles: auth/build/app/outputs/bundle/playstoreRelease/app-playstore-release.aab
track: internal

build-fedora-etc:
runs-on: ubuntu-latest

defaults:
run:
working-directory: auth

steps:
- name: Checkout code and submodules
uses: actions/checkout@v4
with:
submodules: recursive

- name: Install Flutter ${{ env.FLUTTER_VERSION }}
uses: subosito/flutter-action@v2
with:
channel: "stable"
flutter-version: ${{ env.FLUTTER_VERSION }}
cache: true

- name: Create artifacts directory
run: mkdir artifacts

- name: Install dependencies for desktop build
run: |
sudo apt-get update -y
sudo apt-get install -y libsecret-1-dev libsodium-dev libwebkit2gtk-4.0-dev libfuse2 ninja-build libgtk-3-dev dpkg-dev pkg-config rpm patchelf libsqlite3-dev locate libayatana-appindicator3-dev libffi-dev libtiff5
sudo updatedb --localpaths='/usr/lib/x86_64-linux-gnu'

- name: Install appimagetool
run: |
wget -O appimagetool "https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage"
chmod +x appimagetool
mv appimagetool /usr/local/bin/

- name: Build desktop app
run: |
flutter config --enable-linux-desktop
dart pub global activate flutter_distributor
flutter_distributor package --platform=linux --targets=rpm --skip-clean
flutter_distributor package --platform=linux --targets=appimage --skip-clean
mv dist/**/*-*-linux.rpm artifacts/ente-${{ github.ref_name }}-x86_64.rpm
mv dist/**/*-*-linux.AppImage artifacts/ente-${{ github.ref_name }}-x86_64.AppImage

- name: Generate checksums
run: sha256sum artifacts/ente-* >> artifacts/sha256sum-rpm-appimage

- name: Create a draft GitHub release
uses: ncipollo/release-action@v1
with:
artifacts: "auth/artifacts/*"
draft: true
allowUpdates: true
updateOnlyUnreleased: true

build-windows:
runs-on: windows-latest

Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@

# macOS
.DS_Store
.idea
.ente.authenticator.db
.ente.offline_authenticator.db
41 changes: 21 additions & 20 deletions auth/android/app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
plugins {
id "com.android.application"
id "kotlin-android"
id "dev.flutter.flutter-gradle-plugin"
}

def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
Expand All @@ -6,11 +12,6 @@ if (localPropertiesFile.exists()) {
}
}

def flutterRoot = localProperties.getProperty('flutter.sdk')
if (flutterRoot == null) {
throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
}

def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
if (flutterVersionCode == null) {
flutterVersionCode = '1'
Expand All @@ -21,18 +22,25 @@ if (flutterVersionName == null) {
flutterVersionName = '1.0'
}

apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"

def keystoreProperties = new Properties()
def keystorePropertiesFile = rootProject.file('key.properties')
if (keystorePropertiesFile.exists()) {
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
}

android {
compileSdkVersion 34
namespace "io.ente.auth"
compileSdk 34
ndkVersion flutter.ndkVersion

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}

kotlinOptions {
jvmTarget = '1.8'
}

sourceSets {
main.java.srcDirs += 'src/main/kotlin'
Expand All @@ -46,6 +54,8 @@ android {

defaultConfig {
applicationId "io.ente.auth"
// You can update the following values to match your application needs.
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
minSdkVersion 21
targetSdkVersion 33
versionCode flutterVersionCode.toInteger()
Expand Down Expand Up @@ -105,13 +115,4 @@ flutter {
source '../..'
}

dependencies {
implementation 'io.sentry:sentry-android:2.0.0'
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'com.android.support:multidex:1.0.3'
implementation 'com.google.guava:guava:28.2-android'
implementation 'com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test:runner:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
}
dependencies {}
6 changes: 3 additions & 3 deletions auth/android/app/src/debug/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="io.ente.auth">
<!-- Flutter needs it to communicate with the running application
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<!-- The INTERNET permission is required for development. Specifically,
the Flutter tool needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc.
-->
<uses-permission android:name="android.permission.INTERNET"/>
Expand Down
3 changes: 1 addition & 2 deletions auth/android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="io.ente.auth">
xmlns:tools="http://schemas.android.com/tools">
<application android:name="${applicationName}"
android:label="auth"
android:icon="@mipmap/launcher_icon"
Expand Down
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified auth/android/app/src/main/res/drawable-hdpi/splash.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified auth/android/app/src/main/res/drawable-mdpi/splash.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified auth/android/app/src/main/res/drawable-night-hdpi/splash.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified auth/android/app/src/main/res/drawable-night-mdpi/splash.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified auth/android/app/src/main/res/drawable-night-xhdpi/splash.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified auth/android/app/src/main/res/drawable-night-xxhdpi/splash.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified auth/android/app/src/main/res/drawable-night-xxxhdpi/splash.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified auth/android/app/src/main/res/drawable-night/background.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified auth/android/app/src/main/res/drawable-v21/background.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified auth/android/app/src/main/res/drawable-xhdpi/splash.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified auth/android/app/src/main/res/drawable-xxhdpi/splash.png
Binary file modified auth/android/app/src/main/res/drawable-xxxhdpi/splash.png
Binary file modified auth/android/app/src/main/res/drawable/background.png
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_launcher_background"/>
<background android:drawable="@drawable/ic_launcher_background"/>
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
<monochrome android:drawable="@drawable/ic_launcher_foreground"/>
</adaptive-icon>
Diff not rendered.
Binary file modified auth/android/app/src/main/res/mipmap-hdpi/launcher_icon.png
Diff not rendered.
Binary file modified auth/android/app/src/main/res/mipmap-mdpi/launcher_icon.png
Diff not rendered.
Binary file modified auth/android/app/src/main/res/mipmap-xhdpi/launcher_icon.png
Diff not rendered.
Binary file modified auth/android/app/src/main/res/mipmap-xxhdpi/launcher_icon.png
Diff not rendered.
Binary file modified auth/android/app/src/main/res/mipmap-xxxhdpi/launcher_icon.png
5 changes: 4 additions & 1 deletion auth/android/app/src/main/res/values-night-v31/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
<style name="LaunchTheme" parent="@android:style/Theme.Black.NoTitleBar">
<item name="android:forceDarkAllowed">false</item>
<item name="android:windowFullscreen">false</item>
<item name="android:windowDrawsSystemBarBackgrounds">false</item>
<item name="android:windowLayoutInDisplayCutoutMode">shortEdges</item>
<item name="android:windowSplashScreenBackground">#000000</item>
<item name="android:windowSplashScreenAnimatedIcon">@drawable/android12splash</item>
</style>
<!-- Theme applied to the Android Window as soon as the process has started.
This theme determines the color of the Android Window while your
Expand All @@ -15,4 +18,4 @@
<style name="NormalTheme" parent="@android:style/Theme.Black.NoTitleBar">
<item name="android:windowBackground">?android:colorBackground</item>
</style>
</resources>
</resources>
1 change: 1 addition & 0 deletions auth/android/app/src/main/res/values-night/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<item name="android:windowBackground">@drawable/launch_background</item>
<item name="android:forceDarkAllowed">false</item>
<item name="android:windowFullscreen">false</item>
<item name="android:windowDrawsSystemBarBackgrounds">false</item>
<item name="android:windowLayoutInDisplayCutoutMode">shortEdges</item>
</style>
<!-- Theme applied to the Android Window as soon as the process has started.
Expand Down
3 changes: 3 additions & 0 deletions auth/android/app/src/main/res/values-v31/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
<style name="LaunchTheme" parent="@android:style/Theme.Light.NoTitleBar">
<item name="android:forceDarkAllowed">false</item>
<item name="android:windowFullscreen">false</item>
<item name="android:windowDrawsSystemBarBackgrounds">false</item>
<item name="android:windowLayoutInDisplayCutoutMode">shortEdges</item>
<item name="android:windowSplashScreenBackground">#FFFFFF</item>
<item name="android:windowSplashScreenAnimatedIcon">@drawable/android12splash</item>
</style>
<!-- Theme applied to the Android Window as soon as the process has started.
This theme determines the color of the Android Window while your
Expand Down
6 changes: 3 additions & 3 deletions auth/android/app/src/profile/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="io.ente.auth">
<!-- Flutter needs it to communicate with the running application
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<!-- The INTERNET permission is required for development. Specifically,
the Flutter tool needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc.
-->
<uses-permission android:name="android.permission.INTERNET"/>
Expand Down
15 changes: 2 additions & 13 deletions auth/android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,16 +1,3 @@
buildscript {
ext.kotlin_version = '1.8.22'
repositories {
google()
mavenCentral()
}

dependencies {
classpath 'com.android.tools.build:gradle:7.1.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}

allprojects {
repositories {
google()
Expand All @@ -21,6 +8,8 @@ allprojects {
rootProject.buildDir = '../build'
subprojects {
project.buildDir = "${rootProject.buildDir}/${project.name}"
}
subprojects {
project.evaluationDependsOn(':app')
}

Expand Down
2 changes: 1 addition & 1 deletion auth/android/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
org.gradle.jvmargs=-Xmx1536M
org.gradle.jvmargs=-Xmx4G
android.useAndroidX=true
android.enableJetifier=true
3 changes: 1 addition & 2 deletions auth/android/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#Fri Jun 23 08:50:38 CEST 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.3-all.zip
31 changes: 23 additions & 8 deletions auth/android/settings.gradle
Original file line number Diff line number Diff line change
@@ -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
}
settings.ext.flutterSdkPath = flutterSdkPath()

def localPropertiesFile = new File(rootProject.projectDir, "local.properties")
def properties = new Properties()
includeBuild("${settings.ext.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.8.22" apply false
}

include ":app"
Binary file modified auth/assets/generation-icons/icon-light-adaptive-fg.png
Binary file modified auth/assets/generation-icons/icon-light.png
Binary file removed auth/assets/splash-screen-dark.png
Diff not rendered.
Binary file removed auth/assets/splash-screen-light.png
Diff not rendered.
Binary file added auth/assets/splash/splash-fg.png
Binary file added auth/assets/splash/splash-icon-fg-light.png
Binary file added auth/assets/splash/splash-icon-fg.png
11 changes: 11 additions & 0 deletions auth/assets/svg/button-tint.svg
4 changes: 4 additions & 0 deletions auth/assets/svg/pin-active.svg
11 changes: 11 additions & 0 deletions auth/assets/svg/pin-card.svg
3 changes: 3 additions & 0 deletions auth/assets/svg/pin-inactive.svg