You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LGTM, but I have some questions: Why is this needed? aren't those webviews running in the same domain? in that case location.host should be enough for them to know the domain. If they run in a different domain, then this could be useful
LGTM, but I have some questions: Why is this needed? aren't those webviews running in the same domain? in that case location.host should be enough for them to know the domain. If they run in a different domain, then this could be useful
I'm afraid those webviews run in an OB domain. I tried first using location.host, which was the proof to see that they run in a different domain.
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
Response Payload
The app returns to the OB a string with the current domain
Examples:
Possible error cases
N/A
The text was updated successfully, but these errors were encountered: