You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/analytics/usage/index.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -157,6 +157,18 @@ of your app handle data in a way that requires ATT)
157
157
158
158
Note that for obvious reasons, configuring Firebase Analytics for use without IDFA is incompatible with AdMob
159
159
160
+
# Device Identification
161
+
162
+
If you would like to enable Firebase Analytics to generate automatic audience metrics for iOS (as it does by default in Android), you must link additional iOS libraries, [as documented by the Google Firebase team](https://support.google.com/firebase/answer/6318039). Specifically you need to link in `AdSupport.framework`.
163
+
164
+
The way to do this using CocoaPods is to add this variable to your `Podfile` so `@react-native-firebase/analytics` will link it in for you:
165
+
166
+
```ruby
167
+
$RNFirebaseAnalyticsEnableAdSupport=true
168
+
```
169
+
170
+
Note: this is setting will have no effect if you disabled Ad IDs as described above, since this setting is specifically linking in the `AdSupport` framework which requires the Ad IDs.
Copy file name to clipboardExpand all lines: docs/analytics/usage/installation/ios.md
+2-17Lines changed: 2 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,27 +25,12 @@ end
25
25
You may need to update your local Pods in order for the `RNFBAnalytics` Pod to be installed in your project:
26
26
27
27
```bash
28
-
$ cd ios/
29
-
$ pod install --repo-update
28
+
cd ios/
29
+
pod install --repo-update
30
30
```
31
31
32
32
Once the Pods have installed locally, rebuild your iOS project:
33
33
34
34
```bash
35
35
npx react-native run-ios
36
36
```
37
-
38
-
# Device Identification
39
-
40
-
If you would like to enable Firebase Analytics to generate automatic audience metrics for iOS (as it does by default in Android), you must link additional iOS libraries, [as documented by the Google Firebase team](https://support.google.com/firebase/answer/6318039). Specifically you need `libAdIdAccess.a` and `AdSupport.framework`.
41
-
42
-
The way to do this using CocoaPods is to add this to your `Podfile` (though please use [the most current Pod version](https://cocoapods.org/pods/GoogleIDFASupport) supported by React Native Firebase):
43
-
44
-
```ruby
45
-
# ...
46
-
target 'app'do
47
-
# ...
48
-
pod 'RNFBAnalytics', :path => '../node_modules/@react-native-firebase/analytics'
0 commit comments