Skip to content

Commit 6f90136

Browse files
authored
Merge pull request #58 from zouhir96/develop
release 1.1.0 .
2 parents 096ede4 + 8d3fccf commit 6f90136

File tree

9 files changed

+296
-25
lines changed

9 files changed

+296
-25
lines changed

README.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<table align="center">
44
<tr>
55
<td>
6-
<img src="imgs/preview.png" alt="Preview image" />
6+
<img src="imgs/preview.svg" alt="Preview image" />
77
</td>
88
</tr>
99
</table>
@@ -21,6 +21,16 @@ TypeScript all visualized in an intuitive interface.
2121
This is the Mobile(Non official) version of [hackertab.dev](https://hackertab.dev) extension brought to your
2222
phone now so you stay always posted even if you’re not on your pc.
2323

24+
## Demo
25+
26+
<table align="center">
27+
<tr>
28+
<td>
29+
<img src="imgs/demo.gif" alt="Hackertab Android & IOS" />
30+
</td>
31+
</tr>
32+
</table>
33+
2434
## ⬇️ Download
2535

2636
[<img src="https://play.google.com/intl/en_us/badges/images/generic/en-play-badge.png" alt="Get it on Google Play" height="90"/>](https://play.google.com/store/apps/details?id=com.zrcoding.hackertab)<br>
@@ -53,12 +63,12 @@ details.
5363
- [x] Contact support by email.
5464
- [x] Support large screens (Tablet and Ipad).
5565
- [x] System light/dark mode support.
66+
- [x] Migrate to Kotlin multiplatform and compose multiplatform.
5667

5768
### Development
5869

5970
- [ ] Add offline first support
6071
- [ ] Add onboarding and app install setup
61-
- [ ] Migrate to kmp/cmp
6272

6373
## 🧩 Requirements
6474

app/proguard-rules.pro

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@
2020
# hide the original source file name.
2121
#-renamesourcefileattribute SourceFile
2222

23-
# Keep class names of Hilt injected ViewModels since their name are used as a multibinding map key.
24-
-keepnames @dagger.hilt.android.lifecycle.HiltViewModel class * extends androidx.lifecycle.ViewModel
2523

2624
-keepattributes *Annotation*
2725
-keepclassmembers enum androidx.lifecycle.Lifecycle$Event {
@@ -46,14 +44,7 @@
4644
-keep class * extends com.google.protobuf.GeneratedMessageLite { *; }
4745
-keep,allowobfuscation,allowshrinking class kotlin.coroutines.Continuation
4846

49-
## Rules for Gson
50-
# For using GSON @Expose annotation
51-
-keepattributes Signature
52-
-keepattributes *Annotation*
53-
# Gson specific classes
54-
-keep class com.google.gson.stream.** { *; }
55-
-keep class com.google.gson.reflect.TypeToken { *; }
56-
-keep class * extends com.google.gson.reflect.TypeToken
47+
-keep class com.zrcoding.database.data.local.entities.** {*;}
48+
-keep class com.zrcoding.hackertab.network.dtos.** {*;}
5749

58-
-keep class com.zrcoding.hackertab.database.entities.** {*;}
59-
-keep class com.zrcoding.hackertab.network.dtos.** {*;}
50+
-dontwarn org.slf4j.impl.StaticLoggerBinder

core/design/src/commonMain/composeResources/values/strings.xml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@
77
<string name="github">github</string>
88

99

10-
<string name="score">%d points</string>
11-
<string name="comments">%d comments</string>
12-
<string name="reactions">%d reactions</string>
13-
<string name="stars">%s stars</string>
14-
<string name="forks">%s forks</string>
15-
<string name="claps">%s claps</string>
16-
<string name="subreddit">r/ %s</string>
10+
<string name="score">%1$s points</string>
11+
<string name="comments">%1$s comments</string>
12+
<string name="reactions">%1$s reactions</string>
13+
<string name="stars">%1$s stars</string>
14+
<string name="forks">%1$s forks</string>
15+
<string name="claps">%1$s claps</string>
16+
<string name="subreddit">r/ %1$s</string>
1717
<string name="loading">Loading …</string>
18-
<string name="empty_source_msg">No articles found for %s !!</string>
19-
<string name="failed_to_load_source">Failed to load articles found for %s !!</string>
18+
<string name="empty_source_msg">No articles found for %1$s !!</string>
19+
<string name="failed_to_load_source">Failed to load articles found for %1$s !!</string>
2020
<string name="no_internet_connect">Please verify you internet connection and !!</string>
2121
<string name="no_source_selected">You didn\'t select any source yet!!\n you can enable sources in settings -> sources</string>
2222
<string name="common_retry">Retry</string>

core/network/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ kotlin {
2121
implementation(libs.ktor.loggingInterceptor)
2222
}
2323
androidMain.dependencies {
24-
implementation(libs.ktor.okhttp)
24+
implementation(libs.ktor.cio)
2525
}
2626
iosMain.dependencies {
2727
implementation(libs.ktor.darwin)

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ kotlinx-serialization-json = { module = "org.jetbrains.kotlinx:kotlinx-serializa
6363
kotlinx-datetime = { module = "org.jetbrains.kotlinx:kotlinx-datetime", version.ref = "kotlinxDatetime" }
6464
kotlinx-atomicfu = { module = "org.jetbrains.kotlinx:atomicfu", version.ref = "atomicfu" }
6565
ktor-core = { module = "io.ktor:ktor-client-core", version.ref = "ktor" }
66-
ktor-okhttp = { module = "io.ktor:ktor-client-okhttp", version.ref = "ktor" }
66+
ktor-cio = { module = "io.ktor:ktor-client-cio", version.ref = "ktor" }
6767
ktor-darwin = { module = "io.ktor:ktor-client-darwin", version.ref = "ktor" }
6868
ktor-contentNegotiation = { module = "io.ktor:ktor-client-content-negotiation", version.ref = "ktor" }
6969
ktor-serialization = { module = "io.ktor:ktor-serialization-kotlinx-json", version.ref = "ktor" }

imgs/demo.gif

52.4 MB
Loading

imgs/preview.png

-834 KB
Binary file not shown.

imgs/preview.svg

Lines changed: 270 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)