Changing a Mobile App's User-Agent Header without code

A user agent is a piece of client-side software that acts on behalf of a user us (such as a web browser or email client) such that it retrieves, renders and facilitates end-user interaction with the web or mobile content via a user-agent header.

When a software agent (including a mobile app) operates in a network protocol, it often identifies itself to whatever it’s communicating with: it communicates its application type, operating system, software vendor, or software revision. It does this by submitting a characteristic identification string to its operating peer by what is commonly known as the User-Agent header.

This Knowledge Base article provides step-by-step instructions for using Appdome to edit the HTTP User-Agent Header inside any Android and iOS mobile app, without changing the mobile app code.

Why Change a Mobile App’s User Agent?

Appdome is a mobile integration platform as a service (iPaaS) that allows users to add a wide variety of features, SDKs, and APIs to Android and iOS apps. Using a simple ‘click to add’ user interface, Appdome allows anyone to change the HTTP User-Agent Header to any mobile app, no code or coding required.

Using Appdome, there are no development or coding prerequisites. For example, there is no Appdome SDK, libraries, or plug-ins to implement. Likewise, there are no required infrastructure changes and no dependency on networking APIs. The Appdome technology edits the HTTP User-Agent Header adds relevant standards, frameworks and more to the app automatically, with no manual development work at all. Using Appdome, mobile apps will use User Agent to send the custom-tailored User-Agent header which you require.

Prerequisites for Using Appdome to Change the User-Agent Header

In order to use Appdome’s no code implementation of User-Agent Header, you’ll need:

How to Change User Agent in Any Mobile App on Appdome

Upload a Mobile App to Your Account

Please follow these steps to add a mobile app to your Appdome account.

If you don’t have an Appdome account, click here to create an account.

Select the Build TabNote: a blue underline will appear showing the step is active
Beneath the Build Tab, select AccessNote: a blue highlight will appear showing the category is active.

  1. Open Appdeom Acces Suite
  2. Expend the sub-category Private Server Certificate and Authorities
  3. Enable or toggle “ON” User-Agent
  4. Enter the new User-Agent Header
  5. Click Build My App
Changing the User-Agent Header in any iOS or Android app without source code

Changing the User-Agent Header in any iOS or Android app without source code

The technology behind Add Context to My App has two major elements – (1) a microservice architecture filled with 1000s of code sets needed for mobile integrations, and (2) an adaptive code generation engine that can recognize the development environment, frameworks and methods in each app and match the app to the relevant code-sets needed to customize your mobile app in seconds. For example, changing the User-Agent in HTML headers for the app’s requests.

Congratulations! When Appdome completes your requested integration, you’ll see the notice below. You now have a mobile app fully integrated with User-Agent

Success Message for changing user-agent header

What’s next after changing the User-Agent Header in your app?

1. Sign the User-Agent enabled Appdome-Built App

In order to deploy an Appdome-Built app, it must be signed. Signing iOS apps and Signing Android apps are easy using Appdome. Alternatively, you can use Private Signing, download your unsigned app and sign locally using your own signing methods.

2. Deploy the Appdome-Built App to a Mobile Device

Once you have signed your Appdome-Built app, you can download to deploy it using your distribution method of choice. For more information on deploying your Appdome-Built apps, please read this knowledge base.

That’s it – Enjoy Appdome User Agent in your app!

How Do I Learn More?

For more on this topic, visit App Branding on Appdome on our website.

You can request a demo at any time.

If you have any questions, please send them our way at support@appdome.com or via the chat window on the Appdome platform.

Thank you!

Thanks for visiting Appdome! Our mission is to make mobile integration easy. We hope we’re living up to the mission with your project. If you don’t already have an account, you can sign up for free.

Kai Kenan

Have a question?

Ask an expert

TomMaking your security project a success!