#AppSettings

Robert ๐Ÿ‡ฎ๐Ÿ‡ฉ๐Ÿ‡ฎ๐Ÿ‡ท๐Ÿ‡จ๐Ÿ‡ญrobertnicjoo@techhub.social
2025-05-13

๐Ÿš€ New Package Released on Pub.dev: app_settings_checker ๐Ÿš€

We're excited to share that our new Flutter package, app_settings_checker, is now live on Pub.dev! ๐ŸŽ‰

This package allows you to easily manage and interact with system settings on Android and iOS, making it simple to:

๐Ÿ”‹ Check and manage battery optimization settings
๐Ÿ“ Check and manage location settings
๐Ÿ”” Check and manage notification settings
โš™๏ธ Access app-specific settings
๐Ÿ“ฑ Retrieve device information like model and ID

๐Ÿ’ป Key Features:
โœ… Easily open battery optimization, notification, and location settings
โœ… Check if battery optimization is disabled
โœ… Retrieve app version and device info

Check it out here: app_settings_checker on Pub.dev

pub.dev/packages/app_settings_

Happy coding! ๐Ÿš€

#Flutter #AppDevelopment #FlutterDev #FlutterPackage #MobileDevelopment #OpenSource #AppSettings #BatteryOptimization #iOS #Android

๐Ÿ’พ Paweล‚ ลukasikpawel_lukasik@infosec.exchange
2024-02-08

Today's tip that I should start this mini-series with๐ŸŽฏ.

The last two days it was about using different providers instead of the default one. But using (or I should write adding) different provider does not mean ditching the old one. We can add many of them and settings will be merged together. The order is important though. We will get different setting value if we register them in different order (assuming they all have it defined).

The last registered provider's value will win. See the following example ๐Ÿ‘‡

Docs ๐Ÿ“‘: learn.microsoft.com/en-us/dotn

#dotnet #appsettings #providers

๐Ÿ’พ Paweล‚ ลukasikpawel_lukasik@infosec.exchange
2024-02-07

Today's tip will be helpful if you need to avoid relying on external sources for configuration.

Files are good for storing the values for production needs but are not the best if we need to read those in our integration tests.
External dependency in best scenario will be slow and in worst one it could lead to errors โŒ in tests that would not be problems in the logic that we test.

In such scenario Memory provider is useful. We can initialize it with a collection of KeyValuePair-s and we are good to go โœ….

See the attached example ๐Ÿ‘‡.

Docs: learn.microsoft.com/en-us/aspn

#dotnet #configuration #appsettings

๐Ÿ’พ Paweล‚ ลukasikpawel_lukasik@infosec.exchange
2024-02-06

appsettings.json is a standard file that holds application configuration but it's not the only one. There are multiple providers and one of them allows to have configuration per file?

To enable it use builder.Configuration.AddKeyPerFile(Directory.GetCurrentDirectory()); and make sure the files names are the same as your configuration sections. If needed replace ':' with double '_'.

See the attached example ๐Ÿ‘‡.

Docs: learn.microsoft.com/en-us/aspn

#dotnet #configuration #appsettings

Jeremy (ื™ืขืงื‘) ๐Ÿ‡บ๐Ÿ‡ฆimstilljeremy@babka.social
2022-11-27

A good #QualityOfLife #tip I have on here is going to #AppSettings, then #CollapsedToots and checking the boxes for Media, Replies, Lengthy, and Notifications.

It makes browsing your #Home and #Local #TimeLines so much easier.

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst