Open in app
Laerti Papa
62 Followers
About

Sign in

62 Followers
About
Open in app
How to persist data using shared preferences in flutter
130
4

Parth Jansari

Laerti Papa

Laerti Papa

Sep 22, 2018·1 min read

Hi thanks for the article.

Is it a good idea to store an API token (to authenticate the user to the backend) in SharedPreferences? What would be the best place to store it?

Thanks in advance.

Written by

Laerti Papa

More from Laerti Papa

More From Medium

Repository pattern in Ruby I: Decoupling ActiveRecord and persistence

Laerti Papa

Valid vs NOT valid objects?

Laerti Papa

Decouple object interaction with a ‘Mediator’ like pattern in Ruby

Laerti Papa in ITNEXT

I Almost Got Fired for Choosing React in Our Enterprise App

Razvan Dragomir in Better Programming

15 Signs You’ll Be Financially Free in the Next 5 Years

Tim Denning in The Ascent

What 4 Years of Dining With Trump Supporters Taught Me About Polarization

Philippa Hughes in GEN

12 Things to Do Instead of Picking Up Your Phone

Paul Greenberg in Forge

35 unforgettable images that capture Trump’s wild and bitter presidency

Business Insider in Business Insider

About

Help

Legal

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store