Get message center data

Prev Next

The getMessageCenterData method allows you to retrieve the pushes that you sent to your users in the past three months in a defined range and quantity.

ParameterData Type
limitInteger
startDateDate
endDateDate
your title goes here
Make sure that you pass the values for startDate and endDate in timestamps.

Method Signature

static getMessageCenterData(limit: number, startDate: Date, endDate: Date, callback: Function)

Method Example

RNInsider.getMessageCenterData(10, startDate, endDate, function (data) { })
Your title goes here
The getMessageCenterData method functions with a user-based mechanism. For example, if user A and user B log into the app on the same device, each user will see the push notifications they received.