-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
*.iml | ||
.gradle | ||
/local.properties | ||
/.idea/caches | ||
/.idea/libraries | ||
/.idea/modules.xml | ||
/.idea/workspace.xml | ||
/.idea/navEditor.xml | ||
/.idea/assetWizardSettings.xml | ||
.DS_Store | ||
/build | ||
/captures | ||
.externalNativeBuild | ||
.cxx | ||
local.properties |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2022 Terms of Service; Didn’t Read | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# ToS;DR for Android | ||
|
||
[<img height="50" src="resources/google-play-badge.png"/>](https://play.google.com/store/apps/details?id=xyz.ptgms.tosdr&pli=1) | ||
|
||
This is a simple app that allows you to use ToS;DR on your Android device. | ||
|
||
## How to use | ||
|
||
1. Install the app from the [Play Store](https://play.google.com/store/apps/details?id=xyz.ptgms.tosdr&pli=1), download the APK from the [releases page](https://github.com/tosdr/tosdr-android/releases), or build it yourself. | ||
2. Share a link of a Website to the App or search for it in the search tab. | ||
3. Done! You are not viewing the ToS;DR page for the website! | ||
|
||
## How to build | ||
|
||
1. Clone the repository | ||
2. Open the project in Android Studio | ||
3. Build the project | ||
4. Done! | ||
|
||
## How to contribute | ||
|
||
Feel free to open a pull request or an issue if you want to contribute to the project. If you want to add a new language, you can use the [CrowdIn](https://crowdin.com/project/tosdr-android). | ||
|
||
## Is the app going to be on F-Droid? | ||
|
||
Yes, it will. I am going to make a new branch without any Google dependencies and then I will submit it to F-Droid. | ||
|
||
## Notice | ||
|
||
Google Play and the Google Play logo are trademarks of Google LLC. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/build |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
plugins { | ||
id 'com.android.application' | ||
id 'org.jetbrains.kotlin.android' | ||
id 'com.mikepenz.aboutlibraries.plugin' | ||
} | ||
|
||
android { | ||
namespace 'xyz.ptgms.tosdr' | ||
compileSdk 33 | ||
|
||
defaultConfig { | ||
applicationId 'xyz.ptgms.tosdr' | ||
minSdk 24 | ||
targetSdk 33 | ||
versionCode 21 | ||
versionName "1.5" | ||
|
||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" | ||
vectorDrawables { | ||
useSupportLibrary true | ||
} | ||
} | ||
|
||
buildTypes { | ||
release { | ||
minifyEnabled true | ||
shrinkResources true | ||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' | ||
} | ||
debug { | ||
minifyEnabled true | ||
shrinkResources true | ||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' | ||
} | ||
} | ||
compileOptions { | ||
sourceCompatibility JavaVersion.VERSION_1_8 | ||
targetCompatibility JavaVersion.VERSION_1_8 | ||
} | ||
kotlinOptions { | ||
jvmTarget = '1.8' | ||
} | ||
buildFeatures { | ||
compose true | ||
} | ||
composeOptions { | ||
kotlinCompilerExtensionVersion '1.3.2' | ||
} | ||
packagingOptions { | ||
resources { | ||
excludes += '/META-INF/{AL2.0,LGPL2.1}' | ||
} | ||
} | ||
} | ||
|
||
dependencies { | ||
implementation "com.mikepenz:aboutlibraries-core:10.5.1" | ||
implementation 'com.android.billingclient:billing:5.1.0' | ||
implementation("com.android.billingclient:billing-ktx:5.1.0") | ||
implementation 'androidx.core:core-ktx:1.9.0' | ||
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.5.1' | ||
implementation 'androidx.activity:activity-compose:1.6.1' | ||
implementation platform('androidx.compose:compose-bom:2022.11.00') | ||
implementation 'androidx.compose.ui:ui:1.4.0-alpha02' | ||
implementation 'androidx.compose.ui:ui-graphics:1.4.0-alpha02' | ||
implementation 'androidx.compose.ui:ui-tooling-preview:1.4.0-alpha02' | ||
implementation 'androidx.compose.material3:material3:1.1.0-alpha02' | ||
implementation "io.coil-kt:coil-compose:2.2.2" | ||
implementation 'com.beust:klaxon:5.6' | ||
implementation "com.deepl.api:deepl-java:0.2.1" | ||
implementation('ch.acra:acra-mail:5.9.7') | ||
implementation('ch.acra:acra-dialog:5.9.7') | ||
implementation('androidx.navigation:navigation-compose:2.6.0-alpha04') | ||
testImplementation 'junit:junit:4.13.2' | ||
androidTestImplementation 'androidx.test.ext:junit:1.1.4' | ||
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.0' | ||
androidTestImplementation platform('androidx.compose:compose-bom:2022.11.00') | ||
androidTestImplementation 'androidx.compose.ui:ui-test-junit4:1.4.0-alpha02' | ||
debugImplementation 'androidx.compose.ui:ui-tooling:1.4.0-alpha02' | ||
debugImplementation 'androidx.compose.ui:ui-test-manifest:1.4.0-alpha02' | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Add project specific ProGuard rules here. | ||
# You can control the set of applied configuration files using the | ||
# proguardFiles setting in build.gradle. | ||
# | ||
# For more details, see | ||
# http://developer.android.com/guide/developing/tools/proguard.html | ||
|
||
# If your project uses WebView with JS, uncomment the following | ||
# and specify the fully qualified class name to the JavaScript interface | ||
# class: | ||
#-keepclassmembers class fqcn.of.javascript.interface.for.webview { | ||
# public *; | ||
#} | ||
|
||
# Uncomment this to preserve the line number information for | ||
# debugging stack traces. | ||
#-keepattributes SourceFile,LineNumberTable | ||
|
||
# If you keep the line number information, uncomment this to | ||
# hide the original source file name. | ||
#-renamesourcefileattribute SourceFile | ||
|
||
# Needed for OKHttp | ||
-dontwarn org.bouncycastle.jsse.BCSSLParameters | ||
-dontwarn org.bouncycastle.jsse.BCSSLSocket | ||
-dontwarn org.bouncycastle.jsse.provider.BouncyCastleJsseProvider | ||
-dontwarn org.conscrypt.Conscrypt$Version | ||
-dontwarn org.conscrypt.Conscrypt | ||
-dontwarn org.conscrypt.ConscryptHostnameVerifier | ||
-dontwarn org.openjsse.javax.net.ssl.SSLParameters | ||
-dontwarn org.openjsse.javax.net.ssl.SSLSocket | ||
-dontwarn org.openjsse.net.ssl.OpenJSSE | ||
# Klaxon | ||
-keep public class kotlin.reflect.jvm.internal.impl.** { public *; } | ||
-keep class com.beust.klaxon.** { *; } | ||
-keep interface com.beust.klaxon.** { *; } | ||
-keep class kotlin.Metadata { *; } |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"version": 3, | ||
"artifactType": { | ||
"type": "APK", | ||
"kind": "Directory" | ||
}, | ||
"applicationId": "xyz.ptgms.tosdr", | ||
"variantName": "release", | ||
"elements": [ | ||
{ | ||
"type": "SINGLE", | ||
"filters": [], | ||
"attributes": [], | ||
"versionCode": 16, | ||
"versionName": "1.2", | ||
"outputFile": "app-release.apk" | ||
} | ||
], | ||
"elementType": "File" | ||
} |