<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Murilo R. Oliveira on Medium]]></title>
        <description><![CDATA[Stories by Murilo R. Oliveira on Medium]]></description>
        <link>https://medium.com/@muriloroliveira?source=rss-13bc4ddbfd1f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*fe8LnVCGLTNTS4qbSz_leQ.png</url>
            <title>Stories by Murilo R. Oliveira on Medium</title>
            <link>https://medium.com/@muriloroliveira?source=rss-13bc4ddbfd1f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 17 Nov 2026 03:12:12 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@muriloroliveira/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[AppConfig: Managing endpoints remotely in your iOS app (MDM)]]></title>
            <link>https://medium.com/@muriloroliveira/appconfig-managing-endpoints-remotely-in-your-ios-app-mdm-c8534175efee?source=rss-13bc4ddbfd1f------2</link>
            <guid isPermaLink="false">https://medium.com/p/c8534175efee</guid>
            <category><![CDATA[swift]]></category>
            <category><![CDATA[ios-development]]></category>
            <category><![CDATA[app-management]]></category>
            <category><![CDATA[mdm]]></category>
            <category><![CDATA[enterprise-app-developer]]></category>
            <dc:creator><![CDATA[Murilo R. Oliveira]]></dc:creator>
            <pubDate>Sun, 24 Mar 2024 16:04:28 GMT</pubDate>
            <atom:updated>2024-03-24T16:04:28.660Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pOO0c_qjgh2AE3XrApRjGA.jpeg" /></figure><p>Let’s say you’re an iOS developer responsible for deploying an enterprise app for corporate use in a large retail store network, distributed across different locations/servers. This application is essential for the daily operations of the business (hypothetical example).</p><p>However, each location has its own server and requires a different endpoint that may eventually change.</p><p>Ideally, scalable engineering is expected where you have more control over configuration changes to this app without necessarily distributing different builds for each device/server, which can be time-consuming and may even affect business continuity. An effective Mobile Device Management (MDM) solution allows you to add AppConfig to your iOS app to facilitate endpoint management (or any key/value). With a proper MDM platform, you can control devices, ensuring they receive the desired configurations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jN4KXwLJf5aQvQM0mog3YA.png" /><figcaption>Input scheme for the dictionary in the user defaults of the enterprise app.</figcaption></figure><h3>Simulating the input</h3><p>The dictionary is added through user defaults, and the developer can access it via the key com.apple.configuration.managed</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fcarbon.now.sh%2Fembed%3Fbg%3Drgba%2528255%252C255%252C255%252C1%2529%26t%3Dseti%26wt%3Dnone%26l%3Dswift%26width%3D680%26ds%3Dtrue%26dsyoff%3D20px%26dsblur%3D68px%26wc%3Dtrue%26wa%3Dtrue%26pv%3D56px%26ph%3D56px%26ln%3Dfalse%26fl%3D1%26fm%3DHack%26fs%3D14px%26lh%3D133%2525%26si%3Dfalse%26es%3D2x%26wm%3Dfalse%26code%3DUserDefaults.standard.object%2528forKey%25253A%252520%252522com.apple.configuration.managed%252522%2529%252520as%25253F%252520%25255BString%25253A%252520Any%25253F%25255D&amp;display_name=Carbon&amp;url=https%3A%2F%2Fcarbon.now.sh%2F%3Fbg%3Drgba%252528255%25252C255%25252C255%25252C1%252529%26t%3Dseti%26wt%3Dnone%26l%3Dswift%26width%3D680%26ds%3Dtrue%26dsyoff%3D20px%26dsblur%3D68px%26wc%3Dtrue%26wa%3Dtrue%26pv%3D56px%26ph%3D56px%26ln%3Dfalse%26fl%3D1%26fm%3DHack%26fs%3D14px%26lh%3D133%252525%26si%3Dfalse%26es%3D2x%26wm%3Dfalse%26code%3DUserDefaults.standard.object%252528forKey%2525253A%25252520%25252522com.apple.configuration.managed%25252522%252529%25252520as%2525253F%25252520%2525255BString%2525253A%25252520Any%2525253F%2525255D&amp;image=https%3A%2F%2Fcarbon.now.sh%2Fstatic%2Fbrand%2Fbanner.png&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;scroll=auto&amp;schema=carbon" width="1024" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/9868762f307f262ab6d198154d0bc325/href">https://medium.com/media/9868762f307f262ab6d198154d0bc325/href</a></iframe><h3>Hands-on example</h3><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FGld-6qIuHig%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DGld-6qIuHig&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FGld-6qIuHig%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/7efbc1804fe9636d6ebfa8919bbf6186/href">https://medium.com/media/7efbc1804fe9636d6ebfa8919bbf6186/href</a></iframe><pre>struct ContentView: View {<br><br>    var managedObject: String? {<br>        fetchManagedObject()<br>    }<br><br>    var body: some View {<br>        VStack(spacing: 10) {<br>            Text(&quot;Managed Object&quot;)<br>                .font(.largeTitle)<br><br>            if let object = managedObject {<br>                Text(object)<br>                    .font(.title)<br>            } else {<br>                Text(&quot;No Managed Object&quot;)<br>                    .font(.title)<br>            }<br>        }<br>    }<br><br>    private func fetchAppConfig() -&gt; [String: AnyObject] {<br>        return UserDefaults.standard.dictionary(forKey: &quot;com.apple.configuration.managed&quot;) as? [String: AnyObject] ?? [:]<br>    }<br><br>    private func fetchManagedObject() -&gt; String? {<br>        let appConfig = fetchAppConfig()<br><br>        guard let managedEndpoint = appConfig[&quot;endpoint&quot;] as? String else {<br>            return nil<br>        }<br><br>        return managedEndpoint<br>    }<br>}</pre><p><a href="https://github.com/oliveiramr/AppConfigSample">GitHub - oliveiramr/AppConfigSample</a></p><h3>Understanding the MDM solution</h3><p>There are several available vendors of mobile device management solutions, and choosing one will depend on the specific needs of your business as well as your criteria. However, below we use the example of WorkspaceONE to demonstrate how the XML upload of AppConfig is done during IPA distribution.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OxxmAwvRPq3tN_NhsBNAEQ.png" /><figcaption>Option to upload AppConfig during Enterprise App distribution</figcaption></figure><h4>Example AppConfig XML file</h4><pre>&lt;managedAppConfiguration&gt;<br>     &lt;version&gt;1&lt;/version&gt;<br>     &lt;bundleId&gt;com.murilo.AppConfigSample&lt;/bundleId&gt;<br>     &lt;dict&gt;<br>          &lt;string keyName=&quot;endpoint&quot;&gt;<br>               &lt;defaultValue&gt;<br>                    &lt;value&gt;https://xxx.xxx.xxx/&lt;/value&gt;<br>               &lt;/defaultValue&gt;<br>          &lt;/string&gt;<br>     &lt;/dict&gt;<br>&lt;/managedAppConfiguration&gt;</pre><h4>Conclusion</h4><p>The combination of MDM and AppConfig solutions offers significant advantages for enterprise application distribution, including centralized management, customized configurations, enhanced security, operational efficiency, compliance, and control. These solutions provide a solid infrastructure to improve productivity, security, and compliance across the organization.</p><blockquote>source<em>:<br></em><a href="https://kb.vmware.com/s/article/2960753"><em>https://kb.vmware.com/s/article/2960753</em></a><em> — VMware Workspace ONE<br></em><a href="https://blog.eidinger.info/all-you-need-to-know-about-managed-app-configuration"><em>https://blog.eidinger.info/all-you-need-to-know-about-managed-app-configuration</em></a><em>— Swifty Tech by </em><a href="https://hashnode.com/@MarcoEidinger"><em>Marco Eidinger</em></a><em><br></em><a href="https://www.appconfig.org/ios.html"><em>https://www.appconfig.org/ios.html</em></a><em> — AppConfig Community</em></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c8534175efee" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AppConfig: Gerenciando endpoints remotamente em seu app iOS (MDM)]]></title>
            <link>https://medium.com/@muriloroliveira/appconfig-gerenciando-endpoints-remotamente-em-seu-app-ios-mdm-c46edd0153c1?source=rss-13bc4ddbfd1f------2</link>
            <guid isPermaLink="false">https://medium.com/p/c46edd0153c1</guid>
            <category><![CDATA[mdm-solution]]></category>
            <category><![CDATA[appconfig]]></category>
            <category><![CDATA[workspace-one]]></category>
            <category><![CDATA[ios-app-development]]></category>
            <category><![CDATA[swift]]></category>
            <dc:creator><![CDATA[Murilo R. Oliveira]]></dc:creator>
            <pubDate>Sat, 23 Mar 2024 18:28:28 GMT</pubDate>
            <atom:updated>2024-03-23T20:19:32.100Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pOO0c_qjgh2AE3XrApRjGA.jpeg" /></figure><p>Digamos que você seja um desenvolvedor iOS responsável pelo deploy de um enterprise app para uso corporativo de uma grande rede de lojas de varejo, distribuídas em diferentes lugares / servidores. Este aplicativo é essencial para as operações diárias do negócio (exemplo hipotético).</p><p>No entanto, cada local possui seu próprio servidor e necessita de um endpoint diferente e que eventualmente pode ser alterado.</p><p>Idealmente é de se esperar uma engenharia escalável onde você tenha mais controle sobre alterações de configurações desse app sem necessariamente distribuir builds diferentes para cada dispositivo / servidor o que pode levar tempo e até pode afetar a continuidade do negócio.</p><p>Uma solução eficaz de gerenciamento de dispositivos móveis (MDM) permite adicionar o <a href="https://www.appconfig.org/about.html">AppConfig</a> ao seu aplicativo iOS para facilitar o gerenciamento de endpoints (ou qualquer chave/valor). Com uma plataforma de MDM adequada, você pode controlar os dispositivos, garantindo receberem as configurações desejadas.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RlwLs3IE3bfUqVlakvZfXg.png" /><figcaption>Esquema de input do dictionary no user defaults do enterprise app</figcaption></figure><h3>Simulando o input</h3><p>O dictionary é adicionado por meio do user defaults, e o desenvolvedor pode acessá-lo por meio da chave com.apple.configuration.managed</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fcarbon.now.sh%2Fembed%3Fbg%3Drgba%2528255%252C255%252C255%252C1%2529%26t%3Dseti%26wt%3Dnone%26l%3Dswift%26width%3D680%26ds%3Dtrue%26dsyoff%3D20px%26dsblur%3D68px%26wc%3Dtrue%26wa%3Dtrue%26pv%3D56px%26ph%3D56px%26ln%3Dfalse%26fl%3D1%26fm%3DHack%26fs%3D14px%26lh%3D133%2525%26si%3Dfalse%26es%3D2x%26wm%3Dfalse%26code%3DUserDefaults.standard.object%2528forKey%25253A%252520%252522com.apple.configuration.managed%252522%2529%252520as%25253F%252520%25255BString%25253A%252520Any%25253F%25255D&amp;display_name=Carbon&amp;url=https%3A%2F%2Fcarbon.now.sh%2F%3Fbg%3Drgba%252528255%25252C255%25252C255%25252C1%252529%26t%3Dseti%26wt%3Dnone%26l%3Dswift%26width%3D680%26ds%3Dtrue%26dsyoff%3D20px%26dsblur%3D68px%26wc%3Dtrue%26wa%3Dtrue%26pv%3D56px%26ph%3D56px%26ln%3Dfalse%26fl%3D1%26fm%3DHack%26fs%3D14px%26lh%3D133%252525%26si%3Dfalse%26es%3D2x%26wm%3Dfalse%26code%3DUserDefaults.standard.object%252528forKey%2525253A%25252520%25252522com.apple.configuration.managed%25252522%252529%25252520as%2525253F%25252520%2525255BString%2525253A%25252520Any%2525253F%2525255D&amp;image=https%3A%2F%2Fcarbon.now.sh%2Fstatic%2Fbrand%2Fbanner.png&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;scroll=auto&amp;schema=carbon" width="1024" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/9868762f307f262ab6d198154d0bc325/href">https://medium.com/media/9868762f307f262ab6d198154d0bc325/href</a></iframe><h3>Exemplo prático</h3><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FGld-6qIuHig%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DGld-6qIuHig&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FGld-6qIuHig%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/7efbc1804fe9636d6ebfa8919bbf6186/href">https://medium.com/media/7efbc1804fe9636d6ebfa8919bbf6186/href</a></iframe><pre>struct ContentView: View {<br><br>    var managedObject: String? {<br>        fetchManagedObject()<br>    }<br><br>    var body: some View {<br>        VStack(spacing: 10) {<br>            Text(&quot;Objeto Gerenciado&quot;)<br>                .font(.largeTitle)<br><br>            if let object = managedObject {<br>                Text(object)<br>                    .font(.title)<br>            } else {<br>                Text(&quot;Sem objeto gerenciado&quot;)<br>                    .font(.title)<br>            }<br>        }<br>    }<br><br>    private func fetchAppConfig() -&gt; [String: AnyObject] {<br>        return UserDefaults.standard.dictionary(forKey: &quot;com.apple.configuration.managed&quot;) as? [String: AnyObject] ?? [:]<br>    }<br><br>    private func fetchManagedObject() -&gt; String? {<br>        let appConfig = fetchAppConfig()<br><br>        guard let managedEndpoint = appConfig[&quot;endpoint&quot;] as? String else {<br>            return nil<br>        }<br><br>        return managedEndpoint<br>    }<br>}</pre><p><a href="https://github.com/oliveiramr/AppConfigSample">GitHub - oliveiramr/AppConfigSample</a></p><h3>Entendendo a solução MDM</h3><p>Há diversos fornecedores disponíveis de soluções de mobile device management e optar por uma vai depender do tipo de necessidade do seu negócio e também de seus critérios, porém abaixo usamos o exemplo do WorkspaceONE para demonstrar como é feito o upload do XML do AppConfig durante a distribuição do IPA</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OxxmAwvRPq3tN_NhsBNAEQ.png" /><figcaption>Opção de upload do AppConfig durante a distribuição do Enterprise App</figcaption></figure><p>Exemplo de arquivo XML</p><pre>&lt;managedAppConfiguration&gt;<br>     &lt;version&gt;1&lt;/version&gt;<br>     &lt;bundleId&gt;com.murilo.AppConfigSample&lt;/bundleId&gt;<br>     &lt;dict&gt;<br>          &lt;string keyName=&quot;endpoint&quot;&gt;<br>               &lt;defaultValue&gt;<br>                    &lt;value&gt;https://xxx.xxx.xxx/&lt;/value&gt;<br>               &lt;/defaultValue&gt;<br>          &lt;/string&gt;<br>     &lt;/dict&gt;<br>&lt;/managedAppConfiguration&gt;</pre><h4>Conclusão</h4><p>A combinação de soluções MDM e AppConfig oferece vantagens significativas para a distribuição de aplicativos enterprise, incluindo gerenciamento centralizado, configurações personalizadas, segurança reforçada, eficiência operacional, conformidade e controle. Essas soluções proporcionam uma infraestrutura sólida para melhorar a produtividade, segurança e conformidade em toda a organização.</p><blockquote>fontes:<br><a href="https://kb.vmware.com/s/article/2960753">https://kb.vmware.com/s/article/2960753</a> — VMware Workspace ONE<br><a href="https://blog.eidinger.info/all-you-need-to-know-about-managed-app-configuration">https://blog.eidinger.info/all-you-need-to-know-about-managed-app-configuration</a> — Swifty Tech by <a href="https://hashnode.com/@MarcoEidinger">Marco Eidinger</a><br><a href="https://www.appconfig.org/ios.html">https://www.appconfig.org/ios.html</a> — AppConfig Community</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c46edd0153c1" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>