Skip to content

Commit 748655a

Browse files
authored
2.0 (#130)
1 parent 3f0937e commit 748655a

File tree

227 files changed

+4111
-1907
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

227 files changed

+4111
-1907
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ The goal of this project is to provide examples for the latest Android libraries
2121

2222
### Features
2323

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

3333
### Subprojects
3434

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

4343
# License
4444

45-
Copyright (C) 2022 Tyler Wong
45+
Copyright (C) 2023 Tyler Wong
4646

4747
This program is free software: you can redistribute it and/or modify
4848
it under the terms of the GNU General Public License as published by

TERMS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Along the same lines, Tyler Wong cannot always take responsibility for the way y
2222

2323
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.
2424

25-
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.
25+
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.
2626

2727
**Changes to This Terms and Conditions**
2828

app/build.gradle.kts

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ plugins {
1111
}
1212

1313
android {
14+
namespace = "me.tylerbwong.stack"
1415
defaultConfig {
1516
testInstrumentationRunner = "me.tylerbwong.stack.StackTestRunner"
1617

@@ -24,7 +25,7 @@ android {
2425
}
2526

2627
composeOptions {
27-
kotlinCompilerExtensionVersion = libs.versions.androidx.compose.get()
28+
kotlinCompilerExtensionVersion = libs.versions.androidx.compose.compiler.get()
2829
}
2930
}
3031

@@ -69,18 +70,19 @@ dependencies {
6970
implementation(libs.androidx.compose.material)
7071
implementation(libs.androidx.compose.material.icons.core)
7172
implementation(libs.androidx.compose.material.icons.extended)
73+
implementation(libs.androidx.compose.material3)
7274
implementation(libs.androidx.compose.ui)
7375
implementation(libs.androidx.compose.ui.tooling)
7476

7577
// google
76-
implementation(libs.coil.compose)
7778
playImplementation(platform(libs.google.firebase.bom))
7879
playImplementation(libs.google.firebase.analytics.ktx)
7980
playImplementation(libs.google.firebase.crashlytics)
8081
implementation(libs.google.material)
8182

8283
// licenses
8384
implementation(libs.aboutLibraries.core)
85+
implementation(libs.aboutLibraries.compose)
8486

8587
// debug
8688
debugImplementation(libs.chucker)
@@ -95,6 +97,7 @@ dependencies {
9597

9698
// coil
9799
implementation(libs.coil)
100+
implementation(libs.coil.compose)
98101

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

109112
// markdown
110113
implementation(projects.markdown)
114+
implementation(libs.apache.commonsText)
111115
implementation(libs.markwon.core)
112116
implementation(libs.markwon.html)
113117
implementation(libs.markwon.imageCoil)
@@ -120,6 +124,7 @@ dependencies {
120124
implementation(libs.markwon.tasklist)
121125

122126
// misc
127+
implementation(libs.betterlinkmovementmethod)
123128
implementation(libs.processPhoenix)
124129

125130
// networking
@@ -132,7 +137,8 @@ dependencies {
132137
implementation(libs.retrofit.moshi)
133138

134139
// play
135-
playImplementation(libs.google.playCore)
140+
playImplementation(libs.google.play.appUpdate)
141+
playImplementation(libs.google.play.review)
136142

137143
// testing
138144
testImplementation(libs.androidx.test.core.ktx)

app/proguard-rules.pro

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,16 @@
66
-keepclassmembernames,allowobfuscation interface * {
77
@retrofit2.http.* <methods>;
88
}
9+
10+
# Keep generic signature of Call, Response (R8 full mode strips signatures from non-kept items).
11+
-keep,allowobfuscation,allowshrinking interface retrofit2.Call
12+
-keep,allowobfuscation,allowshrinking class retrofit2.Response
13+
14+
# With R8 full mode generic signatures are stripped for classes that are not
15+
# kept. Suspend functions are wrapped in continuations where the type argument
16+
# is used.
17+
-keep,allowobfuscation,allowshrinking class kotlin.coroutines.Continuation
18+
919
# Ignore annotation used for build tooling.
1020
-dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement
1121

0 commit comments

Comments
 (0)