...
Clone the product-mdm GIT repository.
Code Block git clone https://github.com/wso2/product-mdm.git
- Open the client folder that is in the
<EMM_SOURCE_HOME>/modules/mobile-agent/android
directory via Android Studio. - Do the necessary changes you wish to make.
Example:
White Labeling WSO2 EMM Android Agent or changing the Android agentSERVER_PROTOCOL
tohttps
andSERVER_PORT
to 9443
in theconstant.java
file that is in the<EMM_SOURCE_HOME>/modules/mobile-agents/android/client/client/src/main/java/org/wso2/emm/agent/utils
directory. Build the project to create a new APK with file that has all the changes you made.
- Rename the created
.apk
file toandroid-agent.apk
. - Copy the renamed file and replace it instead of the existing
android-agent.apk
. file file that is in the <EMM_HOME>/repository/deployment/server/jaggeryapps/emm-web-agent/units/asset-download-agent-android/public/asset
directory.
...