danilowoz / danilowoz/react-content-loader
Attempt to invoke virtual method double java.lang.double.doublevalue() on a null object reference
- Dominant language
- TypeScript
- Stars
- 14k
- Forks
- 421
- PR merge metrics
- No merged PRs in 30d
Description
## What did you do?
I just created this component
```js
import React from 'react';
import ContentLoader, { Rect } from 'react-content-loader/native';
export default function RectLoader() {
return (
);
}
```
and it doesn't matter where I call it, anyway I am getting the error. Also tried to show default `` and got the same error
## What happened actually?

I don't get the error just using `npm run android` of expo. I've noticed that ready .apk built doesn't work at all and doesn't show any error. To see the error I use `expo prebuild -p android` and then `npx react-native run-android`
### Which versions of react-content-loader, and which browser are affected by this issue?
```json
"dependencies": {
"@ptomasroos/react-native-multi-slider": "^2.2.2",
"@react-navigation/bottom-tabs": "^6.5.0",
"@react-navigation/native": "^6.1.0",
"@react-navigation/stack": "^6.3.8",
"axios": "^1.2.1",
"dateformat": "^5.0.3",
"expo": "~47.0.12",
"expo-font": "~11.0.1",
"expo-splash-screen": "~0.17.5",
"expo-status-bar": "~1.4.2",
"expo-web-browser": "~12.0.0",
"i18next": "^22.4.8",
"nativewind": "^2.0.11",
"react": "18.1.0",
"react-content-loader": "^6.2.0",
"react-i18next": "^12.1.1",
"react-native": "0.70.5",
"react-native-animatable": "^1.3.3",
"react-native-calendars": "^1.1292.0",
"react-native-gesture-handler": "~2.8.0",
"react-native-maps": "1.3.2",
"react-native-safe-area-context": "4.4.1",
"react-native-screens": "~3.18.0",
"react-native-svg": "13.4.0",
"react-native-toast-message": "^2.1.5",
"rn-range-slider": "^2.2.2"
},
"devDependencies": {
"@babel/core": "^7.12.9",
"babel-plugin-module-resolver": "^4.1.0",
"prettier": "^2.8.0",
"react-native-dotenv": "^3.4.2",
"tailwindcss": "^3.2.4"
},
```

Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.