get User Agent
fun getUserAgent(platform: Platform, clientSDKName: String, clientSDKVersion: String?, appName: String?, appVersion: String?): String
To build a user agent that provide information where this sdk is being used, on client level pass app-version. here we can read the client version. on client sdk level pass client-name and append. and client version on core level read platform level and append. if the value userAgent is null then we pass platform as default. sample output android core-client/0.0.19/ app-version/11.40.0
Parameters
platform
where the sdk is being used Platform.Type.ANDROID or Platform.Type.IOS or Platform.Type.JVM or Platform.Type.BROWSER
client SDKName
the sdk making api calls name
client SDKVersion
the sdk making api version
app Version
version of application where the sdk is being used