jasonmerino / react-native-simple-store

A minimalistic wrapper around React Native's AsyncStorage.

Home Page:https://www.npmjs.com/package/react-native-simple-store

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Does not work with react native 0.59.4

rauwork opened this issue · comments

update my project to 0.59.4 and now fails

That's because asyncstorage is no longer a part of the core react-native. This was announced in the app as a yellowbox warning. You can see here. You may have to install this package to get it working.

Hey everyone.

Sorry for the delay here. This has been on my radar and it looks like the time to fix this is here. I'm pretty slammed right now, would any of you be able to put together a PR with the changes needed. From what I can see, all that's needed is to change where we import AsyncStorage from in the index file here and update/add peer dependencies in the package.json so when installing it will complain if you try and install the current version with a new version of React Native. Also, some documentation about which version of simple store works with which version of React Native would be good to add to the README.

If no one can get to this right away I can try and carve out some time in the next month or so.

If no one else already started, I can make the necessary changes tomorrow :)

I am slammed at work, may have some time over the weekend to get this looked at and sorted @oas but otherwise go ahead pal.

warning async storage has been extracted from react-native core

Capture d’écran 2019-05-02 à 18 49 54

I am leaving you guys,

https://www.npmjs.com/package/@react-native-community/async-storage

See you ;)

Eu sou golpeado no trabalho, pode ter algum tempo no fim de semana para obter este olhado e classificado @oas mas caso contrário vá em frente amigo.

I find this package very simple and efficient. It will be perfect if they manage to 0.59.4
I even recommended it to other friends

Hey everyone.

Sorry for the delay here. This has been on my radar and it looks like the time to fix this is here. I'm pretty slammed right now, would any of you be able to put together a PR with the changes needed. From what I can see, all that's needed is to change where we import AsyncStorage from in the index file here and update/add peer dependencies in the package.json so when installing it will complain if you try and install the current version with a new version of React Native. Also, some documentation about which version of simple store works with which version of React Native would be good to add to the README.

If no one can get to this right away I can try and carve out some time in the next month or so.

I find this package very simple and efficient. It will be perfect if they manage to 0.59.4
I even recommended it to other friends

Version 2.0.0 has been released. This was resolved by #55.