Android Notification White Square Icon

We have all seen the white square at the top type of a notification in the notification bar.

May 5, 2020 · 1 min · gmirchev90

Test push notifications on Android without a server

How I used to do it The biggest problem I have with push notifications and especially GCM is testing them. Every time I want to test a notification, I would create a sample project in Google Developers Console, use the JSON there and then use Postman to send HTTP requests to the device, after obtaining the device registration id and the token for the project.

May 4, 2020 · 2 min · gmirchev90

TransactionTooLargeException when using NotificationManager.notify on Samsung devices

Recently, we got a bug inside the app. The app was crashing in the push notification receiver class that we had on the line where we called notificationManager.notify(notificationId, notificationBuilder.build()).

May 4, 2020 · 2 min · gmirchev90