Closed sshivananda closed 3 years ago
To resolve this issue @sshivananda @jlee0831 @SimenB @chicrock @benwiebe
STEP 1 Goto yourAppFolder/node_modules\react-native-ratings\dist\SwipeRating.js replace line 5 -8 with the code below
const STAR_IMAGE = require("../src/images/star.png");
const HEART_IMAGE = require("../src/images/heart.png");
const ROCKET_IMAGE = require("../src/images/rocket.png");
const BELL_IMAGE = require("../src/images/bell.png");
STEP 2 Goto yourAppFolder/node_modules\react-native-ratings\dist\components\Star.js replace line 3 -4 with the code below
const STAR_IMAGE = require("../../src/images/airbnb-star.png");
const STAR_SELECTED_IMAGE = require("../../src/images/airbnb-star-selected.png");
Problem solved.
This issue should be fixed soon
I will have a look at this @sshivananda Can you explain the steps to reproduce?
I will have a look at this @sshivananda Can you explain the steps to reproduce?
yarn add react-native-ratings
import it and you got the error
Just tried with 8.0.2 release, with cleaned folders (node_modules / android build), the bug is still here.
@MBach can you try with v8.0.3 - I think it was an issue with the way the package was published : I republished it again
Seems fine with v8.0.3!
Introduced in 8.0.1