Troubleshooting#
Notifications not appearing#
- Verify your OneSignal App ID is correct
- Check that you've requested and received notification permission
- Ensure platform certificates (APNs/FCM) are configured in the OneSignal dashboard
- Check device logs for any SDK errors
- Enable debug logging with
log_level=fos.OSLogLevel.VERBOSE
App crashes on startup#
- Verify minimum SDK versions are met (Android API 24+, iOS 12+)
- Check that OneSignal is added to
page.services(notpage.overlay) - Review the
on_errorhandler for any initialization errors
Tags not syncing#
- Tags are synced asynchronously — allow a few seconds
- Check your network connection
- Verify tags in the OneSignal dashboard under Users
Location not working (Android)#
- Ensure you're building with
fos-build(not plainflet build) - Verify
[tool.flet.onesignal.android] location = trueis inpyproject.toml - Check that location permissions are declared in
[tool.flet.android] - On the device: Request Permission first, then Enable, then Check Status
FletUnsupportedPlatformException#
OneSignal only supports Android and iOS. If you're running on web, desktop, or another
platform, SDK methods will raise FletUnsupportedPlatformException. Guard your calls: