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

[#234] Add secure local storage #253

Merged
merged 4 commits into from
Aug 31, 2023
Merged

Conversation

nmint8m
Copy link
Contributor

@nmint8m nmint8m commented Jul 31, 2023

What happened 👀

In this PR I added flutter_secure_storage library to manage the local storage. I also created an example base storage to store and get the access token.

Insight 📝

I added the flutter_secure_storage library. I create a singleton SecureStorage for managing local storage. Besides, I added 1 variable to get the access token, 1 function to store the access token and 1 function for clearing all stored data.

Proof Of Work 📹

N/A

@nmint8m nmint8m added this to the 1.12.0 milestone Jul 31, 2023
@nmint8m nmint8m self-assigned this Jul 31, 2023
@nmint8m nmint8m changed the title [234] Add flutter_secure_storage library [234] Add secure local storage Jul 31, 2023
@nmint8m nmint8m linked an issue Aug 2, 2023 that may be closed by this pull request
@luongvo luongvo changed the title [234] Add secure local storage [#234] Add secure local storage Aug 4, 2023
@luongvo
Copy link
Member

luongvo commented Aug 4, 2023

@nmint8m is this PR ready for review, please? 👋

Copy link
Contributor

@doannimble doannimble left a comment

Choose a reason for hiding this comment

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

lgtm 🚀

Copy link
Member

@luongvo luongvo left a comment

Choose a reason for hiding this comment

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

@nmint8m As we're adding a new feature to the template, could you please help adding a new update in the feature listing from the README?

...
- Networking with [dio](https://pub.dev/packages/dio) and [retrofit](https://pub.dev/packages/retrofit), JSON serializing with [json_serializable](https://pub.dev/packages/json_serializable).
- Integrated local [secure storage](https://pub.dev/packages/flutter_secure_storage).
- [Localization](https://docs.flutter.dev/accessibility-and-localization/internationalization) integrated in [3 initial languages](bricks/template/__brick__/%7B%7Bproject_name.snakeCase()%7D%7D/lib/l10n).
...

Copy link
Contributor

@manh-t manh-t left a comment

Choose a reason for hiding this comment

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

Only @luongvo 's comments. 👍

@luongvo luongvo modified the milestones: 1.12.0, 1.11.0 Aug 30, 2023
@luongvo luongvo merged commit fd225ca into develop Aug 31, 2023
@luongvo luongvo deleted the feature/234-secure-storage branch August 31, 2023 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add secure local storage
6 participants