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
Need integration for a package which can be installed and used by developers.
Requires an init function to load the darklaunch codes from server, as well as bind the unique ID to use for user based dark launching. If uniqueID is not given, then the server will be responsible for keeping track of these users for their session (See #3)
Darklaunch.init(uniqueID)
Additionally require something along the lines of
if (Darklaunch.flag(code)) {
// Has access to the darklaunched feature
} else {
// No access to darklaunch.
}
flag(code) will check the darklaunch bundle in the store (Grabbed on init) and perform the series of operations required to determine if they're eligible to darklaunch. This step will only consist of lookup in the Darklaunch Store, which should get initiated when we call Darklaunch.init().
This integration package will only make requests to the /darklaunch_bundle endpoint (During init). This info will be cached and used for Darklaunch.flag(code) calls. This endpoint will require no authentication, unlike the any of the endpoints which deal with code creation or deletion.
The text was updated successfully, but these errors were encountered:
Need integration for a package which can be installed and used by developers.
Requires an init function to load the darklaunch codes from server, as well as bind the unique ID to use for user based dark launching. If uniqueID is not given, then the server will be responsible for keeping track of these users for their session (See #3)
Additionally require something along the lines of
flag(code) will check the darklaunch bundle in the store (Grabbed on init) and perform the series of operations required to determine if they're eligible to darklaunch. This step will only consist of lookup in the Darklaunch Store, which should get initiated when we call Darklaunch.init().
This integration package will only make requests to the /darklaunch_bundle endpoint (During init). This info will be cached and used for Darklaunch.flag(code) calls. This endpoint will require no authentication, unlike the any of the endpoints which deal with code creation or deletion.
The text was updated successfully, but these errors were encountered: