This repository was archived by the owner on Oct 25, 2021. It is now read-only.

Description
Description
This concerns sending push notifications to specific devices. Cordova app, c# backend.
Apprently the AppCenter sdk allows to do so if one inserts the install id on the request .
The id is obtained in the app using (cordova) AppCenter.getInstallId(success, error);
But the backend does not know about this as there seem to exist no way to query the device or install id from the backend.
Question: can one send push notifications from a backend to a specific device by only using the AppCenter capabilities or must the backend handle the relationship between the AppCenter installId/User Id and the business user of the app (the owner of the device where the app is installed).
Question, can the AppCenter persistence or database where the installIds are persisted/saved be extended to hold a business user id. For example: AppCenter.setUserId("your-user-id");?
Then a reuest from the backend would request a push notification to that user? And AppCenter would then send it to correct device?