I have a config file within my app. Can I execute(run) the the config file on a button click?
Currently, I am emailing the file as an attachment to the respective users on a button click and the execution starts when they open the email and tap on the attachment. Since the config file is native, is it possible to run it on a button click?
I am looking into this currently
(Installing a configuration profile on iPhone - programmatically)
Also, here
(iOS - Prevent iPhone Configuration Profile from being deleted OR check to see if it's installed)
The answer says that, the only way to install a mobileconfig file is either through safari/mail. But this answer has not yet been approved so not sure if these are still the only options to install the mobile config file.
This is an official documentation from the apple developer's website. Hopefully, this will help people be updated of what are the current possibilities with respect to installing the configuration file.
In short, there are four ways to deploy configuration profiles:
This should end some of the speculations around what is the current scenario.