federicoiosue / Omni-Notes

Open source note-taking application for Android
https://omninotes.app
GNU General Public License v3.0
2.68k stars 1.11k forks source link

Crashed On Notification Click #827

Closed naitikkundalia closed 3 years ago

naitikkundalia commented 3 years ago

Crash in Notification Click

When clicked on notification the application is crashed on some device due to notesObjs get null. Line no 90 on SnoozeActivity

Object[] notesObjs = (Object[]) getIntent().getExtras().get(INTENT_NOTE);

I had uploaded my code with customization on

https://github.com/NaitikKundalia/Omni-Notes-develop

Code works in pixel & redmi device but not in samsung. I had tested in M31 or M51.

federicoiosue commented 3 years ago

Hi there,

I've tried both on emulator and on a real Samsung Galaxy S10+ (I did not found the devices you reported, maybe they're for oriental market only) and it works correctly. Moreover I found no changing commit on your source code so, for now I'm going to close this issue but feel free to open it again if you have more informations.

naitikkundalia commented 3 years ago

I will replicate it and give you the problem in details. I had tried that in Samsung M51.

federicoiosue commented 3 years ago

stacktrace would be helpful too