After creating a sample application as described in here -> Here,If I try to send a cloud message using Post request, I get an unauthorized access error
as below
{ "code": "UNAUTHORIZED_ACCESS", "httpStatus": 401, "message": "Access not authorized for the requested resource.", "developerMessage": "co.poynt.samples' does not match sender application package name." }
postman request body as follows
{ "deviceId":"----------------------------------", "businessId":"----------------------------------", "storeId":"----------------------------------", "recipient":{ "packageName":"co.poynt.samples", "className":"MyBroadcastReceiver" }, "ttl":500, "data":"test Message" }
Any reason why this might fail? Do I need to create a Terminal App on
this and register my app package name before sending a message?