Troubleshooting
Problem: No notifications arrive
- Verify
google-services.jsonis present. - Ensure
com.google.gms.google-servicesplugin 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_LOCATIONandACCESS_COARSE_LOCATIONare 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
payload,notification_payload, ordataextras from notification intents. - Register the
NotificationRouter.BROADCASTreceiver if you want in‑app delivery.
Problem: App crashes when sharing logs
- Add
res/xml/file_paths.xml. - Ensure the
FileProviderentry matches your authority.