Android
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 injector to build.gradle in project
After adding injector to your project’s build.gradle, add the library and ImqaBridge to your app’s gradle as shown below.
Do not apply the plugin – different from the previous guide.
The gradle file should be synchronized after updating the file.
2. Add the library to your app’s gradle
3. Add ImqaBridge to each WebView object created
How to add IMQABridge may vary depending on development using Morpheus.
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