How to Launch two session(App and Mobile Browser) in single appium server?

Hi I have this iOS native app functionality that needs to automate in Appium-Ruby + Cucumber.

After completing the registration flow(Signup), i need to put the app in background and open safari mobile web browser,then Go to Mailinator.com and activate my account.

Could anyone help me in how to handle this?

I am using Appium 1.6 version

we have almost same but in java. i believe you have following options:

  1. open mobile browser on another phone with another appium session
  2. open normal browser where tests are running (we do in this way)