Skip to content

Commit 77c5da4

Browse files
committed
Redesign UI
Redesign UI
1 parent 291b6af commit 77c5da4

File tree

1,237 files changed

+23884
-63228
lines changed

Some content is hidden

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

1,237 files changed

+23884
-63228
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,3 +81,5 @@ lint/tmp/
8181

8282
.DS_Store
8383
output-metadata.json
84+
.kotlin
85+
.vscode

README.md

Lines changed: 7 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# PlainApp
22

3-
<a href="README_zh_CN.md">中文</a>
4-
53
PlainApp is an open-source application that allows you to manage your phone through a web browser. Access files, videos, music, contacts, sms, calls, and more from your desktop using a secure, easy to use web interface!
64

75
[<img src="https://play.google.com/intl/en_us/badges/static/images/badges/en_badge_web_generic.png" alt='Get it on Google Play' height="80">](https://play.google.com/store/apps/details?id=com.ismartcoding.plain)
@@ -26,7 +24,6 @@ PlainApp is an open-source application that allows you to manage your phone thro
2624
- SMS, Calls: Read your SMS and calls on webpage.
2725
- Apps: View your apps and download apk from phone.
2826
- Screen mirror: Mirror your phone on webpage.
29-
- Tools: Sound meter.
3027
- Notifications: You can manage push notifications on the webpage.
3128
- Device info: You can view your device info on the webpage.
3229
- PWA support: You can add webpage to your home screen and experience the convenience of using the webpage like a desktop app.
@@ -63,35 +60,18 @@ Your donation is highly appreciated. Thank you!
6360

6461
## Screenshots
6562

66-
| ![sound meter](screenshots/1.jpeg) | ![files](screenshots/2.jpeg) | ![web](screenshots/3.jpeg) | ![notes](screenshots/4.jpeg) |
67-
|--------------------------------------|-----------------------------------------|----------------------------------------------|--------------------------------------------------|
68-
| ![audio](screenshots/5.jpeg) | ![images](screenshots/6.jpeg) | ![videos](screenshots/7.jpeg) | ![rss](screenshots/8.jpeg) |
69-
| ![home](screenshots/web-home.png) | ![images](screenshots/web-images.png) | ![videos](screenshots/web-videos.png) | ![notes](screenshots/web-notes.png) |
70-
| ![files](screenshots/web-files.png) | ![encryption](screenshots/web-calls.png) | ![messages](screenshots/web-messages.png) | ![contacts](screenshots/web-contacts.png) |
71-
| ![audio](screenshots/web-audios.png) | ![rss](screenshots/web-rss.png) | ![encryption](screenshots/web-encryption.png) | ![encryption](screenshots/web-screen-mirror.png) |
72-
| ![audio](screenshots/web-image.png) | ![rss](screenshots/web-video.png) | | |
63+
| ![files](screenshots/2.jpeg) | ![web](screenshots/3.jpeg) | ![notes](screenshots/4.jpeg) | |
64+
|--------------------------------------------|--------------------------------------------------|-----------------------------------------------|--------------------------------------------------|
65+
| ![audio](screenshots/5.jpeg) | ![images](screenshots/6.jpeg) | ![videos](screenshots/7.jpeg) | ![rss](screenshots/8.jpeg) |
66+
| ![home](screenshots/web-home.png) | ![images](screenshots/web-images.png) | ![videos](screenshots/web-videos.png) | ![notes](screenshots/web-notes.png) |
67+
| ![files](screenshots/web-files.png) | ![encryption](screenshots/web-calls.png) | ![messages](screenshots/web-messages.png) | ![contacts](screenshots/web-contacts.png) |
68+
| ![audio](screenshots/web-audios.png) | ![rss](screenshots/web-rss.png) | ![encryption](screenshots/web-encryption.png) | ![encryption](screenshots/web-screen-mirror.png) |
69+
| ![audio](screenshots/web-image.png) | ![rss](screenshots/web-video.png) | | |
7370

7471
## Compatibility
7572

7673
PlainApp requires Android 9.0 or higher.
7774

78-
## Roadmap
79-
80-
- ❌ Not Started
81-
- 🟡 In Progress
82-
- ✅ Completed
83-
84-
| Feature | WEB | APP |
85-
|-----------------------------------------------------------|:---:|:---:|
86-
| Material You Theme || 🟡 |
87-
| Share Files via Web Link |||
88-
| Messaging between Phones with PlainApp (Bluetooth, Wi-Fi) |||
89-
| Translation Dictionary |||
90-
| Books |||
91-
| To do list |||
92-
93-
The ultimate goal is to turn smartphones into personal data and knowledge managers, allowing individuals to more easily exchange knowledge and data with each other through PlainApp.
94-
9575
## FAQ
9676

9777
[http://docs.plain.icu/faq.html](http://docs.plain.icu/faq.html)
@@ -102,15 +82,6 @@ It's worth mentioning that this is an open-source application.
10282
If you have doubts, you can either build your own version or choose not to use it.
10383
If you encounter any issues, feel free to open an issue on GitHub. I am always happy to help. Please do not give a one-star rating arbitrarily.
10484

105-
## Download GraphQL schema from PlainBox
106-
107-
```bash
108-
./gradlew downloadApolloSchema \
109-
--endpoint="http://<box-ip>:8080/graphql" \
110-
--schema="app/src/main/graphql/com/ismartcoding/plain/schema.graphqls" \
111-
--header="Authorization: Bearer <token>"
112-
```
113-
11485
## Build
11586

11687
1. Generate `release.jks` file under `$rootProject/app` folder.

README_zh_CN.md

Lines changed: 0 additions & 136 deletions
This file was deleted.

app/build.gradle.kts

Lines changed: 7 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import org.jetbrains.kotlin.config.KotlinCompilerVersion
21
import java.io.FileInputStream
32
import java.util.Properties
43
import com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsExtension
@@ -7,13 +6,13 @@ plugins {
76
id("com.android.application")
87
id("com.google.gms.google-services")
98
id("com.google.firebase.crashlytics")
10-
id("com.apollographql.apollo3") version "3.2.1"
119
id("kotlin-parcelize")
1210
id("androidx.room")
1311
id("com.google.devtools.ksp")
1412
kotlin("android")
1513
kotlin("kapt")
16-
kotlin("plugin.serialization") version "1.9.23"
14+
kotlin("plugin.serialization") version libs.versions.kotlin
15+
alias(libs.plugins.compose.compiler)
1716
}
1817

1918
room {
@@ -28,11 +27,10 @@ rootProject.file("keystore.properties").let {
2827
}
2928

3029
android {
31-
compileSdk = 34
30+
compileSdk = 35
3231
defaultConfig {
3332
applicationId = "com.ismartcoding.plain"
3433
minSdk = 28
35-
targetSdk = 34
3634

3735
val abiFilterList = if (hasProperty("abiFilters")) property("abiFilters").toString().split(';') else listOf()
3836
val singleAbiNum =
@@ -42,9 +40,9 @@ android {
4240
else -> 0
4341
}
4442

45-
val vCode = 331
43+
val vCode = 334
4644
versionCode = vCode - singleAbiNum
47-
versionName = "1.3.6"
45+
versionName = "2.0.0"
4846

4947
ndk {
5048
//noinspection ChromeOsAbiSupport
@@ -128,10 +126,6 @@ android {
128126
compose = true
129127
}
130128

131-
composeOptions {
132-
kotlinCompilerExtensionVersion = "1.5.12"
133-
}
134-
135129
packaging {
136130
jniLibs {
137131
// useLegacyPackaging = true
@@ -143,11 +137,6 @@ android {
143137
}
144138
namespace = "com.ismartcoding.plain"
145139

146-
apollo {
147-
packageName.set("com.ismartcoding.plain")
148-
mapScalar("Time", "java.util.Date")
149-
}
150-
151140
kotlinOptions {
152141
jvmTarget = "17"
153142
}
@@ -165,7 +154,6 @@ dependencies {
165154
implementation(libs.compose.foundation)
166155
implementation(libs.compose.foundation.layout)
167156
implementation(libs.compose.material3)
168-
implementation(libs.compose.material.icons.extended)
169157
implementation(libs.accompanist.drawablepainter)
170158
// https://developer.android.com/jetpack/androidx/releases/navigation
171159
implementation(libs.compose.navigation)
@@ -182,16 +170,7 @@ dependencies {
182170
implementation(libs.media3.dash)
183171
implementation(libs.media3.hls)
184172

185-
implementation(libs.apollo.runtime)
186-
implementation(libs.apollo.normalized.cache)
187-
implementation(libs.apollo.normalized.cache.sqlite)
188-
implementation(libs.apollo.adapters)
189-
190-
implementation(libs.androidx.viewpager2)
191-
implementation(libs.androidx.preference.ktx)
192-
193173
implementation(libs.androidx.core.splashscreen)
194-
implementation(libs.snake.yaml)
195174

196175
// CameraX
197176
implementation(libs.camera.core)
@@ -218,11 +197,9 @@ dependencies {
218197

219198
// https://developer.android.com/jetpack/androidx/releases/room
220199
implementation(libs.room.runtime)
221-
annotationProcessor(libs.room.compiler)
200+
// annotationProcessor(libs.room.compiler)
222201
ksp(libs.room.compiler)
223202

224-
implementation(libs.openai.client)
225-
226203
// coil: https://coil-kt.github.io/coil/changelog/
227204
implementation(libs.coil)
228205
implementation(libs.coil.video)
@@ -232,16 +209,14 @@ dependencies {
232209
implementation(libs.coil.network.ktor)
233210

234211
implementation(libs.zxing.core)
235-
implementation(libs.paging.runtime)
236212

237213
implementation(libs.androidx.work.runtime.ktx)
238214

239215
// https://developer.android.com/jetpack/androidx/releases/datastore
240216
implementation(libs.androidx.datastore.preferences)
241217

242-
// implementation("org.eclipse.jgit:org.eclipse.jgit:6.1.0.202203080745-r") // TODO: git support
243218
implementation(libs.zt.zip)
244219
implementation(project(":lib"))
245220
debugImplementation(libs.leakcanary.android)
246-
implementation(kotlin("stdlib", KotlinCompilerVersion.VERSION))
221+
implementation(kotlin("stdlib", libs.versions.kotlin.get()))
247222
}

0 commit comments

Comments
 (0)