Tusky è un client Android per Mastodon. Mastodon è un social network federato ActivityPub. Ciò significa che nessuna singola entità controlla l'intera rete, piuttosto, come la posta elettronica, i volontari e le organizzazioni gestiscono i propri server. https://mastodon.it/it/app-mastodon-per-android
Go to file
Christophe Beyls ad1afdd241
Refactor permissions requests to use ActivityResultContract (#4391)
The app currently uses a custom callback system for requesting
permissions, located in `BaseActivity`.
This code doesn't work when the activity gets re-created before the
permission is granted: the callback will be lost with the Activity and
no action will be performed after the permission is granted.

To avoid these issues while still simplifying the code, Google
recommends to use the ActivityResultContract APIs to request
permissions, which allow to register persistent callbacks. This pull
request removes the legacy API and replaces the calls with
`registerForActivityResult(ActivityResultContracts.RequestPermission())`.

- `ActivityResultContracts.RequestPermission` will check if the
permission is already granted and call the callback synchronously when
possible. So this check doesn't need to be performed anymore.
- In `SearchStatusesFragment` and `SFragment`, the download action to
launch after granting the permission requires an argument (a list of
media URLs). This argument is temporarily stored in a Fragment field and
saved and restored as part of the instance state, so the action can
properly resume after an Activity re-creation.
2024-05-03 21:42:35 +02:00
.github upgrade to gradle/actions/wrapper-validation@v3 in the other workflow as well 🙄 (#4378) 2024-04-21 09:35:59 +02:00
.idea Modernize a bit (#3171) 2023-02-04 19:58:53 +01:00
app Refactor permissions requests to use ActivityResultContract (#4391) 2024-05-03 21:42:35 +02:00
assets update tusky_banner.xcf 2023-02-15 20:05:45 +01:00
doc clarify updating the download link in Release.md (#4197) 2023-12-28 13:28:18 +01:00
fastlane/metadata/android Translated using Weblate (Galician) 2024-04-25 15:15:38 +00:00
gradle Update dependency com.android.application to v8.4.0 (#4403) 2024-05-03 13:53:05 +02:00
.editorconfig upgrade ktlint plugin to 12.0.3 (#4169) 2024-01-04 17:00:55 +01:00
.gitattributes Modernize a bit (#3171) 2023-02-04 19:58:53 +01:00
.gitignore Modernize a bit (#3171) 2023-02-04 19:58:53 +01:00
CHANGELOG.md Release 119 2024-05-03 12:28:45 +02:00
CONTRIBUTING.md Update contributing.md with payment policy link (#4037) 2023-09-26 20:17:18 +02:00
LICENSE.txt License change back to GPL 3 2017-04-09 20:12:31 -04:00
README.md Fix link to Matrix in README (#3995) 2023-09-03 16:02:08 +01:00
bitrise.yml fix building nightly on bitrise 2024-02-23 14:57:19 +01:00
build.gradle Use Java 21 (#4235) 2024-02-23 12:28:13 +01:00
gradle.properties Remove lint version overriding 2023-08-25 10:27:14 +08:00
gradlew Upgrade Gradle to 8.5 and Android Gradle Plugin to 8.2.1 (#4208) 2024-01-07 10:45:21 +01:00
gradlew.bat Update dependency gradle to v8.6 (#4271) 2024-02-23 14:41:10 +01:00
renovate.json Use Renovate recommended baseline (#3977) 2023-11-01 11:39:20 +01:00
settings.gradle chore(deps): update plugin com.gradle.develocity to v3.17.2 (#4376) 2024-04-17 18:40:35 +02:00

README.md

Translate - with Weblate OpenCollective Build Status

Tusky

Tusky is a beautiful Android client for Mastodon. Mastodon is an ActivityPub federated social network. That means no single entity controls the whole network, rather, like e-mail, volunteers and organisations operate their own independent servers, users from which can all interact with each other seamlessly.

Get it on F-Droid Get it on Google Play

Features

  • Material Design
  • Most Mastodon APIs implemented
  • Multi-Account support
  • Dark, light and black themes with the possibility to auto-switch based on the time of day
  • Drafts - compose posts and save them for later
  • Choose between different emoji styles
  • Optimized for all screen sizes
  • Completely open-source - no non-free dependencies like Google services

Testing

The nightly build containing the newest development code is available on Google Play.

Support

Check out our FAQs, your question may already be answered. If you have any bug reports, feature requests or questions please open an issue or send us a message at Tusky@mastodon.social!

Contributing

We always welcome new contributors! Please read our contribution guide to get started.

Development chatroom

https://matrix.to/#/#Tusky:matrix.org