Follow

Obtaining Device ID from Charles (iOS)

Before you start, make sure that your computer and your phone share the same wifi network.

Download and install Charles from https://www.charlesproxy.com/. Open Charles and enable SSL proxying.

From the Proxy menu, select SSL Proxying Settings. In the window that appears, set these values:

  • Host: *
  • Port: *

Click OK. Your window should look like this:

Screen_Shot_2017-05-03_at_12.40.40_PM.png

Next, you need to install a root certificate on your phone. To do so, navigate to Help -> SSL Proxying -> Install Charles Root Certificate on a Mobile Device or Remote Browser.

Before clicking OK, take a note of the colon-separated numbers that appear in the dialog. In this example, the numbers are 10.1.11.1:8888. Your numbers may be different.

Screen_Shot_2017-05-03_at_12.41.17_PM.png

The first set of numbers before the colon (10.1.11.1 in this case) is the Server, while the numbers after the colon (8888 in this example) identify the Port.

Make sure you take a note of the server and the port. In this example:

  • Server: 10.1.11.1
  • Port: 8888

Next, open your device Settings, then tap Wi-Fi. Select your wifi network, then tap the detail icon next to the signal strength icon.

Screen_Shot_2017-05-03_at_12.41.53_PM.png

In the next screen, scroll to the bottom to the HTTP Proxy section. Select Manual. In the Server field, add the server information you got from Charles. Also, add the port information in the Port field.

Screen_Shot_2017-05-03_at_12.42.57_PM.png

Next, go back to your Home screen and open Safari. In the address bar, type:

chls.pro/ssl

Follow the instructions. In the Settings screen, tap Install.

Screen_Shot_2017-05-03_at_12.46.31_PM.png

Your Charles configuration is complete.

 

Obtain your Device ID

Now, go back to Charles on your laptop. Open your app on your phone. You will see a list of requests in your Charles window.

Identify the requests to devices.carnivalmobile.com. You can type devices.carnivalmobile.com in the Filter field to show Carnival requests only.

Screen_Shot_2017-05-03_at_12.48.02_PM.png

Click on any request that starts with /v7/devices, and double click the URL in the bottom half of the window:

Screen_Shot_2017-05-03_at_12.48.32_PM.png

A window will appear. Copy the content of the window. Note that the combination of letters and numbers will be different from the example.

Screen_Shot_2017-05-03_at_12.48.38_PM.png

Send this URL over to Sailthru.

 

Restore Proxy Settings on your device

Do not forget to restore the Proxy Settings in your device configuration. Open your phone Settings, then tap Wi-Fi. Tap the detail icon (see screenshot above).

Scroll down to HTTP Proxy and select Off.

Top