intent from notification with extra to activity code example
Example: intent from notification with extra to activity
I just added the PendingIntent.FLAG_UPDATE_CURRENT flag to my pending intent, and it started working for me (skipped all flags for Intent).