react-native-skeleton-content
react-native-skeleton-content copied to clipboard
Expo SDK 45
Describe the bug This package throws an error when using with Expo SDK 45.
To Reproduce Steps to reproduce the behavior:
- Import package in a project using Expo SDK 45
- Render component
- See error
Expected behavior This should be compatible with Expo SDK 45.
Error
Error: Requiring module "node_modules/react-native-skeleton-content/lib/index.js", which threw an exception: TypeError: undefined is not an object (evaluating 'NativeUnimoduleProxy.viewManagersNames.includes')
Smartphone (please complete the following information):
- Device: Iphone 12
- OS: iOS 14
- Package version 1.0.24
You can use this https://www.npmjs.com/package/@03balogun/react-native-skeleton-content pending the time the issue is resolved.
Same issue
should we still use the forked @03balogun/react-native-skeleton-content for now, or there is a fix for the official version?
@appsgenie I ended up using react-native-skeleton-content-nonexpo. That I got to work!
@appsgenie I ended up using react-native-skeleton-content-nonexpo. That I got to work!
oh thanks @alexanderwassbjer, that's an official version being maintained? don't see as many commits to it so wondering if it's good for long-term
use this skeleton and thnx me... npm i react-native-loading-placeholder
@03balogun could you write a PR to update this package? I can't reproduce your code changes so that it works with Expo 45!