Debugging

Validate SDK installs across web and mobile: network calls, identity storage, Logcat, and common failure modes.

Web checklist

  • init() called once? Network: /device/register then /track
  • Tracks deferred — wait for guest_id
  • identify skipped — register first
  • Opt-out: localStorage _gw_optout
  • Push: /firebase-messaging-sw.js + HTTPS + permission
Console helpersjavascript
localStorage.getItem('_gw_guest_id')
localStorage.getItem('_gw_user_id')
localStorage.getItem('_gw_optout')
growise.identity.getGuestId()

Android / Flutter checklist

  • Correct API key; logging enabled while testing
  • google-services.json matches applicationId
  • Data-only FCM (no top-level notification block)
  • POST_NOTIFICATIONS on Android 13+
  • Flutter: smallIconName drawable exists; init before runApp
Logcatbash
adb logcat -s GrowWise:* GrowWiseDemo:* FirebaseMessaging:*