File tree Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Original file line number Diff line number Diff line change @@ -132,27 +132,6 @@ name = [LPVar define:[@#name stringByReplacingOccurrencesOfString:@"_" withStrin
132132}
133133/* *@}*/
134134
135- /* *
136- * Use this code in development mode (or in production), to use the advertising ID.
137- * It's useful in development mode so that we remember your device even if you reinstall your app.
138- * Since it's a MACRO, this won't get compiled into your app in production, and will be safe
139- * to submit to Apple.
140- */
141- #define LEANPLUM_USE_ADVERTISING_ID \
142- _Pragma (" clang diagnostic push" ) \
143- _Pragma(" clang diagnostic ignored \" -Warc-performSelector-leaks\" " ) \
144- id LeanplumIdentifierManager = [NSClassFromString(@" ASIdentifierManager" ) \
145- performSelector:NSSelectorFromString(@" sharedManager" )]; \
146- if (floor(NSFoundationVersionNumber ) <= 1299 /* NSFoundationVersionNumber_iOS_9_x_Max */ || \
147- [LeanplumIdentifierManager performSelector: \
148- NSSelectorFromString (@" isAdvertisingTrackingEnabled" )]) { \
149- /* < iOS10 || isAdvertisingTrackingEnabled */ \
150- [Leanplum setDeviceId: [[LeanplumIdentifierManager performSelector: \
151- NSSelectorFromString (@" advertisingIdentifier" )] \
152- performSelector: NSSelectorFromString (@" UUIDString" )]]; \
153- } \
154- _Pragma (" clang diagnostic pop" )
155-
156135@class LPActionContext;
157136@class SKPaymentTransaction;
158137@class NSExtensionContext ;
You can’t perform that action at this time.
0 commit comments