xaldarof / encrypted-shared-preferences

Perfect for developers prioritizing security, Encrypted Shared Preferences integrates effortlessly into your projects, offering peace of mind and enhancing data privacy. Safeguard your app's data with this essential encryption solution
Apache License 2.0
12 stars 2 forks source link

It is fine if getString function not using async await? #8

Closed gopelkujo closed 3 months ago

gopelkujo commented 3 months ago

Since the getString function type is Future<String>, it is fine if we call getString without await? Because i've seen in the example code at pub dev call getString function without await. (only setter that use await)

xaldarof commented 3 months ago

Hello, thank you for your contribution. Could you show me where you see getString with a Future return result? image

gopelkujo commented 3 months ago

Hey! thanks for your response.

After i did a double check, my package is different with this package. Mine is encrypted_shared_preferences the discontinued one. Since i continuing a project by someone else before, I made a mistake because I identified the package incorrectly.

Sorry for this misunderstood. Migrating to this package asap.

Thanks for your work, hope i can contribute more in this project✨

xaldarof commented 3 months ago

Wish you the best!