File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -44,8 +44,10 @@ Pod::Spec.new do |s|
44
44
45
45
s . dependency 'Firebase/AnalyticsWithoutAdIdSupport' , firebase_sdk_version
46
46
else
47
- Pod ::UI . puts "#{ s . name } : Using default Firebase/Analytics with Ad Ids. May require App Tracking Transparency. Not allowed for Kids apps."
48
- Pod ::UI . puts "#{ s . name } : You may set variable `$RNFirebaseAnalyticsWithoutAdIdSupport=true` in Podfile to use analytics without ad ids."
47
+ if !defined? ( $RNFirebaseAnalyticsWithoutAdIdSupport)
48
+ Pod ::UI . puts "#{ s . name } : Using default Firebase/Analytics with Ad Ids. May require App Tracking Transparency. Not allowed for Kids apps."
49
+ Pod ::UI . puts "#{ s . name } : You may set variable `$RNFirebaseAnalyticsWithoutAdIdSupport=true` in Podfile to use analytics without ad ids."
50
+ end
49
51
s . dependency 'Firebase/Analytics' , firebase_sdk_version
50
52
end
51
53
You can’t perform that action at this time.
0 commit comments