Hi guys. i am sending attributes from our mobile a...
# ask-questions
s
Hi guys. i am sending attributes from our mobile app
Copy code
{
  "id": "123",
  " platform": "ios",
  "version": "2.0.2"
}
and i added a force rule = true, with filter
Copy code
{
  "version": "2.0.2"
}
but when i tried to check from the backend if the feature is enable, it returns false.
Copy code
const userContext = {
    attributes: {
      id: "123",
    },
  };

  const isEnabled = gbClient.isOn(
    "feature1",
    userContext
  );
any idea what's wrong? thank you
f
did you set the string up for semantic versioning?
What SDK are you using?
s
the Semantic Version Targeting is just to compare the version if it is greater than? does will affect our current version with string type if we change it to version string?
we are using "@growthbook/growthbook": "^1.5.1",
and "@growthbook/growthbook-react": "^1.3.1",