There is a whole section in the article where I explain how you can work around the fact that the CREATOR field is not accessible from Kotlin.

Regarding your specific issue, you suggest you have to convert your Parcelable into a byte array. Instead of doing that, did you try putting the Parcelable into a new Bundle instead, and adding that new Bundle into the PendingIntent extra Bundle? If that works it would be a simpler solution.

Android developer from Belgium, blogging about advanced programming topics.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store