
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
launchdarkly-react-native-client
Advanced tools
launchdarkly-react-native-client ================================
This software is a beta version and should not be considered ready for production use until tagged at least 1.0
$ npm install launchdarkly-react-native-client --save
$ react-native link launchdarkly-react-native-client
import LDClient from 'launchdarkly-react-native-client';
async componentDidMount() {
try {
let client = new LDClient();
let clientConfig =
{ "mobileKey": "YOUR_MOBILE_KEY",
"stream": true,
"offline": false
};
let userConfig = { "key": "user_key" };
await client.configure(clientConfig, userConfig);
this.setState({ldClient: client});
let res = await this.state.ldClient.stringVariation("MY_STRING_FLAG_KEY", "");
Alert.alert('LD Server Response', String(res));
} catch(err) {
console.error(err);
}
}
Check out our documentation for in-depth instructions on configuring and using LaunchDarkly. You can also head straight to the complete reference guide for this SDK.
We run integration tests for all our SDKs using a centralized test harness. This approach gives us the ability to test for consistency across SDKs, as well as test networking behavior in a long-running application. These tests cover each method in the SDK, and verify that event sending, flag evaluation, stream reconnection, and other aspects of the SDK all behave correctly.
We encourage pull-requests and other contributions from the community. We've also published an SDK contributor's guide that provides a detailed explanation of how our SDKs work.
FAQs
launchdarkly-react-native-client ================================
The npm package launchdarkly-react-native-client receives a total of 50 weekly downloads. As such, launchdarkly-react-native-client popularity was classified as not popular.
We found that launchdarkly-react-native-client demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.