Compare commits

...

87 Commits
1.5 ... master

Author SHA1 Message Date
68d07d530b Merge pull request 'chore(deps): update dependency gradle to v8.11' (#41) from renovate/gradle-8.x into master
All checks were successful
apk / build (push) Successful in 1m39s
Reviewed-on: #41
2024-11-12 08:12:03 +00:00
Renovate Bot
9fe5671853 chore(deps): update dependency gradle to v8.11
All checks were successful
apk / build (push) Successful in 1m40s
2024-11-12 06:45:04 +00:00
5174e127fb Actualiser renovate.json
All checks were successful
apk / build (push) Successful in 8m57s
2024-11-11 12:18:04 +00:00
bb039ef687 Merge pull request 'chore(deps): update dependency com.android.tools.build:gradle to v8.7.2' (#40) from renovate/com.android.tools.build-gradle-8.x into master
All checks were successful
apk / build (push) Successful in 1m43s
Reviewed-on: #40
2024-11-01 15:52:04 +00:00
Renovate Bot
6836c1617e chore(deps): update dependency com.android.tools.build:gradle to v8.7.2
All checks were successful
apk / build (push) Successful in 1m16s
2024-11-01 07:02:23 +00:00
dc89355a13 Merge pull request 'chore(deps): update dependency com.android.tools.build:gradle to v8.7.1' (#39) from renovate/com.android.tools.build-gradle-8.x into master
All checks were successful
apk / build (push) Successful in 1m26s
Reviewed-on: #39
2024-10-16 19:41:34 +00:00
Renovate Bot
92f17d1556 chore(deps): update dependency com.android.tools.build:gradle to v8.7.1
All checks were successful
apk / build (push) Successful in 1m18s
2024-10-15 06:44:13 +00:00
3244a62c95 Merge pull request 'chore(deps): update dependency com.android.tools.build:gradle to v8.7.0' (#38) from renovate/com.android.tools.build-gradle-8.x into master
All checks were successful
apk / build (push) Successful in 1m26s
Reviewed-on: #38
2024-10-05 07:50:36 +00:00
8193f1d1cb Merge pull request 'chore(deps): update dependency gradle to v8.10.2' (#37) from renovate/gradle-8.x into master
Some checks are pending
apk / build (push) Waiting to run
Reviewed-on: #37
2024-10-05 07:50:21 +00:00
Renovate Bot
5adde93312 chore(deps): update dependency com.android.tools.build:gradle to v8.7.0
All checks were successful
apk / build (push) Successful in 1m21s
2024-10-02 06:39:22 +00:00
Renovate Bot
f549d2a0e8 chore(deps): update dependency gradle to v8.10.2
All checks were successful
apk / build (push) Successful in 1m23s
2024-09-24 07:02:14 +00:00
309d9c510f Merge pull request 'chore(deps): update dependency com.android.tools.build:gradle to v8.6.1' (#36) from renovate/com.android.tools.build-gradle-8.x into master
All checks were successful
apk / build (push) Successful in 1m24s
Reviewed-on: #36
2024-09-18 07:57:30 +00:00
Renovate Bot
3ab3d11de4 chore(deps): update dependency com.android.tools.build:gradle to v8.6.1
All checks were successful
apk / build (push) Successful in 1m24s
2024-09-18 06:34:33 +00:00
f1d6dd71c9 Merge pull request 'chore(deps): update dependency gradle to v8.10.1' (#35) from renovate/gradle-8.x into master
All checks were successful
apk / build (push) Successful in 1m30s
Reviewed-on: #35
2024-09-10 07:14:47 +00:00
Renovate Bot
52c03d8ff3 chore(deps): update dependency gradle to v8.10.1
All checks were successful
apk / build (push) Successful in 1m29s
2024-09-10 06:45:27 +00:00
992f0c7534 Merge pull request 'chore(deps): update dependency com.android.tools.build:gradle to v8.6.0' (#34) from renovate/com.android.tools.build-gradle-8.x into master
All checks were successful
apk / build (push) Successful in 1m27s
Reviewed-on: #34
2024-08-31 01:14:48 +00:00
Renovate Bot
10ac7c4b69 chore(deps): update dependency com.android.tools.build:gradle to v8.6.0
All checks were successful
apk / build (push) Successful in 1m21s
2024-08-30 06:33:48 +00:00
209091487f Merge pull request 'chore(deps): update dependency gradle to v8.10' (#33) from renovate/gradle-8.x into master
All checks were successful
apk / build (push) Successful in 1m45s
Reviewed-on: #33
2024-08-15 13:21:25 +00:00
Renovate Bot
cda3651bb0 chore(deps): update dependency gradle to v8.10
All checks were successful
apk / build (push) Successful in 1m28s
2024-08-15 06:58:26 +00:00
21a34010bd Merge pull request 'chore(deps): update dependency com.android.tools.build:gradle to v8.5.2' (#32) from renovate/com.android.tools.build-gradle-8.x into master
All checks were successful
apk / build (push) Successful in 1m28s
Reviewed-on: #32
2024-08-09 07:18:09 +00:00
Renovate Bot
52a1898de4 chore(deps): update dependency com.android.tools.build:gradle to v8.5.2
All checks were successful
apk / build (push) Successful in 1m29s
2024-08-09 06:53:18 +00:00
51bd1d5c9c Merge pull request 'chore(deps): update dependency gradle to v8.9' (#31) from renovate/gradle-8.x into master
All checks were successful
apk / build (push) Successful in 1m21s
Reviewed-on: #31
2024-07-12 07:15:33 +00:00
6b0e85ed8b Merge pull request 'chore(deps): update dependency com.android.tools.build:gradle to v8.5.1' (#30) from renovate/com.android.tools.build-gradle-8.x into master
Some checks failed
apk / build (push) Has been cancelled
Reviewed-on: #30
2024-07-12 07:15:24 +00:00
Renovate Bot
45e6e32cbd chore(deps): update dependency gradle to v8.9
All checks were successful
apk / build (push) Successful in 1m25s
2024-07-12 07:00:54 +00:00
Renovate Bot
c20144c2e1 chore(deps): update dependency com.android.tools.build:gradle to v8.5.1
All checks were successful
apk / build (push) Successful in 1m26s
2024-07-12 07:00:06 +00:00
052da0793b Merge pull request 'chore(deps): update dependency org.jsoup:jsoup to v1.18.1' (#29) from renovate/org.jsoup-jsoup-1.x into master
All checks were successful
apk / build (push) Successful in 1m27s
Reviewed-on: #29
2024-07-11 07:02:50 +00:00
Renovate Bot
197ee9ea3f chore(deps): update dependency org.jsoup:jsoup to v1.18.1
All checks were successful
apk / build (push) Successful in 7m2s
2024-07-11 06:42:22 +00:00
c86942dfdd fix: 🗑️ fix deprecation
All checks were successful
apk / build (push) Successful in 1m32s
2024-07-09 16:33:19 +02:00
05e2a88bc8 Merge pull request 'chore(deps): update dependency com.android.tools.build:gradle to v8.5.0' (#28) from renovate/com.android.tools.build-gradle-8.x into master
All checks were successful
apk / build (push) Successful in 1m22s
Reviewed-on: #28
2024-06-14 09:34:51 +00:00
Renovate Bot
3f7ca5bfc1 chore(deps): update dependency com.android.tools.build:gradle to v8.5.0
All checks were successful
apk / build (push) Successful in 1m12s
2024-06-14 06:58:50 +00:00
db3a0eeaa1 Merge pull request 'chore(deps): update dependency com.android.tools.build:gradle to v8.4.2' (#27) from renovate/com.android.tools.build-gradle-8.x into master
All checks were successful
apk / build (push) Successful in 1m13s
Reviewed-on: #27
2024-06-11 14:04:09 +00:00
Renovate Bot
8b4b1f550b chore(deps): update dependency com.android.tools.build:gradle to v8.4.2
All checks were successful
apk / build (push) Successful in 1m16s
2024-06-11 06:39:08 +00:00
e7b943ebd9 Merge pull request 'chore(deps): update dependency gradle to v8.8' (#26) from renovate/gradle-8.x into master
All checks were successful
apk / build (push) Successful in 7m28s
Reviewed-on: #26
2024-06-01 21:39:27 +00:00
Renovate Bot
12c0c8daf8 chore(deps): update dependency gradle to v8.8
All checks were successful
apk / build (push) Successful in 1m6s
2024-06-01 06:53:35 +00:00
b8546ff5aa Merge pull request 'chore(deps): update dependency com.android.tools.build:gradle to v8.4.1' (#25) from renovate/com.android.tools.build-gradle-8.x into master
All checks were successful
apk / build (push) Successful in 1m8s
Reviewed-on: #25
2024-05-21 07:07:24 +00:00
Renovate Bot
4fa66b60c3 chore(deps): update dependency com.android.tools.build:gradle to v8.4.1
All checks were successful
apk / build (push) Successful in 1m11s
2024-05-21 06:55:14 +00:00
f6aea60ced Merge pull request 'chore(deps): update dependency com.android.tools.build:gradle to v8.4.0' (#24) from renovate/com.android.tools.build-gradle-8.x into master
All checks were successful
apk / build (push) Successful in 1m24s
Reviewed-on: #24
2024-05-01 18:18:22 +00:00
Renovate Bot
e2853c84f0 chore(deps): update dependency com.android.tools.build:gradle to v8.4.0
All checks were successful
apk / build (push) Successful in 1m18s
2024-05-01 06:43:25 +00:00
2fde435b96 Merge pull request 'chore(deps): update dependency com.android.tools.build:gradle to v8.3.2' (#23) from renovate/com.android.tools.build-gradle-8.x into master
All checks were successful
apk / build (push) Successful in 1m30s
Reviewed-on: #23
2024-04-10 11:36:44 +00:00
Renovate Bot
50ac28aa34 chore(deps): update dependency com.android.tools.build:gradle to v8.3.2
All checks were successful
apk / build (push) Successful in 1m36s
2024-04-10 06:40:58 +00:00
cce7e08fa9 Merge pull request 'chore(deps): update dependency gradle to v8.7' (#22) from renovate/gradle-8.x into master
All checks were successful
apk / build (push) Successful in 1m47s
Reviewed-on: #22
2024-03-24 19:47:13 +00:00
Renovate Bot
211771d5df chore(deps): update dependency gradle to v8.7
All checks were successful
apk / build (push) Successful in 1m31s
2024-03-23 06:53:56 +00:00
8458b9cd7a Merge pull request 'chore(deps): update dependency com.android.tools.build:gradle to v8.3.1' (#21) from renovate/com.android.tools.build-gradle-8.x into master
All checks were successful
apk / build (push) Successful in 1m18s
Reviewed-on: #21
2024-03-19 14:23:56 +00:00
Renovate Bot
740ec4cf27 chore(deps): update dependency com.android.tools.build:gradle to v8.3.1
All checks were successful
apk / build (push) Successful in 1m34s
2024-03-19 06:34:17 +00:00
eb8a5bfd62 fix: 🩹 remove useless import
All checks were successful
apk / build (push) Successful in 1m35s
2024-03-01 21:15:49 +01:00
cd939d2373 Merge pull request 'chore(deps): update dependency com.android.tools.build:gradle to v8.3.0' (#20) from renovate/com.android.tools.build-gradle-8.x into master
All checks were successful
apk / build (push) Successful in 1m20s
Reviewed-on: #20
2024-03-01 08:25:19 +00:00
Renovate Bot
63f4ff2cdd chore(deps): update dependency com.android.tools.build:gradle to v8.3.0
All checks were successful
apk / build (push) Successful in 1m20s
2024-03-01 06:59:37 +00:00
b5a17cee49 docs: 📈 add privacy policy to please Google
All checks were successful
apk / build (push) Successful in 9m49s
2024-02-28 10:55:44 +01:00
d06ee09d25 fix: 🔖 wrong publication on appstore
All checks were successful
apk / build (push) Successful in 1m30s
2024-02-28 09:58:41 +01:00
d274ad34f6 ci: 👷 migrate to akkuman release action
All checks were successful
apk / build (push) Successful in 1m34s
2024-02-28 09:45:23 +01:00
172b52240e chore: 🔖 update version
All checks were successful
apk / build (push) Successful in 11m22s
2024-02-28 09:31:07 +01:00
d01bf358b4 chore: 🔥 this should be ignored
Some checks failed
apk / build (push) Has been cancelled
2024-02-28 09:28:34 +01:00
9b2a65312a refactor: 🔥 remove X support 2024-02-28 09:27:56 +01:00
1c9dc4cca7 Merge pull request 'Update dependency gradle to v8.6' (#19) from renovate/gradle-8.x into master
All checks were successful
apk / build (push) Successful in 15m4s
Reviewed-on: #19
2024-02-03 08:26:31 +00:00
Renovate Bot
79de9e20c1 Update dependency gradle to v8.6
All checks were successful
apk / build (push) Successful in 13m45s
2024-02-03 06:56:15 +00:00
90488e2ccf Merge pull request 'Update dependency com.android.tools.build:gradle to v8.2.2' (#18) from renovate/com.android.tools.build-gradle-8.x into master
All checks were successful
apk / build (push) Successful in 2m21s
Reviewed-on: #18
2024-01-24 09:16:38 +00:00
Renovate Bot
6b7eec7c5e Update dependency com.android.tools.build:gradle to v8.2.2
All checks were successful
apk / build (push) Successful in 2m5s
2024-01-24 06:50:12 +00:00
1b64fdc4c8 Merge pull request 'Update dependency com.android.tools.build:gradle to v8.2.1' (#17) from renovate/com.android.tools.build-gradle-8.x into master
All checks were successful
apk / build (push) Successful in 2m7s
Reviewed-on: #17
2024-01-04 07:48:35 +00:00
Renovate Bot
6ad72b0fe1 Update dependency com.android.tools.build:gradle to v8.2.1
All checks were successful
apk / build (push) Successful in 2m40s
2024-01-04 06:46:15 +00:00
cb24bb3485 Merge pull request 'Update dependency org.jsoup:jsoup to v1.17.2' (#16) from renovate/org.jsoup-jsoup-1.x into master
All checks were successful
apk / build (push) Successful in 2m44s
Reviewed-on: #16
2023-12-29 09:01:51 +00:00
Renovate Bot
24ef4333a3 Update dependency org.jsoup:jsoup to v1.17.2
All checks were successful
apk / build (push) Successful in 12m1s
2023-12-29 06:53:12 +00:00
42ad6be20b Merge pull request 'Update actions/setup-go action to v5' (#15) from renovate/actions-setup-go-5.x into master
All checks were successful
apk / build (push) Successful in 1m42s
Reviewed-on: #15
2023-12-09 13:16:59 +00:00
Renovate Bot
08ff5b0f24 Update actions/setup-go action to v5
All checks were successful
apk / build (push) Successful in 2m28s
2023-12-07 06:43:15 +00:00
2ebbb35566 Merge pull request 'Update dependency com.android.tools.build:gradle to v8.2.0' (#14) from renovate/com.android.tools.build-gradle-8.x into master
All checks were successful
apk / build (push) Successful in 5m53s
Reviewed-on: #14
2023-12-01 14:39:27 +00:00
63dc17c91e Merge pull request 'Update dependency gradle to v8.5' (#13) from renovate/gradle-8.x into master
Some checks are pending
apk / build (push) Waiting to run
Reviewed-on: #13
2023-12-01 14:39:17 +00:00
Renovate Bot
36304b94a2 Update dependency com.android.tools.build:gradle to v8.2.0
All checks were successful
apk / build (push) Successful in 1m52s
2023-12-01 06:31:39 +00:00
Renovate Bot
78180643c7 Update dependency gradle to v8.5
All checks were successful
apk / build (push) Successful in 2m17s
2023-11-30 06:35:09 +00:00
04b08a3cd9 Merge pull request 'Update dependency org.jsoup:jsoup to v1.17.1' (#12) from renovate/org.jsoup-jsoup-1.x into master
All checks were successful
apk / build (push) Successful in 2m44s
Reviewed-on: #12
2023-11-27 19:30:49 +00:00
Renovate Bot
6f92687c69 Update dependency org.jsoup:jsoup to v1.17.1
All checks were successful
apk / build (push) Successful in 13m8s
2023-11-27 06:50:10 +00:00
7a68a1a5cd Merge pull request 'Update dependency com.android.tools.build:gradle to v8.1.4' (#11) from renovate/com.android.tools.build-gradle-8.x into master
All checks were successful
apk / build (push) Successful in 2m41s
Reviewed-on: #11
2023-11-18 09:44:20 +00:00
Renovate Bot
447e6ad6e2 Update dependency com.android.tools.build:gradle to v8.1.4
All checks were successful
apk / build (push) Successful in 2m34s
2023-11-17 06:29:47 +00:00
8365f31c91 Merge pull request 'Update dependency com.android.tools.build:gradle to v8.1.3' (#10) from renovate/com.android.tools.build-gradle-8.x into master
All checks were successful
apk / build (push) Successful in 2m5s
Reviewed-on: #10
2023-11-08 07:26:44 +00:00
Renovate Bot
f90dc8da9d Update dependency com.android.tools.build:gradle to v8.1.3
All checks were successful
apk / build (push) Successful in 2m1s
2023-11-08 06:39:00 +00:00
bdb95c008f Merge pull request 'Update dependency org.jsoup:jsoup to v1.16.2' (#9) from renovate/org.jsoup-jsoup-1.x into master
All checks were successful
apk / build (push) Successful in 2m1s
Reviewed-on: #9
2023-10-22 08:01:22 +00:00
Renovate Bot
257044ad5f Update dependency org.jsoup:jsoup to v1.16.2
All checks were successful
apk / build (push) Successful in 9m16s
2023-10-20 06:28:22 +00:00
02b03bf95e Merge pull request 'Update dependency gradle to v8.4' (#8) from renovate/gradle-8.x into master
All checks were successful
apk / build (push) Successful in 1m43s
Reviewed-on: #8
2023-10-05 07:22:06 +00:00
Renovate Bot
bc7a6245c9 Update dependency gradle to v8.4
All checks were successful
apk / build (push) Successful in 1m29s
2023-10-05 07:00:02 +00:00
71d3dc48fb Merge pull request 'Update dependency com.android.tools.build:gradle to v8.1.2' (#7) from renovate/com.android.tools.build-gradle-8.x into master
All checks were successful
apk / build (push) Successful in 2m39s
Reviewed-on: #7
2023-09-29 19:58:16 +00:00
Renovate Bot
efbc9425d9 Update dependency com.android.tools.build:gradle to v8.1.2
All checks were successful
apk / build (push) Successful in 1m35s
2023-09-29 06:43:16 +00:00
10bde53b23 Update actions
All checks were successful
apk / build (push) Successful in 1m51s
2023-09-29 00:29:15 +02:00
e6ba0e5d42 Merge pull request 'Update actions/setup-go action to v4' (#6) from renovate/actions-setup-go-4.x into master
All checks were successful
apk / build (push) Successful in 1m38s
Reviewed-on: #6
2023-09-11 07:17:44 +00:00
Renovate Bot
3ae6dacba9 Update actions/setup-go action to v4
All checks were successful
apk / build (push) Successful in 1m38s
2023-09-11 06:54:32 +00:00
6eaceed5a9 Merge pull request 'Update dependency com.android.tools.build:gradle to v8.1.1' (#4) from renovate/com.android.tools.build-gradle-8.x into master
All checks were successful
apk / build (push) Successful in 1m43s
Reviewed-on: #4
2023-08-22 07:33:47 +00:00
Renovate Bot
663a87f413 Update dependency com.android.tools.build:gradle to v8.1.1
All checks were successful
apk / build (push) Successful in 1m35s
2023-08-22 06:41:22 +00:00
fe67eb4a87 Merge pull request 'Update dependency gradle to v8.3' (#3) from renovate/gradle-8.x into master
All checks were successful
apk / build (push) Successful in 1m35s
Reviewed-on: #3
2023-08-18 07:03:31 +00:00
Renovate Bot
accd971d5c Update dependency gradle to v8.3
All checks were successful
apk / build (push) Successful in 1m42s
2023-08-18 06:57:14 +00:00
778d7410df Small typos
All checks were successful
apk / build (push) Successful in 1m45s
2023-07-31 22:59:11 +02:00
12 changed files with 87 additions and 59 deletions

View File

@ -6,20 +6,16 @@ jobs:
runs-on: ubuntu-latest
container: mingc/android-build-box
steps:
- uses: actions/setup-go@v3
with:
go-version: '>=1.20.1'
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: curl -sSL -u "$USERNAME:$PASSWORD" -o ShareWithTitle/$STORE_FILE https://cloud.crystalyx.net/remote.php/dav/files/$USERNAME/Bordel/$STORE_FILE
- run: sh gradlew lint build bundle assemble --no-daemon
- uses: https://gitea.com/actions/release-action@main
if: startsWith(gitea.ref, 'refs/tags')
- uses: akkuman/gitea-release-action@v1
if: gitea.ref_type == 'tag'
with:
files: |
ShareWithTitle/build/outputs/apk/debug/ShareWithTitle-debug.apk
ShareWithTitle/build/outputs/apk/release/ShareWithTitle-release.apk
ShareWithTitle/build/outputs/bundle/release/ShareWithTitle-release.aab
api_key: ${{ secrets.RELEASE_TOKEN }}
env:
USERNAME: ${{ secrets.USERNAME }}
PASSWORD: ${{ secrets.PASSWORD }}

39
POLICY.md Normal file
View File

@ -0,0 +1,39 @@
**Privacy Policy**
I built the Share with title app as an Open Source app. This is provided by me at no cost and is intended for use as is.
This page is used to inform visitors regarding my policies with the collection, use, and disclosure of Personal Information if anyone decided to use my app.
If you choose to use my app, then you agree to the collection and use of information in relation to this policy. The Personal Information that I collect is used for providing and improving the app. I will not use or share your information with anyone except as described in this Privacy Policy.
The terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, which are accessible at Share with title unless otherwise defined in this Privacy Policy.
**Information Collection and Use**
For a better experience, while using our app, I may require you to provide us with certain personally identifiable information. The information that I request will be retained on your device and is not collected by me in any way.
**Log Data**
I want to inform you that whenever you use my app, in a case of an error in the app I collect data and information (through third-party products) on your phone called Log Data. This Log Data may include information such as your device Internet Protocol (“IP”) address, device name, operating system version, the configuration of the app when utilizing my app, the time and date of your use of the app, and other statistics.
**Security**
I value your trust in providing us your Personal Information, thus we are striving to use commercially acceptable means of protecting it. But remember that no method of transmission over the internet, or method of electronic storage is 100% secure and reliable, and I cannot guarantee its absolute security.
**Links to Other Sites**
This app may contain links to other sites. If you click on a third-party link, you will be directed to that site. Note that these external sites are not operated by me. Therefore, I strongly advise you to review the Privacy Policy of these websites. I have no control over and assume no responsibility for the content, privacy policies, or practices of any third-party sites or services.
**Childrens Privacy**
I do not knowingly collect personally identifiable information from children. I encourage all children to never submit any personally identifiable information through the Application and/or Services. I encourage parents and legal guardians to monitor their children's Internet usage and to help enforce this Policy by instructing their children never to provide personally identifiable information through the Application and/or Services without their permission. If you have reason to believe that a child has provided personally identifiable information to us through the Application and/or Services, please contact us. You must also be at least 16 years of age to consent to the processing of your personally identifiable information in your country (in some countries we may allow your parent or guardian to do so on your behalf).
**Changes to This Privacy Policy**
I may update our Privacy Policy from time to time. Thus, you are advised to review this page periodically for any changes. I will notify you of any changes by posting the new Privacy Policy on this page.
This policy is effective as of 2024-02-28
**Contact Us**
If you have any questions or suggestions about my Privacy Policy, do not hesitate to contact me at https://blog.crystalyx.net/contact/.

View File

@ -2,13 +2,13 @@ apply plugin: 'com.android.application'
android {
namespace 'net.crystalyx.sharewithtitle'
compileSdk 33
compileSdk 34
defaultConfig {
applicationId "net.crystalyx.sharewithtitle"
minSdkVersion 11
targetSdkVersion 33
versionCode 6
versionName "1.5"
targetSdkVersion 34
versionCode 9
versionName "1.7"
}
signingConfigs {
release {
@ -20,6 +20,10 @@ android {
}
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
buildTypes {
release {
minifyEnabled false
@ -32,5 +36,5 @@ android {
}
dependencies {
implementation 'org.jsoup:jsoup:1.16.1'
implementation 'org.jsoup:jsoup:1.18.1'
}

View File

@ -1,4 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<uses-permission android:name="android.permission.INTERNET" />
<application
android:icon="@mipmap/ic_launcher"
@ -14,4 +15,5 @@
</intent-filter>
</activity>
</application>
</manifest>

View File

@ -5,7 +5,7 @@ import android.content.Intent;
import android.os.Bundle;
import android.widget.Toast;
import java.net.MalformedURLException;
import java.net.URI;
import java.net.URL;
public class MainActivity extends Activity {
@ -26,27 +26,15 @@ public class MainActivity extends Activity {
private void handleUrl(String textUrl) {
URL originalUrl;
URL fixedUrl;
try {
originalUrl = new URL(textUrl);
switch (originalUrl.getHost()) {
case "twitter.com":
case "t.co":
case "x.com":
fixedUrl = new URL(originalUrl.getProtocol(), "nitter.net", originalUrl.getPort(), originalUrl.getFile());
break;
default:
fixedUrl = originalUrl;
break;
}
} catch (MalformedURLException e) {
originalUrl = new URI(textUrl).toURL();
} catch (Exception e) {
Toast.makeText(this, e.getMessage(), Toast.LENGTH_SHORT).show();
return;
}
HttpThreadHandler handler = new HttpThreadHandler(fixedUrl);
HttpThreadHandler handler = new HttpThreadHandler(originalUrl);
Thread job = new Thread(handler);
job.start();

View File

@ -4,7 +4,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath("com.android.tools.build:gradle:8.1.0")
classpath("com.android.tools.build:gradle:8.7.2")
}
}

Binary file not shown.

View File

@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME

22
gradlew vendored
View File

@ -15,6 +15,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
# SPDX-License-Identifier: Apache-2.0
#
##############################################################################
#
@ -55,7 +57,7 @@
# Darwin, MinGW, and NonStop.
#
# (3) This script is generated from the Groovy template
# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
# https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
# within the Gradle project.
#
# You can find Gradle at https://github.com/gradle/gradle/.
@ -83,7 +85,9 @@ done
# This is normally unused
# shellcheck disable=SC2034
APP_BASE_NAME=${0##*/}
APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s
' "$PWD" ) || exit
# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD=maximum
@ -144,7 +148,7 @@ if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
case $MAX_FD in #(
max*)
# In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
# shellcheck disable=SC3045
# shellcheck disable=SC2039,SC3045
MAX_FD=$( ulimit -H -n ) ||
warn "Could not query maximum file descriptor limit"
esac
@ -152,7 +156,7 @@ if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
'' | soft) :;; #(
*)
# In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
# shellcheck disable=SC3045
# shellcheck disable=SC2039,SC3045
ulimit -n "$MAX_FD" ||
warn "Could not set maximum file descriptor limit to $MAX_FD"
esac
@ -201,11 +205,11 @@ fi
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
# Collect all arguments for the java command;
# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of
# shell script including quotes and variable substitutions, so put them in
# double quotes to make sure that they get re-expanded; and
# * put everything else in single quotes, so that it's not re-expanded.
# Collect all arguments for the java command:
# * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
# and any embedded shellness will be escaped.
# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
# treated as '${Hostname}' itself on the command line.
set -- \
"-Dorg.gradle.appname=$APP_BASE_NAME" \

22
gradlew.bat vendored
View File

@ -13,6 +13,8 @@
@rem See the License for the specific language governing permissions and
@rem limitations under the License.
@rem
@rem SPDX-License-Identifier: Apache-2.0
@rem
@if "%DEBUG%"=="" @echo off
@rem ##########################################################################
@ -43,11 +45,11 @@ set JAVA_EXE=java.exe
%JAVA_EXE% -version >NUL 2>&1
if %ERRORLEVEL% equ 0 goto execute
echo.
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.
echo. 1>&2
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2
echo. 1>&2
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
echo location of your Java installation. 1>&2
goto fail
@ -57,11 +59,11 @@ set JAVA_EXE=%JAVA_HOME%/bin/java.exe
if exist "%JAVA_EXE%" goto execute
echo.
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.
echo. 1>&2
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2
echo. 1>&2
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
echo location of your Java installation. 1>&2
goto fail

View File

@ -1,8 +0,0 @@
## This file must *NOT* be checked into Version Control Systems,
# as it contains information specific to your local configuration.
#
# Location of the SDK. This is only used by Gradle.
# For customization when using a Version Control System, please read the
# header note.
#Sun Jul 30 19:06:21 CEST 2023
sdk.dir=/mnt/Eternia/AndroidSdk

View File

@ -1,3 +1,4 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json"
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"rangeStrategy": "bump"
}