6
erkannt
Ich sehe dies in Logcat:Google Analytics V4 - Bool Konfigurationsnamen nicht
W/GAV4: String xml configuration name not recognized: ga_trackingId
W/GAV4: Bool xml configuration name not recognized: ga_autoActivityTracking
W/GAV4: Bool configuration name not recognized: ga_reportUncaughtExceptions
In Manifest.xml ich habe:
<meta-data
android:name="com.google.android.gms.analytics.globalConfigResource"
android:resource="@xml/track" />
In App.java:
GoogleAnalytics analytics = GoogleAnalytics.getInstance(this);
Tracker t = analytics.newTracker(R.xml.track);
In track.xml:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="ga_trackingId">UA-****</string>
<string name="ga_logLevel">error</string>
<bool name="ga_autoActivityTracking">true</bool>
<bool name="ga_reportUncaughtExceptions">true</bool>
<bool name="ga_dryRun">false</bool>
<integer name="ga_dispatchPeriod">120</integer>
</resources>
Werden die booleschen Parameter in der Konfigurationsdatei ignoriert?