# Troubleshooting ## Problem: No notifications arrive - Verify `google-services.json` is present. - Ensure `com.google.gms.google-services` plugin is applied. - Confirm the FCM service is in the manifest. ## Problem: Location updates never start - Ensure location permissions are granted at runtime. - Verify `ACCESS_FINE_LOCATION` and `ACCESS_COARSE_LOCATION` are in the manifest. - Confirm `BubblSdk.startLocationTracking(this)` runs only after permission is granted. ## Problem: Geofences do not refresh - Call `BubblSdk.refreshGeofence(lat, lon)` after you get a location. - Confirm Play Services Location dependency is included. ## Problem: Modal does not appear - Confirm you are reading the `payload` extra from the notification intent. - Register the `NotificationRouter.BROADCAST` receiver if you want in‑app delivery. ## Problem: App crashes when sharing logs - Add `res/xml/file_paths.xml`. - Ensure the `FileProvider` entry matches your authority.