Description
Message type: GET_APP_DOMAIN
Originator: Web
Min app version: 25.3 or 25.4
Description
In B2P, the OB needs a method to get in which domain we are so they can built novum deeplinks like the one used to install an esim, for example https://app.alditalk.de/esim/installation-process/?activationCode=X&server=Y&msisdn=Z&afterInstallEsimUrl=https://app.alditalk.de/_/account/core/webviews/v2.php/?id=b2p-alditalk-accountoverview.
So the method will return the novum domain to the webview (as per the previous example: app.alditalk.de)
This method is needed because the OB has a white label code fully agnostic about novum brands and environments.
Differences between iOS/Android (if any)
N/A
Payload definition
Request Payload
No payload is needed in the request
getAppDomain: ()
Response Payload
The app returns to the OB a string with the current domain
domain: string;
Examples:
{"type": "GET_APP_DOMAIN", "payload": {"domain": "cert2-whatsappsimde.novum.team"}}
Possible error cases
N/A