Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@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.
See Google Play Services documentation for advertisingId
setup
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.
The npm package @segment/analytics-react-native-plugin-advertising-id receives a total of 3,274 weekly downloads. As such, @segment/analytics-react-native-plugin-advertising-id popularity was classified as popular.
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.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
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.