Flutter shared preferences doesn't work on production

Works on debug but on producction release dosnt work. do i need to add any permitions?

No no, I have used shared preferences before and it does work well on Production too without any additional permissions.

1 Like

Hello, i fixed by changing initState thanks.