mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-02-07 22:42:13 +08:00
- [ReactNative] Oss ActionSheet | Tadeu Zagallo - [ReactNative] Fix ScrollView.scrollTo() | Christopher Chedeau - [catalyst|madman] fix location observer | Jiajie Zhu - [ReactNative] Remove keyboardDismissMode from static | Christopher Chedeau - [ReactNative] Fix RCTMapManager retaining cycle | Tadeu Zagallo - [ReactNative] Support loading sourcemaps from sourceMappingURL | Alex Kotliarskyi - [catalyst] set up directory specific rql transform | Bhuwan Khattar - [React Native] Add .done() to terminate promise chains | Ben Alpert - [React Native] add support for reading tracking bit | Owen Coutts
19 lines
444 B
JavaScript
19 lines
444 B
JavaScript
/**
|
|
* Copyright 2004-present Facebook. All Rights Reserved.
|
|
*
|
|
* @providesModule AdSupportIOS
|
|
*/
|
|
'use strict';
|
|
|
|
var AdSupport = require('NativeModules').RCTAdSupport;
|
|
|
|
module.exports = {
|
|
getAdvertisingId: function(onSuccess, onFailure) {
|
|
AdSupport.getAdvertisingId(onSuccess, onFailure);
|
|
},
|
|
|
|
getAdvertisingTrackingEnabled: function(onSuccess, onFailure) {
|
|
AdSupport.getAdvertisingTrackingEnabled(onSuccess, onFailure);
|
|
},
|
|
};
|