Research
Security News
Malicious PyPI Package ‘pycord-self’ Targets Discord Developers with Token Theft and Backdoor Exploit
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
@segment/analytics-react-native-plugin-advertising-id
Advanced tools
The hassle-free way to add Segment analytics to your React-Native app.
EnrichmentPlugin
to collect advertisingId on Android
Add the package
yarn add @segment/analytics-react-native-plugin-advertising-id
This plugin requires a compileSdkVersion
of at least 19.
Follow the instructions for adding plugins on the main Analytics client:
In your code where you initialize the Analytics client call the .add(plugin)
method with an AdvertisingId
instance
import { createClient } from '@segment/analytics-react-native';
import { AdvertisingIdPlugin } from '@segment/analytics-react-native-plugin-advertising-id';
const segmentClient = createClient({
writeKey: 'SEGMENT_KEY'
});
//...
segmentClient.add({ plugin: new AdvertisingIdPlugin() });
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
FAQs
The hassle-free way to add Segment analytics to your React-Native app.
We found that @segment/analytics-react-native-plugin-advertising-id demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 292 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
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.
Security News
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.