Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notification, Gradle, Intent and more refactoring & updates #184

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

eakteam
Copy link

@eakteam eakteam commented Mar 16, 2023

Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent.

@eakteam eakteam changed the title Ading flag IMMUTABLE to Pending Intent and Updating to build with API level 33 Ading flag IMMUTABLE to Pending Intent and Updating build.gradle to API level 33 Mar 16, 2023
It is not needed and sometimes annoying too...
@eakteam eakteam changed the title Ading flag IMMUTABLE to Pending Intent and Updating build.gradle to API level 33 Notification, Gradle and Intent updates Mar 28, 2023
When the app first start writing external storage is null and most of the users start the service without setting it up.

This results on starting the service and after connecting via FTP client nothing is shown on the file tree. So better to notify them when using Android 11+
@eakteam eakteam changed the title Notification, Gradle and Intent updates Notification, Gradle, Intent and more refactoring & updates Mar 28, 2023
eakteam added 2 commits March 29, 2023 00:13
Refactor to use Android native log instead of cat library to keep the app as pure as possible.
Copy link
Owner

@ppareit ppareit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I understand you. But I'm so used to Cat. Is it really a big problem?

If we make this change, we need to use a static String TAG for each class. I also don't like that.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is correct.

Wish I would have seen this earlier.

The onCreate has just been changed in a little different way. Instead of asking the user to press the hidden option, the app now opens the Scoped storage chooser itself. Does this work for you?

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can actually remove the check too if wanted. The intent of use was its seen in a bad state but technically could just leave that for the user to deal without the extra helpful smoothing out of it :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants