implementing installationId

as you know Constants.installationId will be removed in SDK 44.

how to implement it for Android and IOS in application?