0.2.3 • Published 6 months ago

react-native-ad-id v0.2.3

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

react-native-ad-id

A React Native module for accessing device advertising IDs with support for iOS and Android platforms.

Installation

npm install react-native-ad-id

It should autolink for android. You can then navigate to your iOS folder and do

pod install

Usage

import { getAdvertisingId } from 'react-native-ad-id'

// ...

try {
    const { advertisingId, isLimitAdTrackingEnabled } = await getAdvertisingId()
} catch (error) {
    console.log('Unable to get advertising Id', error)
}

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT


Made with create-react-native-library

0.2.3

6 months ago

0.2.2

6 months ago

0.2.1

6 months ago

0.2.0

6 months ago

0.1.0

6 months ago