You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/java/io/cryptolens/methods/Helpers.java
+19-4Lines changed: 19 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -205,9 +205,8 @@ public class MyClass<T>
205
205
}
206
206
207
207
/**
208
-
* <p>Uses the notes field to determine if a certain feature exists (instead of the 8 feature flags).</p>
209
-
* <p><strong>Formatting: </strong> The notes field needs to be formatted as a JSON array of strings or of JSON arrays
210
-
* where the first element specifies the feature name and the second element is a list of features.</p>
208
+
* <p>Uses a special data object associated with the license key to determine if a certain feature exists (instead of the 8 feature flags).</p>
209
+
* <p><strong>Formatting: </strong> The name of the data object should be 'cryptolens_features' and it should be structured as a JSON array.</p>
211
210
* <p>For example,</p> <pre>["f1", "f2"]</pre><p>means f1 and f2 are true. You can also have feature bundling, eg. </p> <pre>["f1", ["f2",["voice","image"]]]</pre>
212
211
* <p>which means that f1 and f2 are true, as well as f2.limited and f2.image. You can set any depth, eg. you can have</p>
213
212
* <pre>["f1", ["f2",[["voice",["all"]], "image"]]]</pre> <p>means f2.voice.all is true as well as f2.voice and f2.
0 commit comments