This message was deleted.
# ask-questions
w
This message was deleted.
a
Hello, Albert! Thank you for reporting. We'll check it.
šŸ™ 1
l
here's myFeature partial json
Copy code
"myFeature": {
    "defaultValue": true,
    "rules": [
      {
        "variations": [
          false,
          true
        ],
        "coverage": 1,
        "weights": [
          0.5,
          0.5
        ],
        "hashAttribute": "deviceId"
      },
      {
        "condition": {
          "deviceId": "test-myFeature-forced-on"
        },
        "force": true
      }
    ]
  }
In the code i just • add the deviceId attribute with
test-myFeature-forced-on
• isOn("myFeature")
a
There really was a trouble with
isOn()
method. We had fixed the bug in
issues/81
branch. We created a snapshot from this branch. Could you please try the snapshot? https://jitpack.io/#growthbook/growthbook-sdk-java/issues~81-SNAPSHOT
Copy code
<dependency>
	    <groupId>com.github.growthbook</groupId>
	    <artifactId>growthbook-sdk-java</artifactId>
	    <version>issues~81-SNAPSHOT</version>
	</dependency>
l
hey thanks, but i'm encountering this ..
Copy code
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project experimentation-be: Could not resolve dependencies for project com.codapayments:experimentation-be:jar:1.8.0: The following artifacts could not be resolved: com.github.growthbook:growthbook-sdk-java:jar:issues~81-SNAPSHOT (absent): Could not find artifact com.github.growthbook:growthbook-sdk-java:jar:issues~81-SNAPSHOT in <http://jitpack.io|jitpack.io> (<https://jitpack.io>)
I tried rerunning with
mvn -U -X clean test
.. and still the same error
a
we just restored
issues/81
branch. Can you please try now?
l
• Yay, that solved the problem ! šŸŽ‰ • Super thanks @ancient-car-96302 šŸ™ • Do you mind spilling out when this fix will be released ?
a
We plan to release when this pull request will be merged
0.9.8
version is available on Jitpack
šŸŽ‰ 1
l
That was swift, super thanks @ancient-car-96302 and team !
151 Views