User ID in a WebView



If your application must use a WebView and you wish to identify the user, you can retrieve the customer ID in order to then pass it in a URL parameter of your WebView. By doing so, you can use this ID with JavaScript code, for example.

As this method is asynchronous, you must implement the callback when the data is exploitable.

Since 2.3.0, equivalent sync method is available (Warning : it’s required to send a first hit before using it. On the contrary, a warning is sent by the SDK)

Was this post helpful?
Last update: 05/04/2018