# Mobile Integration for Click to Pay
source: https://developer.mastercard.com/mastercard-checkout-solutions/tutorial/mobile/index.md

There is currently no native SDK support for building your own SRCI experience within a merchant application. You will need to implement a web checkout experience as described in the [Integration Overview](https://developer.mastercard.com/mastercard-checkout-solutions/documentation/tutorials-and-guides/index.md)
(for example using the [Javascript SDK](https://developer.mastercard.com/mastercard-checkout-solutions/tutorial/integrate_sdk/index.md), and then provide this experience in the mobile application using an embedded WebView. This direct integration approach may be described as application-to-web or **app to web** (as opposed to web to web).

There are some details to do with the messaging between the windows inside the webview that need to be handled within your iOS view controller / Android Activity code which are described below.

The following information describes how you as SRCI might construct a suitable set of classes for use in merchant applications.

If you have several mobile DPA applications which you will support as SRCI, it may make sense to consider creating your own library of classes along these lines so that you can re-use the solution --- however the same event handling code will be needed whether or not you choose to abstract the solution into your own library, or simply implement once within the application.

The instructions below show a suggested approach.

**Pre-requisites:**

* You have a working web based implementation which is suitable for display
  on mobile. Your web based SRCI implementation can be invoked
  using a URL.

* You have constructed the bulk of your mobile application and are ready to
  add the Click to Pay within a view (**ViewController** in iOS,
  **Activity** in Android) via a webview (**WKWebview** for iOS, **WebView** for Android).

* Your ViewController / Activity will be able to handle the interaction between the SRCI screens you are hosting and the DCF screens that the card network is hosting. Both will be presented via webviews within your checkout view controller / activity.

The instructions below explain how to add suitable web views for the SRCI and
DCF functionality and to handle the interaction.

When complete, the architecture of your solution will look something like the following:

![Mobile App to Web Flow](https://static.developer.mastercard.com/content/mastercard-checkout-solutions/documentation/images/mobile_app_to_web_flow.png)
