Skip to content

Commit

Permalink
2.0 (#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerbwong authored Feb 21, 2023
1 parent 3f0937e commit 748655a
Show file tree
Hide file tree
Showing 227 changed files with 4,111 additions and 1,907 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ The goal of this project is to provide examples for the latest Android libraries

### Features

* View questions, answers, and comments with rich Markdown previews
* Switch to any Stack Exchange site
* Log in to vote for questions or post new questions and answers (Saving drafts supported)
* Bookmark questions to save for later (Supports offline)
* View questions, answers, and comments with rich Markdown/LaTeX previews
* Browse any Stack Exchange site
* Log in to vote for questions or post new questions, answers, and comments
* Bookmark questions to save for later (Temporarily broken. See #126)
* Search for questions with advanced filter controls
* View other users' profiles
* Dark mode
* Question deep linking
* Material 3 dynamic theming available
* Question/answer deep linking

### Subprojects

Expand All @@ -42,7 +42,7 @@ Here you can also find a few useful Gradle modules as well:

# License

Copyright (C) 2022 Tyler Wong
Copyright (C) 2023 Tyler Wong

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion TERMS.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Along the same lines, Tyler Wong cannot always take responsibility for the way y

With respect to Tyler Wong’s responsibility for your use of the app, when you’re using the app, it’s important to bear in mind that although we endeavour to ensure that it is updated and correct at all times, we do rely on third parties to provide information to us so that we can make it available to you. Tyler Wong accepts no liability for any loss, direct or indirect, you experience as a result of relying wholly on this functionality of the app.

At some point, we may wish to update the app. The app is currently available on Android – the requirements for system(and for any additional systems we decide to extend the availability of the app to) may change, and you’ll need to download the updates if you want to keep using the app. Tyler Wong does not promise that it will always update the app so that it is relevant to you and/or works with the Android version that you have installed on your device. However, you promise to always accept updates to the application when offered to you, We may also wish to stop providing the app, and may terminate use of it at any time without giving notice of termination to you. Unless we tell you otherwise, upon any termination, (a) the rights and licenses granted to you in these terms will end; (b) you must stop using the app, and (if needed) delete it from your device.
At some point, we may wish to update the app. The app is currently available on Android – the requirements for system (and for any additional systems we decide to extend the availability of the app to) may change, and you’ll need to download the updates if you want to keep using the app. Tyler Wong does not promise that it will always update the app so that it is relevant to you and/or works with the Android version that you have installed on your device. However, you promise to always accept updates to the application when offered to you, We may also wish to stop providing the app, and may terminate use of it at any time without giving notice of termination to you. Unless we tell you otherwise, upon any termination, (a) the rights and licenses granted to you in these terms will end; (b) you must stop using the app, and (if needed) delete it from your device.

**Changes to This Terms and Conditions**

Expand Down
12 changes: 9 additions & 3 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ plugins {
}

android {
namespace = "me.tylerbwong.stack"
defaultConfig {
testInstrumentationRunner = "me.tylerbwong.stack.StackTestRunner"

Expand All @@ -24,7 +25,7 @@ android {
}

composeOptions {
kotlinCompilerExtensionVersion = libs.versions.androidx.compose.get()
kotlinCompilerExtensionVersion = libs.versions.androidx.compose.compiler.get()
}
}

Expand Down Expand Up @@ -69,18 +70,19 @@ dependencies {
implementation(libs.androidx.compose.material)
implementation(libs.androidx.compose.material.icons.core)
implementation(libs.androidx.compose.material.icons.extended)
implementation(libs.androidx.compose.material3)
implementation(libs.androidx.compose.ui)
implementation(libs.androidx.compose.ui.tooling)

// google
implementation(libs.coil.compose)
playImplementation(platform(libs.google.firebase.bom))
playImplementation(libs.google.firebase.analytics.ktx)
playImplementation(libs.google.firebase.crashlytics)
implementation(libs.google.material)

// licenses
implementation(libs.aboutLibraries.core)
implementation(libs.aboutLibraries.compose)

// debug
debugImplementation(libs.chucker)
Expand All @@ -95,6 +97,7 @@ dependencies {

// coil
implementation(libs.coil)
implementation(libs.coil.compose)

// dagger
kapt(libs.google.dagger.hilt.android.compiler)
Expand All @@ -108,6 +111,7 @@ dependencies {

// markdown
implementation(projects.markdown)
implementation(libs.apache.commonsText)
implementation(libs.markwon.core)
implementation(libs.markwon.html)
implementation(libs.markwon.imageCoil)
Expand All @@ -120,6 +124,7 @@ dependencies {
implementation(libs.markwon.tasklist)

// misc
implementation(libs.betterlinkmovementmethod)
implementation(libs.processPhoenix)

// networking
Expand All @@ -132,7 +137,8 @@ dependencies {
implementation(libs.retrofit.moshi)

// play
playImplementation(libs.google.playCore)
playImplementation(libs.google.play.appUpdate)
playImplementation(libs.google.play.review)

// testing
testImplementation(libs.androidx.test.core.ktx)
Expand Down
10 changes: 10 additions & 0 deletions app/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,16 @@
-keepclassmembernames,allowobfuscation interface * {
@retrofit2.http.* <methods>;
}

# Keep generic signature of Call, Response (R8 full mode strips signatures from non-kept items).
-keep,allowobfuscation,allowshrinking interface retrofit2.Call
-keep,allowobfuscation,allowshrinking class retrofit2.Response

# With R8 full mode generic signatures are stripped for classes that are not
# kept. Suspend functions are wrapped in continuations where the type argument
# is used.
-keep,allowobfuscation,allowshrinking class kotlin.coroutines.Continuation

# Ignore annotation used for build tooling.
-dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement

Expand Down
Loading

0 comments on commit 748655a

Please sign in to comment.