# Disabling mobile apps

**URL:** <https://forum.mattermost.com/t/disabling-mobile-apps/10854>\
**Category:** Mobile Apps\
**Created:** [December 4, 2020, 10:53pm UTC](https://forum.mattermost.com/t/disabling-mobile-apps/10854 "2020-12-04T22:53:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![noise-machines](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/noise-machines/32/4321_2.png) [@noise-machines](https://forum.mattermost.com/u/noise-machines)\
**Post date:** [December 4, 2020, 10:53pm UTC](https://forum.mattermost.com/t/disabling-mobile-apps/10854/1 "2020-12-04T22:53:10Z")

</div>

Hi folks!

I’m working on a Mattermost deployment that has a custom plugin I’ve written. But I’d like to disable native iOS and Android apps since they don’t have my plugin features.

I’ve tried setting the [minimum iOS version](https://docs.mattermost.com/administration/config-settings.html#minimum-ios-version) and the [minimum Android version](https://docs.mattermost.com/administration/config-settings.html#minimum-android-version) in config.json to 10.1.1 in an attempt to disable the mobile apps, but they’re still able to connect even though those apps don’t meet my fake version number.

Any ideas? I’m very comfortable coding, but I’d like to avoid forking the Mattermost code base if possible.

Thanks!  
Thomas

---

<div class="post-metadata">

**Author:** ![XxLilBoPeepsxX](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/xxlilbopeepsxx/32/4993_2.png) [@XxLilBoPeepsxX](https://forum.mattermost.com/u/XxLilBoPeepsxX)\
**Post date:** [December 5, 2020, 1:31am UTC](https://forum.mattermost.com/t/disabling-mobile-apps/10854/2 "2020-12-05T01:31:55Z")

</div>

If you were to use a web application firewall such as Cloudflare, I can say from experience that it is 100% possible to block access based on the user agent of a connecting device. From my experience with the Mattermost mobile apps, they seem to be basically a fancy web browser (no offense devs! 😆) so this could be a possible solution!

I’d be more than happy to provide an in-depth explanation of the implementation, which is a minimal amount of configuration, if you are interested.
