Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Audience error while using firebase analytics on ios

I built an iOS app that uses Google Analytics for Firebase to track user properties and events.

When enabling the firebase logging, I get the following error:

5.1.0 - [Firebase/Analytics][I-ACS006009] Audience definition is invalid. Audience will not be saved. Audience, error: , Error Domain=com.google.gmp.measurement.ErrorDomain Code=9 "Audience filter count out of range" UserInfo={NSLocalizedDescription=Audience filter count out of range}

This error seems not to be associated with any particular line of code, but a general warning that there is a problem with the way I use GAforF.

As this seems to be a common warning, was anyone able to fix this in their apps?

like image 647
Michael Economy Avatar asked Jun 23 '18 23:06

Michael Economy


People also ask

How do I create an audience in Firebase Analytics?

Create an audience. You can create up to 100 audiences per project. Audiences that include Age, Gender, or Interests data are not available for Firebase targeting. You create an audience by setting conditions based on the dimension, metric, and event data you collect from a property.

How do I know if Firebase Analytics is working?

In the Firebase console, open your project. Select Analytics from the menu to view the Analytics reporting dashboard. The Events tab shows the event reports that are automatically created for each distinct type of event logged by your app.

Does Firebase Analytics use IDFA?

Firebase SDKs do not access IDFA, though some have integrations with Google Analytics that may involve IDFA access.

Is Firebase Analytics the same as Google Analytics?

Google analytics also supported mobile analytics though android and IOS sdk's which sent Screen hits to google analytics. There was a difference between Mobile and web google analytics accounts. Firebase is a platform developed by Google for creating mobile and web applications.


1 Answers

As suggested by @FlowNivettop, updating Firebase Analytics frameworks solved this issue for me. I don't use Cocoapods, so had to manually download the package and update the linked Frameworks.

https://firebase.google.com/docs/ios/setup#frameworks

After updating I no longer receive this logged error...hope this helps!

like image 95
CSmith Avatar answered Sep 25 '22 04:09

CSmith