Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
@datadog/mobile-react-native-code-push
Advanced tools
A client-side React Native module to interact with Appcenter Codepush and Datadog
This package is an integration for the react-native-code-push
library. Before using it, install and setup the core mobile-react-native
SDK.
To install with NPM, run:
npm install @datadog/mobile-react-native-code-push
To install with Yarn, run:
yarn add @datadog/mobile-react-native-code-push
To initialize the Datadog React Native SDK for RUM, use DatadogCodepush.initialize
instead of DdSdkReactNative.initialize
:
import { DdSdkReactNativeConfiguration } from '@datadog/mobile-react-native';
import { DatadogCodepush } from '@datadog/mobile-react-native-code-push';
const config = new DdSdkReactNativeConfiguration(
'<CLIENT_TOKEN>',
'<ENVIRONMENT_NAME>',
'<RUM_APPLICATION_ID>',
true, // track user interactions (such as a tap on buttons). You can use the 'accessibilityLabel' element property to give the tap action a name, otherwise the element type is reported
true, // track XHR resources
true // track errors
);
await DatadogCodepush.initialize(config);
This method sets your reported version to the same value as the one the datadog-ci react-native codepush
command uses when uploading your CodePush bundle and source maps.
@datadog/mobile-react-native-code-push
If you use datadog-ci react-native upload
to upload your CodePush bundle and source maps with a different format for the version, you can override the reported version in the SDK configuration object by using either:
versionSuffix
(recommended) to add a suffix to the commercial version of your appversion
to completely override the versionFAQs
A client-side React Native module to interact with Appcenter Codepush and Datadog
The npm package @datadog/mobile-react-native-code-push receives a total of 1,969 weekly downloads. As such, @datadog/mobile-react-native-code-push popularity was classified as popular.
We found that @datadog/mobile-react-native-code-push demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.