getDeviceId

Returns the deviceId used by Engagement to send push messages to the device.

  • Promise.<string?> - A promise to the device ID.