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
storage.getItem is not a function (it is undefined) - RN 0.73.4 #1468
Comments
Nader-CS
changed the title
storage.getItem is not a function (it is undefined)
storage.getItem is not a function (it is undefined) - RN 0.73.4
Feb 21, 2024
solution : removing package and re-installing it again solved the problem ! |
@Nader-CS you can close the issue if it is solved for you |
I just made my own Here's an example if you need it (TypeScript + Web): const storage: Storage = {
async getItem(key) {
return localStorage.getItem(key);
},
async setItem(key, value: string) {
return localStorage.setItem(key, value);
},
async removeItem(key) {
return localStorage.removeItem(key);
},
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
package.json
The text was updated successfully, but these errors were encountered: