AdSupportIOS

AdSupportIOS

AdSupport provides access to the "advertising identifier". If you link this library in your project, you may need to justify your use for this identifier when submitting your application to the App Store.

In order to use AdSupport in your project, you must link the RCTAdSupport library. In Xcode, you can manually add the RCTAdSupport.m and RCTAdSupport.h files from node_modules/react-native/Libraries/AdSupport/ to the Libraries/React/Base/ folder of your current project.

You can refer to Linking for help.

Methods

static getAdvertisingId(onSuccess, onFailure)

static getAdvertisingTrackingEnabled(onSuccess, onFailure)

© 2015–2017 Facebook Inc.
Licensed under the Creative Commons Attribution 4.0 International Public License.
https://facebook.github.io/react-native/docs/adsupportios.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部