Skip to main content

Troubleshooting

SymptomResolution
SDK not initializingVerify apiKey/appIdentifier are valid, enable DEBUG logging, and check Logcat (adb logcat | grep B2Metric).
Events not appearingEvents may still be queued; for testing set batchSize = 1. Confirm network connectivity and the correct API key.
Push tracking not workingFCM: confirm google-services.json, Firebase config, and onNewToken() calls registerPushToken(). HMS: confirm agconnect-services.json and the Huawei App ID.