-
Notifications
You must be signed in to change notification settings - Fork 260
After Installing Error : _reactNative.AsyncStorage.getItem(..).then(..).done is not a function #173
Comments
This seems to have nothing to do with this library. When you say "latest" for react-native version, what version is that specifically? Are you able to build/run the included example app just fine? If so, do you want to compare how you are setup with your own app and compare it to the example app that works fine? |
I have the same issue. I wasn't able to run the example app either. Is this library compatible with react native v0.49.2? |
@nilaybrahmbhatt found the problem just remove the |
I believe this actually is an issue with I think it's related to the babel-polyfill introduced in #85, looking at the docs I'm guessing that babel-polyfill overrides the react native global promise object with its own. This seems related to #195 and #202. Looking at #62, would it be possible to just include a polyfill for the missing |
It looks like an alternative solution to #62 might be:
Note that the other issues linked to in that comment have been fixed in facebook/react-native@165b38a. |
Thank you very much @phillbaker - your feedback/solution was very helpful in addressing this issue. I'll try to get #211 merged in and published to npm in the next 2-3 days. |
Thanks, beat me to a PR :)!
…On Sun, Nov 26, 2017 at 4:05 AM Bret Marzolf ***@***.***> wrote:
Thank you very much @phillbaker <https://github.com/phillbaker> - your
feedback/solution was very helpful in addressing this issue. I'll try to
get #211
<#211>
merged in and published to npm in the next 2-3 days.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#173 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAFxKbVFZrjJpU5c1MTW73evs0BQknVZks5s6SnxgaJpZM4OY_jK>
.
|
Closing now that #211 has been merged into master |
hi,
after installing and link this , i got AsyncStorage error,
_reactNative.AsyncStorage.getItem(..).then(..).done is not a function
React-native version : latest
The text was updated successfully, but these errors were encountered: