<?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[inside|app - Medium]]></title>
        <description><![CDATA[Technical Expertise at the Heart of Your Mobile Apps - Medium]]></description>
        <link>https://medium.com/inside-app?source=rss----b0771b422e60---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>inside|app - Medium</title>
            <link>https://medium.com/inside-app?source=rss----b0771b422e60---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 06:58:42 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/inside-app" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[De l’importance d’optimiser son bilan carbone numérique]]></title>
            <link>https://medium.com/inside-app/de-limportance-d-optimiser-son-bilan-carbone-num%C3%A9rique-1f07550f0496?source=rss----b0771b422e60---4</link>
            <guid isPermaLink="false">https://medium.com/p/1f07550f0496</guid>
            <category><![CDATA[bilan-carbone]]></category>
            <category><![CDATA[sobriété-numérique]]></category>
            <dc:creator><![CDATA[Vincent Frattaroli]]></dc:creator>
            <pubDate>Tue, 06 Jul 2021 09:00:39 GMT</pubDate>
            <atom:updated>2023-10-26T08:33:45.354Z</atom:updated>
            <content:encoded><![CDATA[<h3>The Importance of Optimizing Your Digital Carbon Footprint</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*U-CMZOt43o6v8iVxlBA0pg.jpeg" /></figure><p>These figures are now widely circulated and discussed: the digital realm is responsible for 10% of global electricity consumption and 4% of greenhouse gas emissions. In a context of strong growth in usage, devices, and equipment, it is clear that this trend will only intensify in the years to come.</p><p>Although awareness of the environmental impact of digital technology is slowly spreading within the industry, it is evident that concrete actions are still limited. However, it is time for businesses to take action. In this regard, conducting a carbon assessment of digital applications (web and apps) is an essential component of any “digital sobriety” initiative.</p><p>Here are seven compelling reasons to assess the carbon footprint of your digital services.</p><h3>#1 — Measure for Awareness</h3><p>Many companies have undertaken carbon assessments, but these assessments typically only consider the hardware and data centers for the IT part. However, according to a green IT study published in January, the energy consumed by servers accounts for less than a quarter of the electrical consumption generated by digital services. Telecom networks and especially terminals (smartphones, tablets, PCs) generate the vast majority of electrical consumption and, indirectly, greenhouse gas emissions. To account for the real environmental impact of your services, you must assess the energy impacts throughout the chain: users, networks, company servers, and IT partners. This effectively means calculating the carbon footprint of digital services. For major digital players with a substantial audience, the carbon footprint of their services likely makes up more than half of their total carbon footprint. Therefore, it cannot be ignored if you are sincerely pursuing measurement, reduction, and carbon footprint offset.</p><h3>#2 — Measure to Act</h3><p>The carbon assessment aims to quantify the company’s efforts over time to minimize its carbon footprint.</p><p>Applied to digital services, measurement serves a dual purpose:</p><ul><li>quantifying the improvement in the carbon impact of a typical session over time through eco-design</li><li>measuring the carbon footprint resulting from two opposing trends — the growth in usage and, consequently, a “natural” increase in the carbon footprint versus the unit decrease in the environmental impact of a session through eco-design.</li></ul><h3>#3 —Anticipate Future Regulations</h3><p>Carbon assessment is mandatory for companies with more than 500 employees. Although the digital part may not necessarily include the part used by the general public, it is likely that this aspect will need to be considered in the coming years.</p><p>It is also possible, under the influence of certain stakeholders, that “green IT” labels will be made public, even becoming a criterion of choice for consumers.</p><p>Therefore, it is essential to anticipate that legislators and/or consumers will demand a green label for digital services.</p><p>The earlier the eco-design process is initiated within the company, the better prepared it will be for this inevitable shift in the market.</p><h3>#4 — Enhance Service Performance</h3><p>A carbon footprint reduction effort in digital services will result in the optimization of various technical parameters, including:</p><ul><li>data volume exchanged between the terminal and the server</li><li>types and the number of client/server requests</li><li>graphical complexity of the screen/page.</li></ul><p>By reducing consumption in these areas, you automatically improve display and navigation performance, thereby increasing user satisfaction.</p><h3>#5 — Reduce Technical Debt and Costs</h3><p>Eco-design will lead to lighter applications, less burdened by poorly managed third-party libraries and SDKs, and less resource-intensive, often based on more modern and efficient technologies.</p><p>This will lower the technical debt of the application and, with it, maintenance and evolution costs.</p><p>Additionally, by reducing the number of requests and data exchanged, you optimize network bandwidth costs and server costs.</p><h3>#6 — Reevaluate Work Methods</h3><p>Adopting an eco-design approach introduces a new dimension into the project parameter. In addition to the User-Business-Technology triad that guides project decisions, you add an environmental dimension that may run counter to the business interests of the company or even alter the user experience.</p><p>Striking the right balance between these criteria will require a review of many design, design, and development processes and create a new source of creativity, a reimagined digital realm. This is an opportunity to challenge internal practices and working methods, both within the company and with partners.</p><h3>#7 — Give Meaning to Employees</h3><p>Many employees, not just the younger generation, want to reconcile their professional lives with their civic engagement. By adopting an eco-responsible approach, companies will meet the aspirations of employees concerned about climate change who want to take concrete action every day. Eco-design allows them to align their work with their values, indirectly leading to better performance, greater loyalty to the company, and increased attractiveness to potential candidates.</p><h3>Conclusion</h3><p>The digital carbon assessment is an essential tool for all companies with significant usage. To be effective, this assessment should be straightforward, reproducible over time, and overseen by company management. There are various ways, more or less complex, to establish and optimize this assessment. <strong>inside|app has developed a simple and pragmatic approach, so feel free to contact us to learn more!</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1f07550f0496" width="1" height="1" alt=""><hr><p><a href="https://medium.com/inside-app/de-limportance-d-optimiser-son-bilan-carbone-num%C3%A9rique-1f07550f0496">De l’importance d’optimiser son bilan carbone numérique</a> was originally published in <a href="https://medium.com/inside-app">inside|app</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[L’aberration de la publication continue]]></title>
            <link>https://medium.com/inside-app/laberration-de-la-publication-continue-607482d029e9?source=rss----b0771b422e60---4</link>
            <guid isPermaLink="false">https://medium.com/p/607482d029e9</guid>
            <category><![CDATA[agile-development]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[mobile-apps]]></category>
            <dc:creator><![CDATA[Vincent Frattaroli]]></dc:creator>
            <pubDate>Tue, 12 Jan 2021 18:24:08 GMT</pubDate>
            <atom:updated>2023-10-26T08:43:05.856Z</atom:updated>
            <content:encoded><![CDATA[<h3>The Absurdity of Continuous Publishing</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*DglapwdPfDJFypSf" /></figure><h3>The Agile Transformation of Companies</h3><p>Agile methods and digital “agile” organizations have become widely adopted in companies, ranging from start-ups and internet pure players to more traditional ones.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*TEHkqy5r3vIPBSJy" /></figure><p>Like all major organizational and work method changes, there are a few simple and relevant principles at the core, as expressed in the famous Agile Manifesto (<a href="https://agilemanifesto.org/iso/fr/manifesto.html">https://agilemanifesto.org/iso/fr/manifesto.html</a>).</p><p>These principles can be summarized for businesses by two main objectives:</p><ul><li>Resolve issues of complexity and silos in project organization.</li><li>Design and adapt products over time according to the needs of end users.</li></ul><p>This enables companies to be highly responsive to the ever-evolving digital market. Today, having an agile organization for digital projects is essential to avoid appearing as a digital dinosaur.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*6lbPoBB67bpOHFNd" /></figure><h3>An Agile Philosophy Dissolved in Tools and Methods</h3><p>As is often the case when a new work method becomes widespread, the initial spirit (in this case, strong principles rather than specific methods or tools, as indicated in the Agile Manifesto) is often diverted or, to put it more strongly, perverted.</p><p>Companies seeking transformation are looking for concrete, “ready-to-use,” and proven methods and tools. What was originally an agile approach or philosophy has transformed into highly structured organizations, methods, and tools. Rituals like Scrum and Feature Teams have become “the norm” for digital teams, regardless of the market, company size, or history.</p><p>A symbol of these new practices is the sacred sprint and its rituals. The objective is clear: at the end of each sprint, a product “can” be put in the hands of end users. However, many have turned “can” into an obligation. At the end of each sprint, the product is placed in the hands of users, even if it brings few improvements compared to the previous version (often just two weeks earlier). While it’s difficult to trace updates on websites, app stores provide a history of releases.</p><p>The table below lists the estimated update frequency of about ten “blockbuster” applications on the Apple App Store and the size of the applications.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ovSWMBJJTwXO6Yvx" /></figure><p>This table shows that most major market players are in a weekly release dynamic. The content of releases is generally labeled as “minor bug fixes and application performance optimization.” It’s practically impossible to deliver a noticeable new feature or technical improvement to users every week.</p><p>Nevertheless, such a frenzy of continuous updates is a double absurdity, first in terms of ecology and second in terms of product development.</p><h3>An Ecological Absurdity</h3><p>While digital technology has contributed in many ways to reducing pollution (by reducing travel, paper consumption, etc.), it is also a major consumer of electrical energy and raw materials (in equipment and devices construction). Global digital technology “pollutes” three to four times more than France based on the criteria evaluated.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*YVmktWVpR0h4tPUA" /></figure><p>While we have all (almost) modified our daily habits to avoid waste and protect the environment (saving electricity, water, waste sorting, etc.), the digital realm is an area where waste is not accounted for, in other words, a space of significant waste.</p><p>Although reducing or controlling digital usage will likely become a medium-term concern for brands and citizens, eliminating waste will become a very immediate concern.</p><p>Take the example of the Facebook mobile application. It is updated about fifty times a year. Application stores trigger automatic updates without any action from end users (this default setting on iOS and Android has been in place for several years, and while it can be disabled, very few users take this step).</p><p>As a result, whether the update is useful for the user or not, and whether the user frequently or rarely uses Facebook, the application is re-downloaded. This means, for an iOS user, that 12.5 GB are downloaded each year for just updating the Facebook app (not counting usage). Taking into account compression and partial downloads, the total can be estimated at 3–4 GB.</p><blockquote>Assuming that active iOS users of Facebook (iPhone + iPad) in France number around 15 million (this is an estimation and may not be entirely accurate but is representative for this calculation), if French iOS Facebook users disabled automatic app updates, switching from a weekly to a monthly schedule, it would save 20 to 30 petabytes of data transmitted over the network and devices annually, equivalent to at least 1500 tons of CO2. This is as much as 1500 round trips from Paris to New York, or the emissions of five fully loaded airplanes.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Nw7O6vmNNxhJhNcT" /></figure><p>By simply disabling automatic application updates, users lose very little but take a first step toward more efficient digital consumption. The next step is more challenging: changing usage patterns, reducing video quality for content, refraining from sending unnecessary photos or videos, etc.</p><p>Users can also expect application developers to optimize the size of their applications and updates to the maximum, and reduce the frequency of updates. They can request that Google and Apple set the default for automatic updates to off and make it smarter based on the frequency of app usage.</p><h3>A Product Absurdity</h3><p>Beyond environmental considerations, such a rapid update cycle doesn’t seem beneficial from a product perspective:</p><ul><li>It’s impossible to introduce new features so regularly without overwhelming the user (an app should be simple enough to be effective).</li><li>While improvements to user experience, performance, and bug fixes can be gradual, they cannot justify an update every two weeks. This indicates difficulty in producing a high-quality application.</li><li>The time spent submitting an application (regression testing, feature selection for the version) inevitably reduces the Project team’s velocity.</li><li>Continuous delivery doesn’t allow enough time for teams to properly analyze user feedback and technical performance indicators.</li></ul><blockquote>In many B2C market players, there’s a significant imbalance between the time spent in upfront design/product evolution and the time spent analyzing market behavior afterward. The product is always evolving.</blockquote><p>It’s challenging to gauge marketing and technical performance under these conditions. The high release rate also generates its share of regressions and bugs, which must be resolved in the next sprint, maintaining an infernal pace.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*pAjhYOH6syBQxV-D" /></figure><p>While short iterations, adapted as the project progresses, have undoubtedly brought many positives to projects, it is regrettable that every iteration results in a publication. Paradoxically, this doesn’t improve the product’s maturity and quality.</p><p>It seems necessary to break the cycle of continuous publishing:</p><ul><li>By limiting the number of application releases so that each one brings a real concrete benefit to users. Releases should be irregular and spaced further apart.</li><li>This doesn’t prevent teams from maintaining short sprints or iterations but without the systematic pressure of “going live.”</li><li>The nature of sprints should be diversified, allowing more time for user behavior analysis, technical performance analysis, etc., by the teams that handle development.</li></ul><h3>Conclusion</h3><p>The digital realm is entering an era of maturity and responsibility. Continuous publications, on the web or in application stores, for many publishers, are an initial symbol that needs to change in digital culture. Publishers must slow down the pace of releases, think twice before publishing, and take into account that unnecessary data is being transferred on the internet, causing pollution. Although this pollution is minimal for individual users, it becomes significant on a larger scale.</p><p>“Reasoned” publishing should also place a greater emphasis on quality and the analysis of user behavior in production. Apple and Google should educate the market and integrate sustainability into the user experience. The convenience of automatic app updates may not have been an ecological advance; it needs to be reconsidered, deactivated by default, or made active only for the most frequently used apps.</p><p>This is the first step toward a more sustainable digital future, which will become increasingly essential for market players and consumers in this new decade.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=607482d029e9" width="1" height="1" alt=""><hr><p><a href="https://medium.com/inside-app/laberration-de-la-publication-continue-607482d029e9">L’aberration de la publication continue</a> was originally published in <a href="https://medium.com/inside-app">inside|app</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Faites perdre du poids à vos Apps mobiles !]]></title>
            <link>https://medium.com/inside-app/faites-perdre-du-poids-%C3%A0-vos-apps-mobiles-aa8adf530bda?source=rss----b0771b422e60---4</link>
            <guid isPermaLink="false">https://medium.com/p/aa8adf530bda</guid>
            <category><![CDATA[ios-app-development]]></category>
            <category><![CDATA[technical-debt]]></category>
            <category><![CDATA[mobile-apps]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <dc:creator><![CDATA[Vincent Frattaroli]]></dc:creator>
            <pubDate>Tue, 12 Jan 2021 17:37:23 GMT</pubDate>
            <atom:updated>2023-10-26T09:09:57.510Z</atom:updated>
            <content:encoded><![CDATA[<h3>Slim Down Your Mobile Apps!</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*4WWprhJi4ow6VdvR" /></figure><p>With the increasing storage capabilities of iOS devices, the size of our applications has inevitably followed the same trend. This observation was highlighted in a report by Sensor Tower. Between 2013 and 2017, the size of the top 10 apps on the App Store increased on average by over 1000%.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*cRfvZjzKRRif1Xkg" /><figcaption>Source : Sensor Tower, 2017</figcaption></figure><p>Apple has also adapted its initial rule regarding the maximum size limit for downloading applications over the cellular network, doubling this limit within two years, setting it at 200 MB.</p><p>Despite this “natural” market trend, reducing the size of applications offers numerous advantages:</p><ul><li>Reduced data consumption on networks, allowing users to download their updates more quickly (especially in the case of mandatory updates) and contributing to a more environmentally friendly and resource-efficient digital environment.</li><li>Optimization of the space occupied by the application in the phone’s memory.</li><li>Lower technical maintenance costs: the heavier the application, the more it incorporates code and/or third-party libraries, which are sources of maintenance costs (but also bugs).</li></ul><p>Today, a report on application size already exists on App Store Connect. Thanks to the optimizations already enabled by default on your project, the size of your application will be optimized according to the target platform. It’s common to have a larger application on iPad or on an older OS compared to the latest iPhones or up-to-date OS.</p><p>This report can also be generated directly from Xcode when deploying the application to the App Store. To do this, once the archive for the application is created, you simply need to export it as Ad Hoc, Development, or Enterprise application and select the following options. The detailed size report (App Thinning Size Report) will then be provided along with the application artifacts.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/724/0*MLvq5fPL2kBr1PDU" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/816/0*07ZJwAJ1IMNFFMGC" /></figure><p>However, it is possible to go further with these optimizations or ensure their implementation. Here are some ways to achieve this on iOS.</p><h3>The Main Lever: Introduce Bitcode</h3><p>Since iOS 9, Apple introduced the concept of Bitcode into the development flow of iOS applications. Bitcode is an intermediate representation of a compiled program, halfway between source code (Swift, Objective-C) and machine code (0 and 1). iOS applications that enable Bitcode will be recompiled by the App Store upon upload.</p><p><strong>What does it allow?</strong></p><p>Similar to <strong>slicing</strong>, which removes assets not intended for our device, Bitcode allows the removal of compiled code that is not useful for our device’s architecture.</p><blockquote><strong>This can result in up to a 50% reduction in the application binary size.</strong></blockquote><p>But the advantages go beyond that. Apple will optimize the application (this Bitcode), and it can repeatedly optimize it automatically without the need for resubmission when compiler optimizations (LLVM) are made. Those who don’t publish regularly can benefit from the latest optimizations. This is also why Bitcode is mandatory for watchOS and tvOS applications, to enable regular optimization for these specific platforms.</p><p>However, there is a major constraint for enabling Bitcode on iOS: all dependencies used by the application must also have it enabled. This can be problematic for proprietary private dependencies.</p><h3>Swift 5 to Reduce Size and Future Technical Debt</h3><p>The arrival of Swift 5 in March 2019 further established its predominant role in the iOS ecosystem, introducing the concept of “binary stability.” Until then, applications using Swift suffered from a significant limitation. Due to the young age of the language, it was not stable; it was in constant evolution. To avoid compatibility problems between versions, Apple decided to embed the Swift binaries used by the application (Foundation, etc.) in every iOS application. The major drawback of this approach was the cost in terms of size; all applications had to include several megabytes of Swift binaries.</p><p>With Swift 5, the language was made stable. Thus, applications no longer embed Swift binaries and can use those directly included in iOS. This also means that an application compiled with a certain Swift version will be compatible and can use an external library compiled with a different Swift version.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/548/0*zvoF9fz7QdbGyV1A" /><figcaption>Source : swift.org</figcaption></figure><p>This can lead to saving several megabytes, with a minimum of 5 to 7 MB or even more if multiple Swift libraries are used.</p><blockquote><strong>Some applications can thus reduce their size by nearly 10%.</strong></blockquote><h3>Assets</h3><p>The Assets Catalog has been introduced for a few years with Xcode 5 and iOS 7 (2013). They allow, among other things, to:</p><ul><li>Adapt image resources according to the targeted device type. For example, screens with higher pixel density (iPhone X) will use images provided in @3x, while screens with lower pixel density (iPhone XR) will use @2x images.</li><li>Define resizable areas on certain images, making it possible to obtain lighter button backgrounds adaptable to any size.</li><li>Benefit from compression options depending on the resource types.</li></ul><p>With all these combined elements, the App Store can offer applications containing only resources intended for the relevant devices.</p><p>However, it’s important for publishers to ensure that only resources genuinely used by the application are effectively integrated. Xcode and the use of the Assets Catalog do not guarantee that integrated resources are actually used by the application.</p><h3>On-Demand Resources</h3><p>For a resource-intensive application path or for resources that are rarely used, it’s possible to adopt mechanisms for on-demand resource downloads. A simple implementation, for example, is to initiate the download of the relevant resources before displaying the related content or performing these actions in the background.</p><p>For Apple platforms, it’s also possible to adopt a specific solution: “On-Demand Resources.” With this implementation, the publisher can create a resource pack to submit to the App Store. These resources are not integrated into the application, reducing its size. The application can then retrieve them separately when needed.</p><p>However, the adoption of On-Demand Resources will require specific work for Apple platforms on the application side and on the server side during development. It will be necessary to adhere to Apple’s prerequisites for hosting these resources in the production environment of the App Store. However, the benefits after deployment are undeniable:</p><ul><li>Resources can be hosted on the App Store.</li><li>The download size of these resource packs will be optimized with the same mechanisms as the Assets Catalog (if they are used).</li><li>Lazy-loading of resources: their download is only initiated when needed.</li><li>It complements well with features only active during in-app purchases (e.g., a pack of emoticons available only to users with a subscription).</li></ul><h3>Optimize Differential Downloads by Only Modifying Necessary Files and Folders</h3><p>During application updates, the App Store compares the installed version on your device and the version you want to install, creating a <strong>delta package</strong>. This package contains only the changes between the two versions, minimizing its size.</p><p>To maximize the use of this feature, it is recommended to modify only the necessary files and folders, whether it’s the code itself or the assets. For significant code refactoring that doesn’t necessarily bring new features, it’s better to keep these changes for major updates, which will create a larger <strong>delta package</strong>.</p><h3>Clean Up Third-Party Dependencies</h3><p>For most applications, the majority of their size is concentrated in their dependencies. It’s essential to question whether you are fully leveraging each of your dependencies or if you genuinely need them. For example, if your application makes few network GET calls, it’s probably unnecessary to integrate a network library, as iOS provides plenty of resources in this regard that have proven themselves.</p><p>Reactive programming is trending, and you might integrate one of the many dependencies implementing this principle, even if you only use a fraction of their capabilities. This could be an opportunity to switch to Combine, Apple’s new framework offering equivalent features (assuming you support iOS 13 or newer).</p><p>These are just two examples among many, but it’s interesting to apply the same reasoning to each of your dependencies. Optimizing third-party dependencies will not only reduce the size of your application but also decrease the maintenance costs incurred by successive updates, bug fixes, security vulnerabilities, or the need for replacement when they become outdated.</p><h3>Conclusion</h3><p>At the inception of the App Store and mobile applications, the size of applications was quickly pushed down the list of technical priorities. Nevertheless, it is an excellent indicator of the healthy technical management of an application: a significant increase in your application’s size often results in expensive technical debt and increased user dissatisfaction.</p><blockquote>Optimizing the size of mobile applications can be an excellent way to combine user <strong>satisfaction</strong>, <strong>digital sobriety</strong>, and <strong>reduced technical maintenance</strong> costs.</blockquote><p>We encourage you to conduct a study on optimizing the size of your applications and ensure that it does not significantly increase over time.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aa8adf530bda" width="1" height="1" alt=""><hr><p><a href="https://medium.com/inside-app/faites-perdre-du-poids-%C3%A0-vos-apps-mobiles-aa8adf530bda">Faites perdre du poids à vos Apps mobiles !</a> was originally published in <a href="https://medium.com/inside-app">inside|app</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[React Native, la webview 2.0]]></title>
            <link>https://medium.com/inside-app/react-native-la-webview-2-0-9b9bb973cff2?source=rss----b0771b422e60---4</link>
            <guid isPermaLink="false">https://medium.com/p/9b9bb973cff2</guid>
            <category><![CDATA[react-native]]></category>
            <category><![CDATA[webview]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <dc:creator><![CDATA[Gilles Grousset]]></dc:creator>
            <pubDate>Mon, 02 Mar 2020 22:07:45 GMT</pubDate>
            <atom:updated>2023-10-26T09:43:48.482Z</atom:updated>
            <content:encoded><![CDATA[<h3>React Native, the WebView 2.0</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZrK6_Qad2CdDNUARd6zFQg.jpeg" /></figure><p><em>You probably already use them in your applications: webviews… Most likely to display content screens, often to share “pages” with your website, and sometimes even to create a complete application: webviews.</em></p><h3>Webview: a versatile component</h3><p>The webview is one of the oldest components in mobile development, and its principle is simple: it allows you to integrate a “web browser” into a screen, enabling the development of pages using web technologies (HTML/JS/CSS) within a native application.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/850/0*UC7UC0fcu0jBByIZ" /></figure><h4>Various uses</h4><p>Excluding “shell” applications (applications consisting of a single webview to encapsulate an entire website), webviews have various applications:</p><ul><li>To display static content screens (such as terms and conditions).</li><li>To display complex screens shared with the website, which can be instantly updated without going through the app store publication process (like transactional flows such as e-commerce checkout processes).</li><li>To view related websites without leaving the main application.</li></ul><h3>The limitations</h3><p>Although very effective for sharing functionality between mobile platforms or between web and mobile experiences, webviews have their drawbacks. You may have already noticed this while using certain applications. Firstly, their performance is inferior to native screens since they execute interpreted code (unlike native, which uses compiled code). This can result in “freezes” during the initial page rendering or a slightly laggy scrolling experience.</p><p>Additionally, there may be additional network loading time when the page’s code is not integrated into the application and must be fetched from a server. Depending on the quality of the connection, this could take several extra seconds. Furthermore, transitions between native screens and webviews are often quite visible. The visual design and behavior of the service may differ slightly.</p><p>Navigation can also be confusing, as webviews have their own navigation (moving from one web page to another within the same webview), just like the encapsulating application. Often, it’s difficult to determine the effect of the “back” button in a webview — will it go back to the previous webview page or exit the webview altogether? It all depends on the app’s design.</p><h3>React Native: A Viable Alternative</h3><p>React Native is a cross-platform development framework (one codebase for both iOS and Android) that uses JavaScript to generate applications with a native look and feel.</p><p>Very popular lately, it utilizes “bindings” to allow the use of native platform UI components with JavaScript.</p><h3>As effective as a webview?</h3><p>Similar to a webview, React Native offers the following advantages:</p><ul><li>Write code once to target iOS and Android (but not shareable with the web, unlike HTML pages).</li><li>Mix React Native screens with native screens within the same application.</li><li>Update a screen without resubmitting a new version of the application (possible via Microsoft’s CodePush solution, while adhering to Apple’s guidelines on the matter — section 3.3.2).</li></ul><h3>Better than a webview?</h3><p>React Native also allows you to overcome the limitations of webviews:</p><ul><li>It produces a native rendering, making the performance of React Native screens very close, if not identical, to native screens.</li><li>Since React Native uses native components, there is no discernible seam in the user experience.</li></ul><h3>In conclusion</h3><p>Over the past decade, the webview has often been the number one component for sharing development across various platforms and channels. However, this has often left users disappointed by the experience and performance of this solution.</p><p>React Native can resolve this age-old dilemma by offering the same flexibility as a webview while providing an experience very close to native.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9b9bb973cff2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/inside-app/react-native-la-webview-2-0-9b9bb973cff2">React Native, la webview 2.0</a> was originally published in <a href="https://medium.com/inside-app">inside|app</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[L’intégration continue iOS à échelle]]></title>
            <link>https://medium.com/inside-app/lint%C3%A9gration-continue-ios-%C3%A0-%C3%A9chelle-2b089d2547c0?source=rss----b0771b422e60---4</link>
            <guid isPermaLink="false">https://medium.com/p/2b089d2547c0</guid>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[continuous-integration]]></category>
            <dc:creator><![CDATA[Gilles Grousset]]></dc:creator>
            <pubDate>Tue, 14 Jan 2020 13:23:42 GMT</pubDate>
            <atom:updated>2023-10-26T09:54:31.087Z</atom:updated>
            <content:encoded><![CDATA[<h3>Continuous Integration at Scale for iOS</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BIE9IAjsYTjS6Jn03dh5zQ.jpeg" /></figure><p>[Version updated in 2023]</p><p><em>If you’re a professional iOS (or macOS) app developer, you probably use a continuous integration tool to automate testing, signing, and delivering your applications. However, those who have dealt with setting up and maintaining such a pipeline will tell you that continuous integration in the Apple world is not straightforward.</em></p><h3>Continuous Integration</h3><p>Continuous integration is like the conductor orchestrating the automation of repetitive technical tasks to save time and enhance the delivery process.</p><h4>How It Works</h4><p>A continuous integration platform generally follows a consistent structure:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*tCMHMhXDg4rhtSFz" /></figure><p>The master server centralizes the parameters and triggers processes on appropriate runners.</p><p>Runners provide the environment required to execute requested processes. They consist of an OS and various additional tools for compiling, testing, analyzing, or deploying applications.</p><p>Each runner has a limited number of slots (the number of jobs it can process in parallel), determined based on its hardware capabilities (CPU, RAM, disk space).</p><p>To increase the processing capacity of continuous integration, you need to either upgrade the hardware or add more runners.</p><h4>Types of Jobs</h4><p>Continuous integration platforms typically operate at three levels during the development process:</p><ul><li><strong>Continuous compilation</strong>, which involves recompiling and retesting (including replaying unit tests) the entire application every time the codebase changes. This helps detect errors and regressions early.</li><li><strong>Analysis</strong>, which involves periodic compilation, running all tests, and using various analysis tools to generate metrics related to the application’s quality (code, performance, security, etc.).</li><li><strong>Delivery</strong>, which can be automated (publishing changes to a source code repository branch) or manual. It involves signing the application (a mandatory step for iOS app deployment, even for testing purposes) and publishing it on an app store or distribution platform for testers or end-users to access.</li></ul><h4>Continuous Integration for iOS</h4><p>The steps described above are combined to create a typical continuous integration process for iOS, as illustrated below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*QJXH5J1khGlcgtCG" /></figure><p>In addition to outlining the stages of continuous integration for iOS, this diagram details the tools typically used to perform the necessary processes. It’s apparent that Apple provides the bare minimum to build a continuous integration pipeline.</p><p>While other platforms (such as Android and web) offer build management/task runner tools to facilitate automation at each stage, iOS developers need to juggle several command-line tools (with some created by the community to fill the gaps) to achieve the same results.</p><p>Thus, setting up a complete and reliable continuous integration process for iOS is not simple, and it has direct implications for the choice of the continuous integration solution and its maintenance (updates, capacity increases).</p><h3>Apple’s Solution: Xcode Cloud</h3><p>Since 2022, Apple has offered its own integrated continuous integration solution within Xcode: Xcode Cloud.</p><p>This solution simplifies handling continuous integration tasks for Apple devices without leaving the Xcode environment.</p><p>Its advantages include being maintenance-free, requiring no DevOps skills, and having more competitive pricing than Bitrise.</p><p>However, it is less flexible than traditional continuous integration solutions and only caters to Apple devices, necessitating another CI system to handle other platforms.</p><h3>Other Market Solutions</h3><p>The number of continuous integration solutions continues to grow. These solutions can be categorized into three groups based on their iOS support capabilities:</p><h4>Full Saas Solutions</h4><p>These solutions allow you to outsource your entire Apple continuous integration pipeline (both the master and runners) to the cloud, eliminating hardware constraints and maintenance.</p><p>Examples: Bitrise, CircleCI.</p><h4>On-Premises Solutions:</h4><p>These are classic solutions where the entire pipeline is installed locally (both the master and runners). They provide full control but require heavier maintenance and the purchase of Macs to build your runners.</p><p>Examples: Jenkins, TeamCity.</p><h4>Hybrid Solutions</h4><p>Hybrid solutions are a mix of the previous two categories. They are SaaS offerings that don’t support Apple environments, requiring you to connect your Macs to access Apple support (the master and possibly Linux runners are offered as SaaS, but you can add specific runners as needed).</p><p>Example: GitLab CI (gitlab.com).</p><h4>Choosing the Right Solution</h4><p>Each solution has its advantages and disadvantages. Below is a summary table to help you make a more informed choice:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*wbSJqwhlUhOUuyuR" /></figure><p>If you already have a continuous integration platform for other technologies like web (front-end or back-end), consider its ability to support mobile platforms, which can simplify maintenance and operation.</p><h3>Multiple Runner Management</h3><p>If you require multiple runners for continuous integration, you should consider using virtualization to streamline their management.</p><h4>Complex Maintenance</h4><p>When you have only one runner, it remains relatively simple. However, it’s highly likely that a single runner won’t suffice to handle all the requests promptly, especially last-minute delivery demands.</p><p>Beyond managing a single runner for iOS, maintenance time significantly increases because you’ll need to synchronize your scripts and tools on two different machines. This becomes a laborious and repetitive manual task, which can lead to disparities between your runners at the slightest deviation, resulting in unpredictable behavior in your continuous integration pipeline.</p><h4>Automating Runner Management</h4><p>To simplify, expedite, and enhance this maintenance process, most runners are structured as Docker containers. This format facilitates scripting the creation of environments, building them, and deploying them.</p><p>Unfortunately, Docker cannot containerize macOS…</p><p>The closest solution is therefore automatic provisioning of virtual machines using Vagrant and VirtualBox (or VMWare). Vagrant is a tool for scripting the creation of a virtual machine, meaning the installation of a base image including the operating system and additional tools.</p><p>VirtualBox and VMWare, on the other hand, are two virtualization solutions (capable of running virtual machines) available on macOS.</p><p>Certainly, this solution is heavier than Docker (with longer machine creation times, increased disk space usage, and reduced performance due to virtualization). Nevertheless, it retains the main benefit of ensuring the reliability and automation of machine/runner creation.</p><p><strong>For your convenience, I’m providing a Vagrant script </strong><a href="https://github.com/insideapp-oss/xcode-gitlab-runner"><strong>here</strong></a><strong> that allows you to create a runner for GitLab CI with a single command. You’re free to enhance or modify it to suit your specific needs.</strong></p><h3>In Conclusion</h3><p>Continuous integration is a crucial tool for mobile app development in a professional environment. It’s important to consider the available solutions to build a platform that meets your requirements and constraints. Maintenance efforts for your continuous integration platform should not be underestimated, as it requires continuous updates to incorporate new features and support the latest compilation tools.</p><p>Setting up continuous integration for iOS can be relatively complex depending on your environment. Moreover, it requires Mac machines to function. If your continuous integration needs lead to setting up multiple iOS runners, consider using virtualization to simplify their management.</p><p><em>Note that I have intentionally focused on iOS continuous integration in this article.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2b089d2547c0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/inside-app/lint%C3%A9gration-continue-ios-%C3%A0-%C3%A9chelle-2b089d2547c0">L’intégration continue iOS à échelle</a> was originally published in <a href="https://medium.com/inside-app">inside|app</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SwiftUI vs React Native vs Flutter : qui démarre le plus vite ?]]></title>
            <link>https://medium.com/inside-app/swiftui-vs-react-native-vs-flutter-qui-d%C3%A9marre-le-plus-vite-de9acdbe57a?source=rss----b0771b422e60---4</link>
            <guid isPermaLink="false">https://medium.com/p/de9acdbe57a</guid>
            <category><![CDATA[react-native]]></category>
            <category><![CDATA[swiftui]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[développement-mobile]]></category>
            <dc:creator><![CDATA[Gilles Grousset]]></dc:creator>
            <pubDate>Mon, 06 Jan 2020 10:47:50 GMT</pubDate>
            <atom:updated>2023-10-26T09:59:07.877Z</atom:updated>
            <content:encoded><![CDATA[<h3>SwiftUI vs React Native vs Flutter: Who Boots Up Faster?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*bBu32cnirqUlKU2D" /></figure><p><em>Let’s imagine a Sergio Leone-style showdown involving three different technologies for the same platform. Who will draw the fastest?</em></p><p>Cross-platform mobile development, which involves writing a single codebase for both iOS and Android, remains a hot topic. While this promise isn’t new, there have been significant advancements in this area over the past four years. It’s time to revisit the performance of each solution when compared to native development.</p><p>So, I decided to conduct a simple performance test by building the same application with three different technologies to evaluate the speed of app launch. App launch speed, which refers to the time between tapping the app icon and displaying the first screen with initial data (excluding the splash screen), is a critical key performance indicator (KPI) for any application. If it takes too long (around more than 3 seconds), the probability of users uninstalling the app in the minutes that follow is very high.</p><h3>The Competitors</h3><h4>React Native: The Most Mature</h4><p>The renaissance of cross-platform mobile development began a few years ago with React Native, driven by Facebook. It enables app development using the ReactJS web framework (with its declarative UI concept). It executes JavaScript but generates a native rendering thanks to “bindings” to native graphical components.</p><h4>Flutter: The Rising Star</h4><p>More recently, Google’s solution, Flutter, entered the race to address the same issue. It incorporates a shared graphical rendering engine (Skia) and a less-known language, Dart. It’s worth noting that, unlike React Native, Flutter’s code is natively compiled (AOT) rather than interpreted.</p><h4>SwiftUI: The Future of Native iOS Development</h4><p>SwiftUI is Apple’s new native development framework. Based on declarative UI, like its two competitors, it’s designed to provide the best integration with iOS.</p><h3>The Test</h3><p>The test app performs the following actions upon startup:</p><ul><li>Loads a screen</li><li>Sends an HTTP request to an API</li><li>Deserializes the JSON response (an array of 17 complex objects)</li><li>Displays the data on the screen</li></ul><p>The test is conducted on an iPhone 11 Pro running iOS 13.3.</p><p>The API is served by a minimalist HTTP server installed on the local network.</p><p>Time is measured with a stopwatch from tapping the app icon to displaying the data on the screen.</p><p>The test is run five times for each technology, with the app being completely restarted for each test, and HTTP caches are disabled.</p><h3>The Results</h3><p>Without further ado, here are the results (in hundredths of a second):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*0aqFWAS7QcLgPh1T" /></figure><p>Measuring time on such short intervals can be challenging, and there were occasional remeasurements.</p><p>However, a slight trend emerges: SwiftUI appears to be the fastest (by a small margin) compared to Flutter.</p><p>Not surprisingly, React Native is the slowest, though this was noticeable even without a stopwatch.</p><h3>Conclusion</h3><p>I conducted this test out of personal curiosity, and I do not claim to possess an absolute truth. Nonetheless, it has allowed me to confirm the excellent performance of Flutter while reassuring on React Native’s performance, which, while not the fastest, offers entirely satisfactory performance.</p><p>Ultimately, this test demonstrates the progress made in the field of cross-platform development in recent years, bringing the boundary between cross-platform technologies and native development closer than ever before.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=de9acdbe57a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/inside-app/swiftui-vs-react-native-vs-flutter-qui-d%C3%A9marre-le-plus-vite-de9acdbe57a">SwiftUI vs React Native vs Flutter : qui démarre le plus vite ?</a> was originally published in <a href="https://medium.com/inside-app">inside|app</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Vers des applications eco-responsables]]></title>
            <link>https://medium.com/inside-app/vers-des-applications-eco-responsables-e448fb8a4b19?source=rss----b0771b422e60---4</link>
            <guid isPermaLink="false">https://medium.com/p/e448fb8a4b19</guid>
            <category><![CDATA[durable]]></category>
            <category><![CDATA[apps]]></category>
            <category><![CDATA[digital-transformation]]></category>
            <category><![CDATA[green-it]]></category>
            <dc:creator><![CDATA[Vincent Frattaroli]]></dc:creator>
            <pubDate>Fri, 03 Jan 2020 22:14:05 GMT</pubDate>
            <atom:updated>2023-10-27T08:17:14.199Z</atom:updated>
            <content:encoded><![CDATA[<h3>Towards Eco-Friendly Applications</h3><p><em>Energy transition and ecological considerations are increasingly becoming part of corporate governance and digital strategies</em><strong>.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*jzCKHiflPxiONUJA" /></figure><p>For a long time, digital transformation projects largely overlooked environmental concerns. Digital technology enabled dematerialization and reduced the need for physical travel, making it inherently eco-friendly.</p><p>The first significant realization revolved around the energy consumption of data centers, which are notoriously power-hungry.</p><p>Subsequently, studies revealed that the overall energy consumption of digital technology (including data centers, enterprise servers, network equipment, and devices) was substantial and rapidly increasing. Digital technology was estimated to consume nearly 10% of the world’s electricity and account for almost 4% of global CO2 emissions in 2019 (for comparison, France is responsible for 0.9% of global CO2 emissions, and India contributes 6%).</p><p>The environmental concern shifted from the energy consumption of digital technology to the environmental impact of manufacturing devices, servers, and network equipment.</p><p>The rapid growth of smartphones and connected devices, in particular, was found to have significant environmental consequences, including the risk of depleting “rare” minerals and metals (it takes 70 kilograms of raw materials to manufacture a 200-gram smartphone), with very limited recycling rates (less than 5% of a smartphone’s weight is recycled in France).</p><h3>Environmental footprint of digital technology: it’s hard to see it clearly</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*AIgWUqNjw7hs1YSt" /></figure><p>Assessing the environmental footprint of digital technology is a complex endeavor, and non-experts often find it challenging to gauge the impacts and issues.</p><p>Studies and statistics can vary significantly, given the multitude of parameters and complexities involved. The overall environmental impact of digital technology should be evaluated by considering both its costs and savings. The digital domain is so intricately woven into the economy and daily life that measuring its overall energy balance is a formidable task.</p><p>Some studies emphasize the indirect savings brought about by digital technology:</p><ul><li>Reduced manufacturing and mail delivery costs</li><li>Energy savings through smart buildings</li><li>Reduced travel due to telecommuting and e-commerce</li><li>Decreased commuting time thanks to GPS</li><li>Fewer car journeys due to carpooling, scooters, and other electric vehicles made possible by smartphones</li><li>Environmental protection apps that help users act more responsibly</li></ul><p>Others point out the risk of a surge in the number of devices and associated consumption, particularly smartphones and connected devices. On the other hand, some argue that these devices consume much less energy than PCs and replace traditional equipment like cameras, alarm clocks, and GPS devices.</p><p><a href="https://decrypterlenergie.org/la-revolution-numerique-fera-t-elle-exploser-nos-consommations-denergie">A study by the negawatt association</a> suggests that digital technology saves 2 to 3 times more primary energy than it consumes, while other studies claim it struggles to balance its expenditures with the savings, which are challenging to estimate (as confirmed by an <a href="https://medium.com/r?url=https%3A%2F%2Fwww.ademe.fr%2Fsites%2Fdefault%2Ffiles%2Fassets%2Fdocuments%2Fademe_contribution_du_numerique_rapport_final.pdf">Ademe study in 2016</a>).</p><h3>The Duty to Do Better</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*6DOcYlUwjEdh0Sne" /></figure><p>It’s evident that both professionals in the field and consumers have given little thought, or very little, to these concerns.</p><p>Even if the overall “ecological” impact of digital technology proves to be positive for the environment (i.e., digital technology generates more savings than its emissions), we have an obligation to do better from an ecological standpoint — to consume less and pollute less.</p><p>While attention has mainly focused on the most visible sources of pollution (data centers and device manufacturers), it’s because these offer the most immediate opportunities for savings. They are also perhaps the simplest to address, which delays the necessary actions for most businesses and consumers.</p><p>Application developers and users must now take part in the broader effort.</p><h3>Changing Terminal Purchasing Habits</h3><p>I won’t delve into the ‘pollution related to manufacturing’ aspect of terminals here, even though it’s very significant, especially with smartphones (accounting for three-quarters of their overall environmental footprint according to an Ademe study). In summary, consumers will need to, in the future:</p><ul><li>Be willing to renew their terminals less frequently</li><li>Make an effort to recycle them (stop keeping old smartphones in the closet ‘just in case they come in handy’)</li><li>Demand genuine environmental policies from manufacturers</li></ul><p>Manufacturers have made progress in this area, with initiatives like recycling old smartphones, battery replacement programs, and the increasing use of recycled materials. For instance, Apple has committed to developing iPhones that use 100% recycled or renewable materials in the future. However, there is still a long way to go.</p><h3>Adopting an Eco-Design Approach</h3><p>Eco-design involves conceiving and developing a digital service in a way that minimizes resource usage across the entire chain (servers, network, terminal):</p><ul><li>Reducing data transfer over the network as much as possible</li><li>Limiting the number of server calls</li><li>Minimizing CPU and memory consumption on servers and terminals</li></ul><p>There are three levels of actions to consider:</p><p><strong>1/ Addressing Technical Aspects Only</strong></p><p>This involves optimizing the service by:</p><ul><li>Managing the number and types of server processes (the quantity of requests, database access, file size, compression, caching, and selecting less resource-intensive technologies)</li><li>Reducing the amount of data transmitted over the network (request concatenation, network caching, optimizing bandwidth usage)</li><li>Minimizing data consumption on the terminal (selecting frontend frameworks for data processing and display optimization)</li></ul><p>The architectural and framework choices may vary when considering environmental aspects.</p><p><strong>2/ Addressing Design and Content</strong></p><p>A minimalist interface with fewer images, no videos, and limited graphic animations is naturally more resource-efficient than a rich interface that extensively employs videos. In cases where functionality isn’t necessarily at stake, the interface and content richness can lead to significant gains.</p><p>It’s evident that the ‘mobile-first’ approach, which has become widespread on the entire web, is more environmentally friendly compared to traditional desktop web designs.</p><p><strong>3/ Addressing Functionality as Well</strong></p><p>Opting to reduce features to limit service usage to what is essential can have a much more significant impact on the developer. While this may seem unthinkable for many stakeholders today, I would wager that this issue will become more relevant in the future, especially concerning the widespread use of automatically triggered videos on websites.</p><p>Despite these measures appearing to be restrictive mainly for developers, they can bring real benefits, including:</p><ul><li>Improved display performance and perceived quality for users (faster screen loading)</li><li>Reduced maintenance and development costs</li><li>A more minimalist and timeless design, leading to a more accessible service</li></ul><h3>Fostering a Culture of Moderation</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cCZlDUmhxz48pKx2V6DoQg.jpeg" /></figure><p>It now seems natural for energy providers to guide their customers toward energy conservation, despite the fact that it reduces their revenues. Some individuals are now limiting their travel destinations to reduce the pollution they generate.</p><p><strong>I am convinced that, in a few years, consumers will learn not to waste their digital habits. They will refrain from sending as many unnecessary emails, avoid posting mundane photos, and cease excessive video streaming. They will space out their visits to certain applications.</strong></p><p><strong>Gradually, the inclination toward sorting and anti-wastage will become integrated into digital behaviors and practices.</strong></p><p>This cultural shift will naturally be initiated and reinforced by application developers. For example, they will provide information on the ecological footprint of the service used (similar to the grams of CO2 per kilometer traveled in transportation). They will refrain from overburdening users with marketing campaigns aimed at increasing the number of visits and will avoid generating spikes in audience engagement. It’s interesting to note that some voices are already rising against Black Friday in this regard.</p><p>Brands will likely alter their marketing key performance indicators (KPIs), abandoning traditional quantitative data such as unique visitors, page views, and downloads, in favor of focusing on ‘efficient’ visits and reducing their digital carbon emissions. Perhaps one day, marketing departments will commit to decreasing the number of visits per user per month for certain services to create more effective sessions.</p><h3>Conclusion</h3><p>Most business strategies today are based on sustainable and responsible development approaches. Combating pollution will become a priority in every sector of the business. The digital realm will not escape this rule.</p><p>Even though it is a fantastic tool for implementing these sustainable development policies, it must become more environmentally conscious.</p><p><strong>Companies will need to support consumers in this shift from a culture of ‘digital open bar’ to prudent digital consumption.</strong></p><p>To prepare for these changes, companies must establish and implement a genuine eco-friendly digital policy:</p><ul><li>Assess the environmental footprint of their digital services</li><li>Implement an eco-design policy for applications</li><li>Define new performance indicators for their services</li><li>Raise awareness among teams about this approach</li></ul><p><strong>The mobile device, the primary tool in use, will play a crucial role in this transition. Its inherent efficiency in terms of energy, data, and design must be aligned with these changing practices.</strong></p><h3>Tools are available to assist you</h3><p>The GreenIT collective has provided comprehensive resources on web eco-design at <a href="https://collectif.greenit.fr/outils.html">https://collectif.greenit.fr/outils.html</a>. While these resources may need some adjustment for mobile apps, they serve as an excellent foundation. Additionally, solutions for measuring the energy consumption of websites and apps have emerged, such as the French solution <a href="https://greenspector.com/fr/accueil/">Greenspector</a> for mobile apps.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e448fb8a4b19" width="1" height="1" alt=""><hr><p><a href="https://medium.com/inside-app/vers-des-applications-eco-responsables-e448fb8a4b19">Vers des applications eco-responsables</a> was originally published in <a href="https://medium.com/inside-app">inside|app</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Vers un Digital “Responsable”]]></title>
            <link>https://medium.com/inside-app/vers-un-digital-responsable-903ab3768e1e?source=rss----b0771b422e60---4</link>
            <guid isPermaLink="false">https://medium.com/p/903ab3768e1e</guid>
            <category><![CDATA[ethique-numérique]]></category>
            <category><![CDATA[transformation-numérique]]></category>
            <category><![CDATA[rse]]></category>
            <dc:creator><![CDATA[Vincent Frattaroli]]></dc:creator>
            <pubDate>Wed, 18 Dec 2019 14:03:30 GMT</pubDate>
            <atom:updated>2023-10-27T08:22:36.747Z</atom:updated>
            <content:encoded><![CDATA[<h3>Towards a “Responsible” Digital Era</h3><p><em>If the ending decade was one of “Digital Transformation” for companies, it is likely that the next one will be about “Responsible Transformation.”</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RPaUmTAKsWmDMllwALQjIQ.jpeg" /></figure><h3>What is a responsible company?</h3><p>While definitions may vary, we can consider Corporate Social Responsibility (CSR) to cover the following areas:</p><ol><li>Environmental protection.</li><li>Citizen protection: safety, health, and also their freedoms and privacy.</li><li>Social impacts, particularly the fight against inequalities: gender equality, poverty reduction, combating discrimination, etc.</li><li>Economic impact, notably contributing to the local economy.</li></ol><p>Although large companies have implemented CSR policies for many years, they were not at the core of their strategy and business. This is changing and spreading, including among small businesses.</p><h3>Why a CSR Policy Becomes Strategic</h3><p>Several reasons are pushing companies to make CSR a major part of their strategy:</p><ul><li>Firstly, the pressure from consumers and customers who aim to have a positive impact on the environment and society through their consumption choices.</li><li>Anticipating future regulations and protecting against potential future “scandals,” thus mitigating long-term risks.</li><li>Attracting young employees for whom CSR is increasingly a criterion in choosing their employer.</li></ul><h3>The Digital, an Instrument of CSR Policies</h3><p>Digital technology is naturally a major instrument for CSR policies due to its growing significance in businesses in recent years.</p><p>The challenges of digital technology on CSR are numerous. I will address each issue in dedicated articles, but here is an initial summary:</p><p><strong>1/ Environmental Protection.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0vXdJQy5-2YqoH5V5YavCw.jpeg" /></figure><ul><li>Data centers, PCs, smartphones, tablets, network equipment, and more consume energy. The carbon footprint of the “digital” is estimated to contribute to 3.8% of global CO2 emissions, four times more than France.</li><li>Our (over?) consumption of devices depletes metals and natural resources.</li></ul><p>Green IT is in its early stages, and it seems clear it will be on the agenda of Chief Digital Officers and Chief Technology Officers in the years to come.</p><p><strong>2 / Respecting Consumer Liberties and Privacy</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oEpqSHbX0ZZXJqbJS-V2Rw.jpeg" /></figure><p>The General Data Protection Regulation (GDPR) is a first step toward consumers regaining control over their data. However, much remains to be done in terms of awareness among consumers and businesses, especially pure players. The real or perceived abuses by certain almost monopolistic tech giants, starting with Facebook, paradoxically served this cause before it became “too late.”</p><p><strong>3 / Impacts of Products and Services on Society</strong></p><p>Digital transformation has changed the way products and services are designed, with the advent of “user-centered” design.</p><p><strong>Tomorrow, users will expect the products or services they consume to meet their individual needs as well as align with their citizen aspirations, whether environmental or social.</strong></p><p><strong>4 / Because Without a “Responsible” Policy, There Will Be No Talent</strong></p><p>Digital enterprises suffer from a shortage of skills and labor. However, these populations, predominantly young, are the most attached to environmental and social dimensions. They increasingly seek to work for “Responsible” companies and, being in a strong position, will make responsibility one of the top criteria in choosing their employer.</p><h3><strong>Conclusion</strong></h3><p>The digital teams in companies are entering a new phase of maturity in their profession. Digital technology will no longer be at the center of the strategy but a means to transform business activities into responsible practices.</p><p>They will have to learn to not be at the center of the strategies but a means in the service of new ambitions.</p><p>Digital teams will need to conduct a self-examination of certain choices and practices, the still limited integration of environmental impact into their daily work.</p><p>They will need to rethink their working methods and design services that prioritize “citizen first” rather than “user first.”</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=903ab3768e1e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/inside-app/vers-un-digital-responsable-903ab3768e1e">Vers un Digital “Responsable”</a> was originally published in <a href="https://medium.com/inside-app">inside|app</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Le dark mode (mode sombre) permet-il d’améliorer l’autonomie de votre smartphone ?]]></title>
            <link>https://medium.com/inside-app/le-dark-mode-mode-sombre-permet-il-dam%C3%A9liorer-l-autonomie-de-votre-smartphone-2b0fe364185e?source=rss----b0771b422e60---4</link>
            <guid isPermaLink="false">https://medium.com/p/2b0fe364185e</guid>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[dark-mode]]></category>
            <category><![CDATA[mobile-apps]]></category>
            <dc:creator><![CDATA[Gilles Grousset]]></dc:creator>
            <pubDate>Mon, 02 Dec 2019 11:22:24 GMT</pubDate>
            <atom:updated>2023-10-27T08:26:00.881Z</atom:updated>
            <content:encoded><![CDATA[<h3>Does Dark Mode Improve Your Smartphone’s Battery Life?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xbewGj6LAdG8-Z7lZQB5Dg.jpeg" /></figure><p><em>Dark mode is the ability to switch from a light-themed color scheme (with a lot of white) to a predominantly black or dark gray theme. It has been available on certain applications for a few years now (for example, Twitter), and it’s now possible to use it more broadly on the latest versions of iOS and Android.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0bERcIR-KUAguz10kN_0Gw.png" /></figure><h3>The Benefits of Dark Mode</h3><p>Apart from offering a change in appearance on your smartphone, dark mode is less bright and therefore less straining on your eyes.</p><p>Additionally, since a large majority of us check our smartphones before bedtime, and we know that blue light emission in low light has detrimental effects on our vision and sleep quality, dark mode can help reduce these effects by decreasing blue light emission.</p><h3>What About Battery Life?</h3><p>In several articles, it’s also mentioned that enabling dark mode can improve your smartphone’s battery life since dark colors reduce the screen’s power consumption. However, in reality, this isn’t always true.</p><p>To understand why it’s not always true, we need to look at the screen technologies used in smartphones. Today, the majority of screens use LCD (Liquid Crystal Display), which requires a constant backlight to produce colors.</p><p>In contrast, OLED (Organic Light-Emitting Diode) technology doesn’t require a backlight because each pixel emits light. The darker a pixel, the less energy it consumes.</p><p>In summary, if you have a smartphone with an LCD screen, dark mode won’t have any impact on your battery life. However, if you have an OLED screen, dark mode can save you approximately 30% of energy.</p><p>Please note that you’ll need a relatively high-end phone like an iPhone X, XS, or 11 Pro on iOS or a Samsung Galaxy or Pixel 3 on Android to benefit from an OLED screen.</p><h3>Supporting Dark Mode in an Application</h3><p>By default, an application that doesn’t support dark mode won’t be affected by the system-level dark mode activation.</p><p>To add dark mode support to an application, Apple and Google offer similar approaches:</p><ol><li>Automatic dark mode generation: The simplest method, as the system itself tries to adapt the color palette, though the results may vary depending on the colors used and how they are managed. This approach may not handle assets like bitmap images that might not be suitable for a dark background.</li><li>Manual management of a dark theme: This method allows you to make all the necessary adjustments to support dark mode.</li></ol><p>Lastly, since dark mode support is becoming the norm, it’s essential to plan for it when developing a new application. This includes visual design (creating appropriate assets for both light and dark modes) and technical design.</p><h3>En conclusion…</h3><p>Dark mode is trendy and has the added benefit of being easier on your eyes.</p><p>While it may not directly increase your battery life unless you have a specific type of phone, its system-level support makes it a feature that is likely to become a standard in the near future.</p><p>Therefore, it’s essential to consider supporting dark mode in your applications right from the start.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2b0fe364185e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/inside-app/le-dark-mode-mode-sombre-permet-il-dam%C3%A9liorer-l-autonomie-de-votre-smartphone-2b0fe364185e">Le dark mode (mode sombre) permet-il d’améliorer l’autonomie de votre smartphone ?</a> was originally published in <a href="https://medium.com/inside-app">inside|app</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Vivre avec de la dette technique]]></title>
            <link>https://medium.com/inside-app/vivre-avec-de-la-dette-technique-5791c1ab5e55?source=rss----b0771b422e60---4</link>
            <guid isPermaLink="false">https://medium.com/p/5791c1ab5e55</guid>
            <category><![CDATA[développement]]></category>
            <category><![CDATA[craftsmanship]]></category>
            <category><![CDATA[dette-technique]]></category>
            <dc:creator><![CDATA[Gilles Grousset]]></dc:creator>
            <pubDate>Mon, 18 Nov 2019 10:25:13 GMT</pubDate>
            <atom:updated>2023-10-27T08:32:21.117Z</atom:updated>
            <content:encoded><![CDATA[<h3>Living with Technical Debt</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xuqVSAjoOI8FgCymFzm_Yw.jpeg" /></figure><p><em>The quality of an application can be likened to an iceberg: there’s what the user sees, which we can call “perceived quality,” and beneath the waterline lies what isn’t visible: “technical quality.” Often overlooked, whether intentionally or not, this hidden area holds technical debt, which, if left unmanaged, can jeopardize product roadmaps and demotivate even the most dedicated developers.</em></p><h3>The Analogy of Technical Debt</h3><p>The term “technical debt” was coined by Ward Cunningham in 1992. Borrowed from the finance context, it is used to express issues related to the design and quality of software. The level of technical debt in software directly impacts velocity and, consequently, the cost of development.</p><p>Poor design and quality can limit the code’s maintainability and introduce numerous bugs and regressions with each update. This results in increased development time (due to code complexity and the need for significant changes, often lacking automated testing). Over time, software with unmanaged technical debt will inevitably affect developers’ velocity and become more expensive.</p><p>Increasing development costs over time for a similar functional scope indicate a technical debt problem.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/872/0*HFVTuFELaIpg_je5" /></figure><p>Beyond budget and time-to-market concerns, the morale of development teams should not be underestimated. Working on a technically debt-laden project without any measures to address the issue is neither rewarding nor motivating. Falling behind the standards, spending more time on fixes than on features (often in an increasingly stressful environment) does not encourage developers to perform at their best. It can even drive them to leave, which also incurs additional costs.</p><p>A project with a high turnover of development teams is also symptomatic of a technical debt problem.</p><h3>Two Types of Debt</h3><p>Technical debt is a scourge. But why is it generated? There are many possible causes of technical debt, but they can be grouped into two categories: unintentional debt and intentional debt.</p><p><strong>Unintentional debt</strong> results from introducing poor practices into the code due to a lack of standards, insufficient architectural considerations, or team inexperience. It is more challenging to control because it’s more difficult to grasp.</p><p><strong>Intentional debt</strong>, as the name suggests, is contracted intentionally to address a specific problem, typically related to deadlines or budgets. In this case, debt is generated through shortcuts or “quick wins” to “borrow” development time. However, like any loan, it must be repaid later to avoid sacrificing the long-term technical quality of the project (e.g., planning a dedicated sprint to address it).</p><h3>Measure to Control</h3><p>All software projects have technical debt. The goal is not to eliminate it entirely but to control and manage it effectively. Since it’s challenging to improve something that cannot be measured, it’s essential to have some indicators for technical debt as early as possible in a project.</p><p>There is no foolproof, universal method to measure technical debt, and each project can create its own indicator as long as it remains consistent throughout the project’s lifecycle. It’s also possible to automate this calculation using SonarQube, the standard tool for static code analysis. SonarQube is based on code defects and the SQALE method to produce indicators on technical debt, such as debt ratio and the estimated time to repay it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/532/0*LIRyKFF9CiH1n6rk" /></figure><p>It’s important to note that technical debt is not limited to the source code but also encompasses all technical elements surrounding the project, including infrastructure and development and automation tools.</p><h3>Effectively Addressing Existing Debt</h3><p>Addressing existing technical debt in a sizable, older project without previous debt analysis can seem daunting at first. However, not all existing debt must necessarily be resolved. In software, there is code that doesn’t change, known as “legacy code”: old, non-modular, and lacking unit tests but proven stable over the years. Such code should not be addressed, as it would introduce unnecessary risks and costs to the project.</p><p>It can be more beneficial to encapsulate this code and create a clean interface to prevent contamination with cleaner code in the future. Like non-evolving code, it’s also essential to assess the longevity of indebted code modules and evaluate the need to address debt in modules that will be abandoned or rewritten in the short or medium term.</p><p>Regarding the treatment of existing debt, two practices should be considered based on the project’s goals and the impact of the debt. The first is applying Robert C. “Uncle Bob” Martin’s Boy Scout Rule, which involves cleaning up existing debt in each source file you modify during maintenance or software evolution (ideally, writing missing unit tests). This rule, when followed by the entire team, leads to continuous debt correction.</p><p>The second practice is implementing a cleanup campaign, dedicated to reducing debt on one or more high-priority code modules. It’s a thankless and tedious task but becomes necessary when the impact of debt becomes too significant to ensure the project’s smooth progress.</p><p>A tool like SonarQube can assist in conducting this type of campaign by classifying anomalies by severity and category and tracking assignments and validation of corrections.</p><h3>Containing the Debt</h3><p>Whether at the start of a project or following a debt reduction campaign, it’s crucial to avoid falling into what I call the “clean your room” phenomenon (you’ll understand if you have children). In other words, letting new technical debt accumulate unchecked.</p><p>To prevent this, it’s necessary to establish (or ensure the proper application of existing rules) a set of standards and norms, including the following:</p><ol><li>Define development standards: Create style guides, best practice guides, README files, and other documentation to establish standards and facilitate onboarding of new developers to the project.</li><li>Introduce practices favoring quality code: Implement Test-Driven Development (TDD), pair programming, and code reviews.</li><li>Set up automated monitoring: Implement testing on a Continuous Integration platform and perform static code analysis.</li></ol><h3>Our Recommendations</h3><p>Technical debt is inherent to software development, and it exists everywhere. It has an impact on the long-term development cost of software. Ignoring it is a mistake.</p><p>At inside|app, we recommend:</p><ol><li><strong>Defining reliable indicators to measure technical debt</strong> and, most importantly, <strong>monitoring its evolution</strong> over time.</li><li><strong>Striking a balance between maintainability and overinvestment</strong> by accepting some level of debt (e.g., old code or code expected to evolve or disappear soon).</li><li><strong>Establishing development standards and practices</strong> to ensure the quality level aligns with project or organization expectations.</li><li><strong>Making the management of technical debt a motivational tool and challenge for developers</strong>, relying on measurement tools, daily feedback, and gamification mechanisms (e.g., using the Quboo tool).</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5791c1ab5e55" width="1" height="1" alt=""><hr><p><a href="https://medium.com/inside-app/vivre-avec-de-la-dette-technique-5791c1ab5e55">Vivre avec de la dette technique</a> was originally published in <a href="https://medium.com/inside-app">inside|app</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>