The AppNotificationReceiver is not receiving even after being correctly configured. I am sending a notification using the REST API, with correct app id, merchant id and auth token. I also receive a 200 OK response code. The app doesn't receive any notifications.
<receiver
android:name=".receiver.NotificationReceiver"
android:enabled="true"
android:exported="true">
<intent-filter>
<action android:name="com.clover.sdk.app.intent.action.APP_NOTIFICATION" />
</intent-filter>
</receiver>
@Override
public void onReceive(Context context, AppNotification notification) {
Log.d(TAG, "Notification:" + notification);
if (notification.appEvent.equalsIgnoreCase(CHECKIN) || notification.appEvent.equalsIgnoreCase(CHECKOUT)) {
Log.d(TAG, "Payload: " + notification.payload);
}
}