diff --git a/README.md b/README.md index 80b5758..49e1403 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,8 @@ UntrackMe once set by default to open Twitter and YouTube links will transform them into Nitter and Invidious links and delegate the action to another app. +There are two version of UntrackMe - Once handling all URLs for removing tracking parameters - Another one called "UntrackMe Lite" that will only handle Twitter, Youtube, Instagram, Google Maps and shortened URLs. + ## Donate @@ -9,7 +11,9 @@ UntrackMe once set by default to open Twitter and YouTube links will transform t ## Download -[Get it on F-Droid](https://f-droid.org/app/app.fedilab.nitterizeme) +Full version: [Get it on F-Droid](https://f-droid.org/app/app.fedilab.nitterizeme) + +Lite version: [Get it on F-Droid](https://f-droid.org/app/app.fedilab.nitterizemelite) ### What is Nitter: @@ -23,6 +27,10 @@ Github project: [/zedeus/nitter](https://github.com/zedeus/nitter) A free and open source alternative front-end to YouTube Github project: [/omarroth/invidious](https://github.com/omarroth/invidious) +### What is Bibliogram: + +A free and open source alternative front-end to Instagram +Github project: [/cloudrac3r/bibliogram](https://github.com/cloudrac3r/bibliogram) ### Screenshots: diff --git a/app/build.gradle b/app/build.gradle index 3f06fd6..59b410c 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -15,25 +15,24 @@ android { checkReleaseBuilds false abortOnError false } - flavorDimensions "default" productFlavors { - full { + fullLinks { applicationId "app.fedilab.nitterizeme" - buildConfigField "boolean", "full", "true" - sourceSets { - main { - manifest.srcFile "src/full/AndroidManifest.xml" - } - } + buildConfigField "boolean", "fullLinks", "true" + flavorDimensions "default" } lite { applicationId "app.fedilab.nitterizemelite" - buildConfigField "boolean", "full", "false" - sourceSets { - main { - manifest.srcFile "src/lite/AndroidManifest.xml" - } - } + buildConfigField "boolean", "fullLinks", "false" + flavorDimensions "default" + } + } + sourceSets { + lite { + manifest.srcFile "src/main/AndroidManifest.xml" + } + fullLinks { + manifest.srcFile "src/fullLinks/AndroidManifest.xml" } } buildTypes { diff --git a/app/src/full/AndroidManifest.xml b/app/src/fullLinks/AndroidManifest.xml similarity index 87% rename from app/src/full/AndroidManifest.xml rename to app/src/fullLinks/AndroidManifest.xml index 7510cc1..5f09766 100644 --- a/app/src/full/AndroidManifest.xml +++ b/app/src/fullLinks/AndroidManifest.xml @@ -15,9 +15,11 @@ android:supportsRtl="true" android:theme="@style/AppTheme" android:usesCleartextTraffic="true" - tools:ignore="GoogleAppIndexingWarning,UnusedAttribute"> + tools:ignore="GoogleAppIndexingWarning,UnusedAttribute" + tools:replace="android:label"> @@ -27,10 +29,11 @@ - + android:theme="@style/Theme.AppCompat.Translucent" + android:targetActivity=".activities.TransformActivity"> @@ -187,36 +190,42 @@ android:pathPattern="/amp/s/.*" /> - - + - + - + - + - + - + + android:theme="@style/AppTheme" + android:targetActivity=".activities.WebviewPlayerActivity" /> \ No newline at end of file diff --git a/app/src/lite/AndroidManifest.xml b/app/src/main/AndroidManifest.xml similarity index 98% rename from app/src/lite/AndroidManifest.xml rename to app/src/main/AndroidManifest.xml index bcba71a..812413b 100644 --- a/app/src/lite/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -8,10 +8,11 @@ resolveInfos = getPackageManager().queryIntentActivities(new Intent(Intent.ACTION_VIEW, Uri.parse("https://fedilab.app")), PackageManager.MATCH_DEFAULT_ONLY); String thisPackageName = getApplicationContext().getPackageName(); if (resolveInfos.size() == 1 && resolveInfos.get(0).activityInfo.packageName.compareTo(thisPackageName) == 0) { diff --git a/app/src/main/res/drawable/ic_launcher_lite_foreground.xml b/app/src/main/res/drawable/ic_launcher_lite_foreground.xml new file mode 100644 index 0000000..741c0a3 --- /dev/null +++ b/app/src/main/res/drawable/ic_launcher_lite_foreground.xml @@ -0,0 +1,20 @@ + + + + + + + diff --git a/app/src/main/res/layout/activity_about.xml b/app/src/main/res/layout/activity_about.xml index cfa1841..3221769 100644 --- a/app/src/main/res/layout/activity_about.xml +++ b/app/src/main/res/layout/activity_about.xml @@ -29,6 +29,7 @@ android:orientation="vertical"> + + android:padding="2dp" + android:singleLine="true" + android:textColor="@color/colorAccent" + android:textSize="12sp" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent" /> + + + + + \ No newline at end of file diff --git a/app/src/main/res/mipmap-anydpi-v26/ic_launcher_lite_round.xml b/app/src/main/res/mipmap-anydpi-v26/ic_launcher_lite_round.xml new file mode 100644 index 0000000..b836d86 --- /dev/null +++ b/app/src/main/res/mipmap-anydpi-v26/ic_launcher_lite_round.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/app/src/main/res/mipmap-hdpi/ic_launcher_lite.png b/app/src/main/res/mipmap-hdpi/ic_launcher_lite.png new file mode 100644 index 0000000..ae39d59 Binary files /dev/null and b/app/src/main/res/mipmap-hdpi/ic_launcher_lite.png differ diff --git a/app/src/main/res/mipmap-hdpi/ic_launcher_lite_round.png b/app/src/main/res/mipmap-hdpi/ic_launcher_lite_round.png new file mode 100644 index 0000000..a15b080 Binary files /dev/null and b/app/src/main/res/mipmap-hdpi/ic_launcher_lite_round.png differ diff --git a/app/src/main/res/mipmap-mdpi/ic_launcher_lite.png b/app/src/main/res/mipmap-mdpi/ic_launcher_lite.png new file mode 100644 index 0000000..c26fe48 Binary files /dev/null and b/app/src/main/res/mipmap-mdpi/ic_launcher_lite.png differ diff --git a/app/src/main/res/mipmap-mdpi/ic_launcher_lite_round.png b/app/src/main/res/mipmap-mdpi/ic_launcher_lite_round.png new file mode 100644 index 0000000..a6d501d Binary files /dev/null and b/app/src/main/res/mipmap-mdpi/ic_launcher_lite_round.png differ diff --git a/app/src/main/res/mipmap-xhdpi/ic_launcher_lite.png b/app/src/main/res/mipmap-xhdpi/ic_launcher_lite.png new file mode 100644 index 0000000..0f730c0 Binary files /dev/null and b/app/src/main/res/mipmap-xhdpi/ic_launcher_lite.png differ diff --git a/app/src/main/res/mipmap-xhdpi/ic_launcher_lite_round.png b/app/src/main/res/mipmap-xhdpi/ic_launcher_lite_round.png new file mode 100644 index 0000000..58f48c0 Binary files /dev/null and b/app/src/main/res/mipmap-xhdpi/ic_launcher_lite_round.png differ diff --git a/app/src/main/res/mipmap-xxhdpi/ic_launcher_lite.png b/app/src/main/res/mipmap-xxhdpi/ic_launcher_lite.png new file mode 100644 index 0000000..b7d2b17 Binary files /dev/null and b/app/src/main/res/mipmap-xxhdpi/ic_launcher_lite.png differ diff --git a/app/src/main/res/mipmap-xxhdpi/ic_launcher_lite_round.png b/app/src/main/res/mipmap-xxhdpi/ic_launcher_lite_round.png new file mode 100644 index 0000000..db0c5b2 Binary files /dev/null and b/app/src/main/res/mipmap-xxhdpi/ic_launcher_lite_round.png differ diff --git a/app/src/main/res/mipmap-xxxhdpi/ic_launcher_lite.png b/app/src/main/res/mipmap-xxxhdpi/ic_launcher_lite.png new file mode 100644 index 0000000..a2a5e4d Binary files /dev/null and b/app/src/main/res/mipmap-xxxhdpi/ic_launcher_lite.png differ diff --git a/app/src/main/res/mipmap-xxxhdpi/ic_launcher_lite_round.png b/app/src/main/res/mipmap-xxxhdpi/ic_launcher_lite_round.png new file mode 100644 index 0000000..ada8b48 Binary files /dev/null and b/app/src/main/res/mipmap-xxxhdpi/ic_launcher_lite_round.png differ diff --git a/app/src/main/res/values/ic_launcher_lite_background.xml b/app/src/main/res/values/ic_launcher_lite_background.xml new file mode 100644 index 0000000..a774850 --- /dev/null +++ b/app/src/main/res/values/ic_launcher_lite_background.xml @@ -0,0 +1,4 @@ + + + #455A64 + \ No newline at end of file