I'm setting up the client on my React Native project
let client = new LDClient();
let config = { "mobileKey": "YOUR_MOBILE_KEY" };
let user = { "key": "user_key" }; // where do I find this info?
await client.configure(config, user);
I'm currently getting as a return value to this {"_U": 0, "_V": 0, "_W": null, "_X": null}
assuming that's because of the missing user_key
.
Where can I find my user_key
?
I believe you got the
user_key
from launchDarkly or you can check it in their API documentation on how to get theuser_key
As for the problem where you get
{"_U": 0, "_V": 0, "_W": null, "_X": null}
, this is what you get when you logPromise
before it resolve.