iOS
Install SDK in Morpheus Environment
This document provides instructions on how to apply IMQA SDK in the React Native environment.
After applying the IMQA agent code with reference to the IMQA MPM Installation Guide, please follow further the instructions of this document.
1. Add Podfile
Write the following in your project Podfile.
2. Modify PPHybridViewController
Modify the viewWillAppear code and userContentController.
viewWillAppear
userContentController
Register WebView Agent
Morpheus drops static files inside the mobile instead of fetching mobile pages from the server. Place the WebView agent for Morpheus we provide at the top of the head on all pages. Due to the structure of Morpheus, we recommend not using cdn but injecting the resources by yourself.
Last updated