-
Notifications
You must be signed in to change notification settings - Fork 293
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
base: master
Are you sure you want to change the base?
Conversation
It is not needed and sometimes annoying too...
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+
Refactor to use Android native log instead of cat library to keep the app as pure as possible.
There was a problem hiding this 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.
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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 :)
Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent.