Raix Push Notification: App Crashes when notification Clicked


#1

Hi Everyone,

I have implemented Raix Push notifications

  • I am testing this in Real Device ( no Emulators) [Android]

Test case Android L/M/N:

  1. When App gets in the background then if the notification comes then app did not open and it closes without any proper error message in console.
  2. When App is killed then there is a notification but when am clicking on it then App Crashes.

Test case Android K:

  1. When App gets in the background then if the notification comes then app did not open and it closes without any proper error message in console.
  2. When App is killed then there is a notification but when am clicking on it then App Opens Again with the right Page.

Please Help Guys. It’s been too difficult for me to develop any modules now without any help from you guys.

I think I am missing something in the notification Part. Please let me know If I could make certain changes to my method so that I could achieve the desired functionalities.

Test Case to be verified:

  1. Gets the notification when App is in BackGround. - Done
  2. Gets the notification when App is in Foreground. - Done
  3. After clicking on the notification, it should open the Page or Desired Result. - Not done

Here is my code for the notification:

          Push.send({
		      title,
		      text,
		      from: 'push',
		      badge: 1,
		      query: {
		      	token: {'gcm' : deviceToken}
		      }
		    });