On android , when my app is closed and im getting a push notification and i press on it and it inters the app , then it crashes because in getClassActivity() function call to the getCurrentActivity().getClass() fails because getCurrentActivity() returns null. So looks like have to check before calling getClass() if activity exists.
RN: 0.44.2 OS: Mac Branch: Android-exoplayer
On android , when my app is closed and im getting a push notification and i press on it and it inters the app , then it crashes because in
getClassActivity()
function call to thegetCurrentActivity().getClass()
fails becausegetCurrentActivity()
returnsnull
. So looks like have to check before callinggetClass()
if activity exists.