Getting a failed to post notification on channel “channel_id_here” error

I have been struggling for days now to get local notifications to display on an Android device. Notifications simply do not show up and I’m getting a developer warning: package Failed to post …