<?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 Ana Capatina on Medium]]></title>
        <description><![CDATA[Stories by Ana Capatina on Medium]]></description>
        <link>https://medium.com/@anikiki?source=rss-5672fbc0b6b3------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*k9XF7MaejJqVuUoLqF8WnA.jpeg</url>
            <title>Stories by Ana Capatina on Medium</title>
            <link>https://medium.com/@anikiki?source=rss-5672fbc0b6b3------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 17:09:55 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@anikiki/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[London Mobile Forum 2019]]></title>
            <link>https://medium.com/@anikiki/london-mobile-forum-2019-e829c36ef7f9?source=rss-5672fbc0b6b3------2</link>
            <guid isPermaLink="false">https://medium.com/p/e829c36ef7f9</guid>
            <category><![CDATA[learning-and-development]]></category>
            <category><![CDATA[mobile]]></category>
            <category><![CDATA[conversations]]></category>
            <category><![CDATA[tech-events]]></category>
            <category><![CDATA[company-culture]]></category>
            <dc:creator><![CDATA[Ana Capatina]]></dc:creator>
            <pubDate>Sun, 08 Sep 2019 12:36:48 GMT</pubDate>
            <atom:updated>2019-09-08T12:36:48.672Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KvrSQY1d6FY6uoy8tyOPFQ.jpeg" /><figcaption>Ace Hotel, London</figcaption></figure><p>London Mobile Forum is one of my favourite events! It’s organised by Facebook every year and structured to gather together groups of developers to discuss specific topics. I attended a few of them in the past and I was very happy and grateful for being selected to drive one of the conversations this year.</p><h3>Structure</h3><p>The day was split in 2 sessions, one in the morning and one in the afternoon. In each session 4 speakers took 5 minutes each to present their topic in front of the audience (~50 people). At the end of presentations everyone split into groups and headed to different rooms to discuss the chosen topics.</p><h3>Topics</h3><p><strong>How do mobile developers keep up with technology?</strong> Ana Capatina (Deliveroo)</p><p><strong>Is SwiftUI ready for adoption?</strong> Zeyad Salloum (Facebook)</p><p><strong>Android dependency injection: Dagger vs Koin: JSR330 vs Service Locator </strong>Miguel Sesma (Touch Surgery)</p><p><strong>Modularisation in iOS</strong> Katya Trofimenko (Badoo)</p><p><strong>Reactive UIs — problems, solutions and best practices</strong> Florina Muntenescu (Google)</p><p><strong>Automated UI testing on iOS</strong> Shuaib Muhammad Khan (Amazon)</p><p><strong>Developing Android Hardware</strong> Nick Shearer (Facebook)</p><p><strong>How can developers on different platforms work together?</strong> Sophie Lambrakis (The Guardian)</p><h3>Ana Capatina on Twitter</h3><p>Arrived very early as I was so excited to drive the conversation around keeping up with technology at #LMF19 🎉🎉🎉</p><p>I was the first to start and decided to engage with the audience by displaying various announcements made at Google I/O and WWDC in the last few years. Then I asked for hands to be raised once 3 topics that picked up interest at some point were seen.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0ZEQfsZdCK8QAWQUKaHygA.jpeg" /></figure><h3>My session — How do mobile developers keep up with technology?</h3><p>We were 14 people in total, from 10 companies: Bloomberg, American Express, Babylon Health, Depop, Facebook, Skyscanner, Deliveroo, Moody Month, The Guardian, BBC News.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f_H_AHsKnqN4SBjnj-5sIw.jpeg" /></figure><p>In the allocated hour we touched several points and learnt practices from all companies. I was fortunate to have <a href="https://twitter.com/Shilaghae">@Shilagha</a> and <a href="https://twitter.com/MayaGardeva">@MayaGardeva</a> who volunteered to take notes.</p><h3>Discussions and conclusions</h3><h4>Jumping or not into a new technology?</h4><p>When it comes to new technologies, we found two extremes.</p><p>One company had the policy to not introduce new things straight away and sometimes it could take a year. However, developers could play with the new technologies, most of the time towards the end of the sprints.</p><p>In more companies engineers take ownership, try out new things. About 10% of time is allocated for this and some examples were improving build times, trying Firebase test lab. We discovered a term called “first merge syndrome” which happens when a new library/approach is tried and it’s finally going to be merged in production code.</p><p>In big companies, more product oriented, developers have to understand and explain the business value that is brought by adding something new. Business value and infrastructure are both important, but in only one company there was a clear separation at team level between product and infrastructure.</p><p>We discussed architecture as well and got several points:</p><ul><li>introducing a new architecture breaks consistency, code not touched is not refactored, you end up having multiple architectures, new developers don’t know which architecture to choose when developing a feature</li><li>if the company is small or a new app is started, you have a clean state, can choose whatever you want</li><li>there was a case where modularisation used Kotlin as an incentive. Java code rewritten in Kotlin was added to new modules</li><li>one company has an exploration team. Its job is to iterate fast, run experiments. This favours one platform, in most cases iOS, as in general paid apps/services or apps released in richer markets have a bigger user base on iOS compared to Android.</li></ul><h4>How and when do we learn?</h4><p><strong>The good</strong></p><p>It was interesting to see almost everywhere developers reserve one hour a week or every two weeks to talk about new technologies, watch tech talks. One company had one day every two weeks allocated to learn.</p><p>Some companies organise “hack days”, there is a separate section for this topic in the article.</p><p>“Brown bag”/“Lunch &amp; learn” sessions seem to happen everywhere. One company also holds “Random stuff” sessions which ended up being very popular and even some ideas were implemented as a result of those.</p><p>Code improvement/refactoring/addressing tech debt helps with learning and a few companies allocate up to 20–25% of time for this. In order to put it in a more positive light, “Tech debt” is called “Engineering health” or “Technical health”.</p><p>Changing teams is seen as something that boosts learning, but only in very big companies it’s easy to move between teams.</p><p>Something we all found equally interesting and important was to hear that managers try to encourage developers to make use of the time allocated for learning. There are always cases when developers do feature work instead of personal development.</p><p><strong>The bad</strong></p><p>There was an agreement that not having the opportunity to learn at work makes developers move to other companies.</p><p>Sometimes there are periods when teams are stretched and no free time is allowed.</p><p>When asked about personal projects, there were opinions that hacking outside work means not having enough time to learn at work. Also there is never enough time to make a personal project “production ready”.</p><p><strong>Other thoughts, unclassified</strong></p><p>In big companies and when working on large apps/projects developers learn the internal code/libraries, don’t use that much external libraries/new things and it feels they may be working on something that won’t be used in other companies.</p><p>We touched the “learning in own time/spare time” topic and it was unanimously considered not inclusive and unfair. Everybody has a life outside work, family, hobbies. Learning should be done during working hours and be part of the company culture.</p><p>Everybody agreed that we learn a lot when moving to a new company, because we’re dealing with new codebase, new colleagues.</p><h4>Open source</h4><p>This was a very interesting topic. Unsurprisingly, only big companies seem to be involved in open sourcing their libraries or contribute to open source projects.</p><p><strong>A great list of benefits emerged as part of the discussion</strong></p><ul><li>makes you a better engineer</li><li>you work with different people, outside your company and learn to become more tolerant</li><li>you get used to create more organised pull-requests/better comments and documentation</li><li>for companies this creates an engineering brand, attracts talent</li><li>you contribute back to the community</li></ul><p><strong>What’s not so great</strong></p><ul><li>it’s more work!</li><li>there is a fear that everybody is going to see your code</li></ul><p>It was revealed by one company that they try to improve quality by treating internal code as open source.</p><h4>Conferences</h4><p>The general feeling was that going to a conference is not only about the talks, but meeting and speaking with fellow developers. Most developers find it hard to schedule time to watch the recordings if they don’t go to the conference.</p><p>Some of the companies have a money/time budget per developer per year and think that investing in developers to learn and go to conferences is cheaper than hiring. Here developers need to apply to go to a conference by specifying how they’ll spread the knowledge after: doing a talk, writing a blog post (internal or external).</p><p>In most companies it’s easier to ask to go to a local conference than to get to the big ones: Google I/O or WWDC.</p><h4>Hackatons</h4><p>Internal hackatons seem to be organised only in bigger companies. There was one company to organise two hackatons a year: one related to the product they develop, the other is free choice, developers can play with whatever they want. Most of the other companies have one hackathon a year.</p><p>When asked, there was a consensus that 24h hackatons are not great for the same reasons as learning outside work.</p><h3>Overall conclusion</h3><p>Learning should be part of the company culture. If developers are allocated time and are encouraged to try new things, learn during working hours, participate to tech events, they are happier and less likely to look for another company.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e829c36ef7f9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mobile Developer Day keynote announcements]]></title>
            <link>https://medium.com/@anikiki/mobile-developer-day-keynote-announcements-32f20cf9aab8?source=rss-5672fbc0b6b3------2</link>
            <guid isPermaLink="false">https://medium.com/p/32f20cf9aab8</guid>
            <category><![CDATA[android]]></category>
            <category><![CDATA[mobile-games]]></category>
            <category><![CDATA[google-play-console]]></category>
            <category><![CDATA[google-play-store]]></category>
            <category><![CDATA[game-development]]></category>
            <dc:creator><![CDATA[Ana Capatina]]></dc:creator>
            <pubDate>Tue, 19 Mar 2019 23:40:57 GMT</pubDate>
            <atom:updated>2019-03-19T23:43:24.462Z</atom:updated>
            <content:encoded><![CDATA[<p>What I found interesting while watching <a href="https://events.withgoogle.com/google-at-gdc-2019/">GDC 2019</a></p><h3>Google Play Apps &amp; Games on Twitter</h3><p>📱 We&#39;re winding down Mobile Developer Day at #GDC19. ✌️ Catch up on the day&#39;s sessions and get ready for tomorrow&#39;s big reveal at 10am PST followed by our Cloud Developer Day on Wednesday. Google at GDC → https://t.co/uRLsW0r0eV Today&#39;s recap → https://t.co/ULsPSb6o9R https://t.co/d8LQ3hWw1v</p><h4>Make your game discoverable — content first approach</h4><ul><li>from trailers and screenshots that were added to Play Store years ago, now there are additional elements like <em>autoplay, daily events, competitions and promotions.</em></li><li><em>google play instant</em> — with an instant game you give your users the option to play without installing as well as launch your game from everywhere.</li><li><em>play game app playlists</em> — users can see games demos one after another until they find what they like.</li><li>more “<em>try bow</em>” buttons available everywhere in the Play store in the future.</li></ul><p><strong><em>Find out more about </em></strong><a href="https://g.co/play/instant_resources"><strong><em>how to build an instant game experience</em></strong></a><strong><em>.</em></strong></p><h4>Distribute your game</h4><ol><li><a href="https://developer.android.com/platform/technology/app-bundle">App Bundles and Google Play dynamic delivery</a> reduce the size of the game as only what’s needed for every device is going to be installed.</li><li>Prepare for 64-bit requirement. <strong><em>The deadline to migrate to 64-bit is August 1, 2019. More information </em></strong><a href="https://g.co/64-bit-requirement"><strong><em>here</em></strong></a><strong><em>.</em></strong></li><li>Dynamic In-app updates — offer your users the opportunity to enjoy the latest version of your game. There are two options:</li></ol><ul><li><em>immediate update flow</em>: keep the user in the game while they get the update.</li><li><em>flexible update flow</em>: you can upsell features available in the latest version.</li></ul><p><strong><em>You can apply for Dynamic In-app Updates Early Access </em></strong><a href="https://g.co/play/in-app_updates"><strong><em>here</em></strong></a><strong><em>.</em></strong></p><h4>Improve App quality — Android Vitals</h4><ul><li>Fifteen engineering metrics available</li><li>Five performance areas covered</li><li>Performance and quality of the app as experienced by real users on real devices</li></ul><p>Each core vital has a bad behaviour threshold which allows you to compare your app / game’s performance to other apps / games across the store.</p><p>Anomaly detection — the play console sends alerts whenever there is a sudden change as a result of a new release.</p><h4><strong>Effective pre-launch strategies</strong></h4><p>Advertise your game throughout its lifecycle.</p><p>Pre-registration is now available to all developers. Users can register on your pre-registration store listing and they get a notification when the game becomes available.</p><p>You can setup and manage pre-registration campaigns in Play Console, can control the distribution per country and check campaign performance data.</p><p>You can even add an instant experience to your pre-registration store listing.</p><h4><strong>Lifetime valuation of games — LTV</strong></h4><p><strong><em>LTV</em></strong> = customer lifetime value and it’s said to be the most important metric in ad spending monetisation</p><p><strong><em>CPI</em></strong> = cost per install</p><p>What you need to understand as developer:</p><ul><li><strong><em>Marketing viability</em></strong>: CPI &lt; LTV</li><li><strong><em>LiveOps</em></strong>: tailored offers</li><li><strong><em>Product prioritisation</em></strong>: new features and games</li><li><strong><em>Profitability</em></strong>: cost per player &lt; net LTV of a player</li></ul><p><strong><em>The Keynote and other sessions can be found </em></strong><a href="https://events.withgoogle.com/google-at-gdc-2019/"><strong><em>here</em></strong></a><strong><em>.</em></strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=32f20cf9aab8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Firebase Summit 2018]]></title>
            <link>https://medium.com/@anikiki/firebase-summit-2018-4e42014ba28?source=rss-5672fbc0b6b3------2</link>
            <guid isPermaLink="false">https://medium.com/p/4e42014ba28</guid>
            <category><![CDATA[summit]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[conference]]></category>
            <category><![CDATA[firebase]]></category>
            <dc:creator><![CDATA[Ana Capatina]]></dc:creator>
            <pubDate>Thu, 01 Nov 2018 23:56:04 GMT</pubDate>
            <atom:updated>2018-11-02T00:01:34.811Z</atom:updated>
            <content:encoded><![CDATA[<p>I had the opportunity to attend Firebase Summit this year, in Prague, on October 29th. It was not only a mixture of great workshops and sessions, but something that is very important to me: friendly people from all over the world 🙌</p><h3>Ana Capatina on Twitter</h3><p>It was awesome to meet everyone at #FirebaseSummit 🤗🤗🤗 We&#39;re definitely #BetterTogether 🎉💪🔥</p><p>You can find all talks <a href="https://www.youtube.com/user/Firebase/videos">online</a> and should definitely watch them if you are using or planning to use Firebase. I’m going to list some of the things announced that I found particularly interesting.</p><p><strong>Crashlytics integrated with BigQuery to run deeper analysis on your crash data</strong></p><p>You can link BigQuery easily, just select Crashlytics from the left hand side panel (section 1) for your selected project in Firebase and make sure you choose at least 30 days from the top right dropdown (section 2). You’ll see the link to BigQuery in section 3.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uRA5reMOshFx_NJWyb5koA.png" /></figure><blockquote>At the moment the limits are set as below:</blockquote><blockquote><strong>Storage</strong>: The BigQuery sandbox has a 10 GB storage limit. Once that limit is reached, data from Firebase will stop exporting to BigQuery.</blockquote><blockquote><strong>Dataset expiry</strong>: The default expiry for each of your datasets is 60 days. After that time, your data will begin to expire.</blockquote><p><strong>Firebase Crashlytics offers integrations with Slack, Jira and PagerDuty</strong></p><p>Project Settings (section 1) -&gt; Integrations (section 2)</p><p>Here you an choose any (all) of Slack, Jira and PagerDuty (section 3) to get notified when a high impact crash happened.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*W8lVu0H5UrGHUKYqhnjVEQ.png" /></figure><p><strong>Performance monitoring dashboard</strong></p><p>This gives more insight into issues of your iOS and Android apps. You need to install the Performance Monitoring SDK in the app(s). Once you do this, you can dive into segments of specific traces or network requests in the Firebase console.</p><p><strong>Firebase Predictions</strong> <strong>left BETA and entered general availability</strong></p><p>You can just enable Predictions from Firebase Console, nothing needs to be specifically added into your app. By default you get 4 prediction dashboards: <em>churn, not_churn, spend, not_spend</em> and you can add up to 5 more. They’re updated once every 24 hours.</p><p>You can also view and analyse raw Predictions data in BigQuery.</p><p>Predictions use machine learning to create dynamic user segments based on the predicted behaviour of users in the app and can be used for example to automatically send a notification when users are predicted to stop using the app.</p><p><strong>Audience Segmentation</strong></p><p>This was existing functionality: the ability to create custom audiences in Firebase Console based on device data, custom events or user properties. However, the audience builder is now enhanced with a few updates: dynamic audience evaluation, audience exclusion and membership duration.</p><p>Once you created user segments using Audiences or Predictions, you can use <a href="https://firebase.google.com/products/cloud-messaging/">Firebase Cloud Messaging</a> (FCM) to send notifications to latent users to bring them back into your app.</p><p><strong>A/B testing entered BETA</strong></p><p>You can start experimenting with one of the two (or both) services below:</p><ul><li><strong>Notifications</strong>: experiment with sending messages to engage the right users at the right moment</li><li><strong>Remote Config</strong>: Experiment with app behavior using server-side configuration parameters</li></ul><p><strong>Firebase TestLab for iOS left BETA and entered general availability</strong></p><p>This is similar to Firebase Android TestLab that was there for a long time. You can now simply run <a href="https://developer.apple.com/documentation/xctest">XCTest</a> tests for your iOS app on real devices running in a Google data center. Supported announced versions are iOS 12 and 11. This is a paid service.</p><p><strong>Other announcements</strong></p><ul><li><strong>Various packages for Corporate Support for Firebase will be added by the end of the year. </strong>At the moment support for Firebase was just made available for customers already paying for Google Cloud Platform support channel. The Firebase free support will still be there.</li><li><strong>Incorporated support to deploy to Firebase Hosting</strong> with a click of a button from <a href="https://stackblitz.com/">Stackblitz</a> and <a href="https://glitch.com/">Glitch</a> web-based IDEs.</li><li><strong>Remote Config is now integrated with Cloud Functions and Firebase Cloud Messaging. </strong>This removes the need for polling the Remote Config, you can just notify the app when a new config is available.</li><li><strong>ML Kit face recognition</strong> can now detect more than 100 points of detail on a face.</li><li><strong>Local emulators for Cloud Firestore and Realtime Database</strong>. They can also be built into CI workflow.</li></ul><p>On a personal note, it was a great event, an opportunity to learn, connect with fellow developers around the world, ask questions, see old friends and have fun!</p><p>I’m going to end with a collage made from a few photos taken during the summit and my avatar drawn by the talented <a href="https://medium.com/u/224e59676537">Virginia Poltrack</a> 🎉 🎉 🎉</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*avKvMkUqvvTiylAkGsnbtw.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4e42014ba28" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Behind the scenes: Kotlin 3-part coding workshop]]></title>
            <link>https://medium.com/@anikiki/behind-the-scenes-kotlin-3-part-coding-workshop-3f0a37f61fb2?source=rss-5672fbc0b6b3------2</link>
            <guid isPermaLink="false">https://medium.com/p/3f0a37f61fb2</guid>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[workshop]]></category>
            <category><![CDATA[kotlin]]></category>
            <category><![CDATA[teaching]]></category>
            <dc:creator><![CDATA[Ana Capatina]]></dc:creator>
            <pubDate>Sat, 20 Oct 2018 16:01:37 GMT</pubDate>
            <atom:updated>2018-10-20T16:01:37.913Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Last year I ran a Kotlin workshop for beginners and soon, with some changes, it became the first in a 3-part series. It’s been a while since I finished running the whole series, but I took notes during the process and I wanted to share the story and some of the things I’ve learnt while doing this.</em></p><h4>A little context about the first workshop</h4><p>My purpose was to help other people start coding in Kotlin as part of TECH(K)NOW Day event organised for Ada Lovelace Day in 2017.</p><h3>Anastasia López on Twitter</h3><p>A little bit late, cause internet issues, but here we can see @anikiki00 preparing for her kotlin workshop at @TECHKNOWDay (it went great)</p><p>To prepare the workshop I listed the things I wanted to take into account:</p><ul><li>workshop duration: 2 hours</li><li>expect Kotlin to be a new programming language for most or all attendees</li><li>expect different levels of programming skill</li><li>build a simple game people are familiar with</li><li>have something running by the end</li><li>find somebody to help during the workshop</li><li>make all needed materials available online and offline</li></ul><p>After analysing several ideas I picked Sudoku as topic because everybody knows how to play it and you can make it as simple or as complicated as you want. In order to simplify things I chose to do it as a standalone app as opposed to web / mobile because I wanted to keep the focus on the language, not on the platform.</p><h4>From one part to three parts</h4><p>After running the first workshop I felt there was a lot of interest in the idea of learning Kotlin by building something fun, and also a shade of disappointment that it was too short. There was definitely space for more!</p><p>Again, I started to write ideas on paper and in the end I focused on these:</p><ul><li>keep the current workshop as the first part</li><li>keep the duration of 2 hours per workshop and make a 3-part series</li><li>define the features to be added to the game on each part</li><li>have a working game by the end of each workshop</li><li>start every new workshop from the previous completed code</li></ul><p>The first thing I asked myself was how to split the features I wanted to add for the next 2 parts. It was fundamental to have something working at the end of each session and always build on top of the previous part.</p><p>I wrote down how the state of the game should be at the end of each workshop. For every part I decided a series of steps that were needed taking into account the language elements I wanted the audience to learn.</p><h4><strong>Preparing workshop materials</strong></h4><p>I attended many workshops and courses during the years with different formulas. It’s difficult to know what works best but I had to start somewhere. The format I chose in the end was pretty much the classic one:</p><ul><li>start with a short presentation describing the problem we were going to implement and how (on a high level)</li><li>talk about the Kotlin language topics to focus on</li><li>have a worksheet with all the steps and explanations</li><li>provide a skeleton for the project</li></ul><p>Once I was happy with the format I moved to the next step: splitting the Sudoku game in 3 levels of implementation from the most basic one to something more acceptable. At the end of each session you could play the Sudoku game, but you would have different limitations that were left to be addressed in the next one.</p><p><strong>Part 1</strong>. Start from a solved Sudoku game and hide a few numbers. The user will input the missing numbers and you’ll compare the entered number with the one in the solution.</p><p><strong>Part 2</strong>. Load the Sudoku board from a file where you have numbers from 0 to 9. Each 0 will correspond to an empty cell in your UI. The user will input the missing numbers and the board will be validated by checking that the number entered is not in the same line / column / 3x3 area.</p><p><strong>Part 3</strong>. Add the ability to play random Sudoku games and start a new game by clicking on a button.</p><p>Once I clearly defined the limitations for each workshop I created a project and started to write the code. This means the whole implementation, iterating until I was happy with the amount of code and the topics I wanted to introduce in each of them.</p><p>Since it’s common during workshops to have audience with different skill levels you should make sure nobody feels overwhelmed. For each of the three projects I looked at the whole code I wrote and decided what parts are too complicated and not necessarily important for the purpose of the workshop. In the end those went into the base, something that was provided beforehand.</p><p>Each project was structured so that I could extract the steps that had to be implemented during the workshop. In parallel with removing those parts from the code I started to write a document to serve as a worksheet during the session. I made sure the steps in the worksheet were also provided as comments in the code.</p><p>For each part of the workshop I created 2 github repositories, one to be used during the session and the other one containing the solution in case somebody wanted to do this in their own time.</p><p>Although they could be done individually, all parts were connected. Each of them continued from the previous solution. I made sure I started with the same code, the only change was to delete the old comments and write new ones.</p><h4>Github repositories</h4><p>Below is the link to the first part of the workshop and at the end of the README file there is a link to the next part.</p><p><a href="https://github.com/anikiki/sudoku-init-part1">anikiki/sudoku-init-part1</a></p><h4><strong>Tools used</strong></h4><p>The only tools needed were Java SDK and Intellij Idea. I made sure everybody had the needed tools installed. Even if I wrote in the description when advertising the workshop “<em>This is a hands-on session, you need to bring a laptop […] You need to have Java SDK and Intellij Idea installed.</em>” I knew it was always a possibility that people didn’t do this beforehand.</p><p>I also prepared a few USB flash drives containing everything needed in case there was no internet connection. I put there 3 folders, one folder for each operating system: Linux, MacOS, Windows.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/162/1*_5FnnXF5eaJ_8G-jnLK8Pg.png" /><figcaption>Have a separate folder for each Operating System</figcaption></figure><p>Inside each folder I had the correct distribution of the tools and other materials needed, such as the worksheet and the initial files for the workshop.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/360/1*PsN8QMPvzUyiUcOr1FPALw.png" /><figcaption>All files needed</figcaption></figure><p><em>The next part contains a compilation of things I read as I prepared for the workshop and, most importantly, things I learnt after, either from the feedback I received or from the experience.</em></p><p><em>It is written using a “How to do it” tone because it’s something I use as a reminder every time I have to do something similar.</em></p><h4><strong>Starting the workshop</strong></h4><p>Welcome everybody and present yourself. If the number of people is small, less than 15, ask everybody to say their name and what they do. This way you’ll have a good understanding of the level of your audience. This will help you know how to explain concepts during the coding session. If you have more people, just ask a few questions and tell them to answer by raising their hands. In my case I started with “<em>How many of you tried coding in Kotlin before?</em>”, continued with “<em>How many of you didn’t hear about Kotlin before joining this workshop?</em>”. Don’t ask too many questions, limit to the ones relevant to the workshop.</p><p>Mention that it’s good to ask questions during the workshop, so people will feel comfortable doing this.</p><p>Before starting the actual coding session talk about the tools needed and have everything ready to download and install (make all links available and / or distribute USB flash drives).</p><h4><strong>During the workshop</strong></h4><p>If it’s a multi-part series and it’s not the first part, always start with a short but meaningful recap. You may have people that didn’t come to the previous part, or they may not remember where they are with the code.</p><p>On each step give the audience time to think and write code and then show live how you would do it and explain. It’s good to wait for everybody to finish before moving to the next step. If you can, bring somebody to be your assistant(s). They’ll help people that get stuck and you can continue.</p><p>You have to be mindful about the time. Be prepared for both cases:</p><ul><li>if you finish too early, show something new that is not part of the workshop</li><li>if you don’t have enough time to finish make sure the materials provided contain everything needed for anybody to finish in their own time.</li></ul><h4><strong>End of the workshop</strong></h4><p>Ask for feedback. Have a simple survey prepared with a few questions. Specify if it’s anonymous or not. I used Google Forms and made it anonymous as I felt I would receive more feedback this way.</p><p>Thank everybody for coming 🙌</p><h3>Ana Capatina on Twitter</h3><p>Thanks everyone for attending any / all of the #kotlin workshop sessions! 👏 Tonight was the last one and it was amazing to see the finished sudoku game 💪 Thanks @TouchSurgery for hosting us in your lovely office and @coderinheels @WomenWhoCode @WWCLondon for organising 🌟🌟🌟</p><h4>Very important</h4><p>Make people feel welcomed on each session. No matter if they attended or not the previous one, they should be able to continue. Make the session as interactive as possible.</p><p>Have a git repository for each session. Don’t add new code between sessions, the one written at the end of one session should be the base for the next one.</p><p>Accompany every repository with a worksheet with all the steps needed to write the code.</p><p>Make all materials available for people to use them some other time.</p><p>Ask a friend / colleague to help you during the sessions, especially if there are many people attending.</p><p>If possible, depending where the workshop is taking place, ask in advance if they can provide a whiteboard. This way would be much easier to explain concepts and answer some of the questions.</p><p>Gather feedback during the session, at the end, and also send a feedback form. Analyse everything and improve your next sessions.</p><h4>Good to have with you</h4><p>As I mentioned previously, be prepared with some USB flash drives in case of slow or no WIFI connection, laptop adaptors and charger .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*poG7xb98nkLNnaGqKmMjsA.jpeg" /></figure><p>The best thing when running this kind of workshops is that it’s always different. For example, in one of the sessions somebody asked me to write the same code in Java for comparison.</p><p>It can also happen to have questions that deviate from the original topic, but it’s great, it means people are interested and want to see and learn more.</p><p>If there is something you don’t know just say let’s try together to see how it works, or you’ll check later as it’s an interesting question. It’s ok not to know everything.</p><p>This is an ongoing learning process for me, I may update the above from time to time. Would love to get more tips and advice related to creating and running workshops 🙏</p><p><em>Huge thanks to </em><a href="https://twitter.com/AnastasiaLopezD"><em>Anastasia</em></a><em> and </em><a href="https://twitter.com/fizzyisdizzy"><em>Faiza</em></a><em> for kindly volunteering to assist the workshop on different occasions.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3f0a37f61fb2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Firebase events in Instant Apps]]></title>
            <link>https://medium.com/@anikiki/firebase-events-in-instant-apps-8471d7c79394?source=rss-5672fbc0b6b3------2</link>
            <guid isPermaLink="false">https://medium.com/p/8471d7c79394</guid>
            <category><![CDATA[android-instant-apps]]></category>
            <category><![CDATA[instant-apps]]></category>
            <category><![CDATA[firebase]]></category>
            <category><![CDATA[android]]></category>
            <dc:creator><![CDATA[Ana Capatina]]></dc:creator>
            <pubDate>Tue, 17 Apr 2018 11:02:45 GMT</pubDate>
            <atom:updated>2018-04-17T11:02:45.986Z</atom:updated>
            <content:encoded><![CDATA[<p>I decided recently to use <a href="https://firebase.google.com/">Firebase</a> to see how many users play <a href="https://play.google.com/store/apps/details?id=com.anikiki.football&amp;hl=en">Paper Football</a> in Instant App and how many use the Installed App.</p><h4><strong>A few notes, not covered by article</strong></h4><ol><li>To add Firebase in your Android project is straight forward if you follow the <a href="https://firebase.google.com/docs/android/setup">official documentation</a>.</li><li>To log events in Firebase is also thoroughly described in the <a href="https://firebase.google.com/docs/analytics/android/events">official documentation</a>.</li><li>To differentiate in code between the Installed App and the Instant App you can use:</li></ol><pre><strong>import </strong>com.google.android.instantapps.InstantApps;</pre><pre>...</pre><pre><strong>if </strong>(InstantApps.<em>isInstantApp</em>(<strong>context</strong>)) {<br>   // do something in Instant App<br>} else {<br>   // do something else in Installed App<br>}<br>...</pre><p><em>It was easy to assume that since I was already using Firebase in the Installed App would work seamlessly in the Instant App. After several tries I didn’t see any event coming.</em></p><h4><strong>There are a few things to check if you don’t see events in Firebase:</strong></h4><ul><li>the length of the event name: all Firebase event names are limited to 40 chars and if you exceed this, the event will simply be discarded.</li><li>the <em>google-services.json</em> file: this should be downloaded from your Project Settings in Firebase console and added to project’s module folder, typically app/. I couldn’t find in the documentation where to add it when the project has multiple modules and I assumed it should be the base one. <em>This didn’t seem to work for the Instant App.</em></li><li>assemble your Instant App by running your usual gradlew command and check in the terminal if the process{build_type}GoogleServices task has run.</li></ul><h4><strong>Debugging</strong></h4><p>There are 2 ways to check Firebase events:</p><p><strong>I. Using Logcat in Android Studio</strong> — this way you’ll see events are sent to Firebase. Here you can also get more information if your project is not properly configured to use Firebase.</p><p>Install the debug version of the app on a USB connected device / emulator and run the below commands in terminal.</p><pre>adb shell setprop log.tag.FA VERBOSE<br>adb shell setprop log.tag.FA-SVC VERBOSE<br>adb logcat -v time -s FA FA-SVC</pre><p>Start using the app and check Logcat on Verbose mode where you should see what happens. You can filter the logs by adding <strong>firebase </strong>as keyword.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/986/1*6LK5NC8t6poh4REVUSSsEA.png" /></figure><p><strong>II. Using the DebugView in Firebase console</strong> — this will ensure your events reach Firebase. Here you can check either the debug or release version of your app.</p><p><em>If you use an emulator, make sure the time on device is the current time! Otherwise you’ll not see the events in real-time in DebugView.</em></p><p>Install the debug / release version of the app on a device / emulator, run the below command in terminal.</p><pre>adb shell setprop debug.firebase.analytics.app &lt;package_name&gt;</pre><p>Start using the app and see the events coming up in near real-time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/661/1*7UCM7YU8bdNtydK_gnQYHw.png" /></figure><h4><strong>Instant App problem</strong></h4><p>When debugging Firebase events in Instant App using Android Studio and Logcat (first method described in the previous section) the message was pretty clear:</p><pre>Missing google_app_id. Firebase Analytics disabled.</pre><p>The value of <strong>google_app_id</strong> is the identifier that links your application project to Firebase. It can be found in Firebase console in Project Settings under the name <strong>App ID </strong>or in the <em>google-services.json</em> file under the name <strong>mobilesdk_app_id</strong>.</p><p>When adding Firebase SDK or other Google APIs to your project, one step is to add the <strong>google-services</strong> plugin. Its job, amongst others, is to add this <strong>google_app_id </strong>to the generated values.xml file and package it in the apk. This was initially not happening for my Instant App.</p><h4>Fixing this issue</h4><p>I found so far two ways of solving this, although I’m not 100% happy with any of them.</p><p><strong>I. Manually add google_app_id to the strings.xml file </strong>— this is also suggested <a href="https://github.com/googlesamples/android-instant-apps/issues/44">here</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/877/1*qxy6U-elDLSn1S0Vnk9QYA.png" /></figure><p><strong>II. Have the below configuration</strong></p><ul><li>add <strong>google-services.json</strong> to all modules. For the application and feature this can be placed either in the root of the module, or in the build types folders. For the instant app module I found it works only if it’s added in the build types folders (i.e src/debug and src/release).</li><li>add this to the end of all <strong>build.gradle</strong> files in all modules</li></ul><pre><em>// THIS HAS TO BE AT THE BOTTOM<br></em>apply <strong>plugin</strong>: <strong>&#39;com.google.gms.google-services&#39;</strong></pre><h4><strong>Conclusion</strong></h4><ol><li>If you want to send Firebase events from your Instant App, make sure you check them by enabling the Firebase debug mode as described in the <strong>Debugging </strong>section above.</li><li>If you manually add <strong>google_app_id </strong>to your project as described in <strong>Instant App problem</strong> section above, make sure you add the correct values if you have multiple build types / flavours defined in your Android Project and in your Firebase project.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/977/1*TOoz1o-IWa2HoQPyx8GD1w.png" /></figure><p>In my case I have 2 apps declared in Firebase, one for debug and one for release builds. The <strong>App ID</strong> is the value needed, and is different for each app defined.</p><p>3. If you choose to place the <strong>google-services.json </strong>file in all modules, make sure you place it in the correct folder and apply the google services plugin in all <strong>build.gradle</strong> files at the end.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8471d7c79394" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Paper Football — Instant app scenario, part one]]></title>
            <link>https://medium.com/@anikiki/paper-football-instant-app-scenario-part-one-c15ce1aa08ec?source=rss-5672fbc0b6b3------2</link>
            <guid isPermaLink="false">https://medium.com/p/c15ce1aa08ec</guid>
            <category><![CDATA[instant-apps]]></category>
            <category><![CDATA[android-instant-apps]]></category>
            <category><![CDATA[android]]></category>
            <dc:creator><![CDATA[Ana Capatina]]></dc:creator>
            <pubDate>Sat, 16 Sep 2017 16:15:09 GMT</pubDate>
            <atom:updated>2017-09-16T16:15:09.243Z</atom:updated>
            <content:encoded><![CDATA[<p>In my previous <a href="https://medium.com/@anikiki/paper-football-is-instant-7fea124fcd3c">article</a> I wrote about building an Instant App for my old football game during the weekend.</p><h3>Steps towards first release</h3><p>The approach I took was different than the <a href="https://developer.android.com/topic/instant-apps/getting-started/index.html">recommended one</a>. I decided my Instant App would be a mirror of the installed app. With this in mind I started by adding app links, as they were required, and modularize the app. Since Paper Football was small I didn’t have to work on investigating what to take out in order to keep the module size under 4MB. Apart from the Crashlytics keys not being found, I only encountered a few issues when I tried to promote it to production.</p><p>After releasing the instant app I started to play and tried to identify issues in order to improve it.</p><h3>Problems and solutions</h3><p>If you open the navigation drawer it’s easy to see you can sign in with Google in the app.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*-UveK_QDRogh-Xxn-5fU_g.png" /><figcaption>Sign in with Google section in navigation drawer</figcaption></figure><p>This may sound good, but after tapping the button an unfriendly dialog tells you to contact the developer as the feature is not supported.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uNQ8yh2Wy-er3sBiR50NTg.png" /><figcaption>Contact developer message</figcaption></figure><p><strong><em>#1 Remove Google sign in section from Instant App</em></strong></p><p>Looking down to the other options in the navigation drawer there are two disabled texts: Leaderboards and Achievements.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*G0LqCQsJNtntF50Nz7bGNg.png" /></figure><p>In the installed app they’re disabled if you’re not logged in, otherwise you can tap them to see information. Since logging in is not supported yet, these two went also on the list, but on a separate one, for items to improve.</p><p><strong><em>#2 Keep Leaderboards and Achievements disabled in the navigation drawer, but with a different message. This is something to improve further as it’s </em></strong><a href="https://developer.android.com/topic/instant-apps/ux-best-practices.html"><strong><em>not a good practice</em></strong></a><strong><em> to show unavailable sections of the app.</em></strong></p><p>After completing a game and winning a dialog is displayed prompting you again to sign in with Google if you want to submit your score.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*L-qV6gIgli1qy00uOzJiFA.png" /></figure><p><strong><em>#3 Remove sign in. Also, this is a good place to prompt the user to install the app.</em></strong></p><h3>Implementation details</h3><p>The <a href="https://developer.android.com/topic/instant-apps/reference.html">Android Instant Apps API</a> helps you detect if the current process is an instant app.</p><p>You just need to include the gradle dependency. I added it in my <strong><em>“features”</em></strong> module, the one that contains all dependencies and it’s shared by both <strong><em>installed</em></strong><em> </em>and <strong><em>instant </em></strong>modules:</p><pre>compile &#39;com.google.android.instantapps:instantapps:1.0.0&#39;</pre><p>In the code, whenever you want to do something specific for your Instant App you can check by using this method:</p><pre><strong>if </strong>(InstantApps.<em>isInstantApp</em>(context)) {<br>   ...<br>} </pre><h3>Result, so far</h3><p>Currently <a href="https://play.google.com/store/apps/details?id=com.anikiki.football&amp;hl=en">Paper Football</a> Instant App looks like this, but other improvements will follow:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*71jUNPEe6YoMcQWpPh9Hhg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MzbaXkzDQ7dkP3bXROtiUg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*20WIgmmMd_Dcqs5HyESw5g.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c15ce1aa08ec" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Paper Football is Instant!]]></title>
            <link>https://medium.com/@anikiki/paper-football-is-instant-7fea124fcd3c?source=rss-5672fbc0b6b3------2</link>
            <guid isPermaLink="false">https://medium.com/p/7fea124fcd3c</guid>
            <category><![CDATA[android]]></category>
            <category><![CDATA[instant-apps]]></category>
            <dc:creator><![CDATA[Ana Capatina]]></dc:creator>
            <pubDate>Mon, 11 Sep 2017 17:32:04 GMT</pubDate>
            <atom:updated>2017-09-11T17:32:04.271Z</atom:updated>
            <content:encoded><![CDATA[<p>I came back from Google Developer Days 2017 inspired and full of energy, ready to implement something!</p><p>During those few days in Krakow, apart from amazing sessions and people, two things happened: first, my small app <a href="https://play.google.com/store/apps/details?id=com.anikiki.football&amp;hl=en">Paper Football</a> recorded a spike in number of usages as <a href="https://medium.com/@erikhellman">Erik</a> showed it to everybody, and second, <a href="https://medium.com/@keyboardsurfer">Ben</a> gave a <a href="https://www.youtube.com/watch?v=8YxemdlSGts">talk about Instant Apps</a>. The result of this? I built an instant app for my football game during the weekend.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/288/1*I8bCxK9wz8zE91KUpJCzcw.png" /></figure><p>Read further if you want to see what I did wrong and why it took so long for a small app.</p><p>I have to admit, I worked with Instant Apps before but I took a break and was happy to see things have changed, plus tools got incredibly better.</p><p>The first step was upgrading Android Studio to 3.0 Beta 5 on my home computer. Before doing anything else I decided this time to start differently. I’ve read the Instant Apps documentation several times in the last months and knew you should start by defining your scenario. In order to speed things up it was ok for my Instant App to be a mirror of the Installed App. <strong>Note that I don’t recommend this</strong>, but since it is a personal project that I use a lot for experiments it was a good choice. I double checked the <a href="https://developer.android.com/topic/instant-apps/prepare.html">requirements</a> and saw I only needed to add App Links and modularize my app.</p><p>Implementing App Links was a breeze with the new Android Studio as it does all the work for you if you use the <em>App Links Assistant, </em>which can be accessed from the <em>Tools </em>menu. Although self-explanatory, I did use the <a href="https://developer.android.com/studio/write/app-link-indexing.html">documentation</a> to make sure I do it right and everything worked as expected. I have to mention that for publishing the <em>assetlinks.json </em>I used <a href="https://firebase.google.com/docs/hosting/">Firebase hosting</a> and I already had the domain in place.</p><p>Next step was modularizing the app. <a href="https://play.google.com/store/apps/details?id=com.anikiki.football&amp;hl=en">Paper Football</a> is very light and used to have one module — <em>app</em>. Before making changes I wanted to refresh my memory and checked the <a href="https://github.com/googlesamples/android-instant-apps">samples</a>. Since there was no reason for me to have multiple features I cloned and studied <a href="https://github.com/googlesamples/android-instant-apps/tree/master/hello-feature-module">hello-feature-module</a>. Now I needed an emulator. To be sure I used the correct one I created a new image for <em>Nexus 5X running Android 6.0 (API level 23), x86, with Google APIs </em>as instructed <a href="https://developer.android.com/topic/instant-apps/getting-started/setup.html">here</a>. I ran the sample, then I started to code.</p><p>I decided to rename the <em>app</em> module to <em>features </em>and created two more modules: <em>installed</em> and <em>instant</em>. I used the names from the <a href="https://github.com/googlesamples/android-instant-apps/tree/master/hello-feature-module">hello-feature-module</a> sample as I found them suitable. All changes were made mainly in the <em>build.gradle</em> files of each module and the project.</p><p>I’m going to mention a few things I found useful:</p><ol><li>Adding this task in the project’s <em>build.gradle</em> file helped a lot as before doing it I had some random issues with files not being deleted:</li></ol><pre>task clean(type: Delete) {<br> delete rootProject.buildDir<br>}</pre><p>2. Having global variables helped as they were now referenced in more places and now I had a min sdk for the Instant App and another one for the Installed App.</p><pre>ext {<br> buildTools = ‘26.0.0’<br> compileSdk = 26<br> minSdkInstant = 23<br> minSdk = 15 <br> versionCode 17<br> versionName ‘0.5.17’<br> supportLib = ‘25.3.1’<br>}</pre><p>3. When I tried my Instant App for the first time it crashed with Crashlytics key being null. I knew I had 2 keys, one used for debug and the other one for release. After trying to understand why it was not working I started to search on Google and found the solution <a href="https://tutel.me/c/programming/questions/44361850/how+do+i+integrate+crashlytics+with+android+instant+apps">here</a>, at the end of the thread. It’s a short-term one until the bug is fixed, but I was happy it worked.</p><p>4. Time to <a href="https://support.google.com/googleplay/android-developer/answer/7381861">publish the Instant App</a> using Developer Play Console!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NxWwPmwaLu7uHSz_R_S8Uw.png" /></figure><p>Decided to skip <em>Instant app development </em>track and go straight to <em>Instant app pre-release </em>track. Error!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/579/1*MhvkIxZu_27IEKgjptUUtQ.jpeg" /></figure><pre>Invalid target sandbox version</pre><pre>PROBLEM: There are versions of the app that have a lower android:targetSandboxVersion. This will result in user data loss when upgrading instant to installed mode.</pre><pre>RESOLUTION: Ensure that the APKs with version codes 14 have the android:targetSandboxVersion attribute set to ‘2’ in the AndroidManifest.xml.</pre><p>I remembered seeing <em>android:targetSandboxVersion </em>in the sample app, but having the word “sandbox” in it made me think it was not needed for a production app. I added it to the <em>AndroidManifest.xml</em> of the Installed App (installed module). Pushed a new version of the installed app to Beta, tried again to publish the Instant app in pre-release track and everything worked!</p><p>5. Played a bit with the instant app and being very excited I decided to roll it out to Production. Pushed the button and got another error:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/579/1*n8S1g4QQXjazHfFfUURm0Q.jpeg" /></figure><pre>Non-upgradable to installed app</pre><pre>PROBLEM: Some users of this Instant App APKs will not be eligible for any of the APKs in your installed app.</pre><pre>RESOLUTION: Ensure that the targeting of your Instant App APKs matches the targeting of your APKs.</pre><p>I checked <em>targetSdkVersion</em> in all modules, all were the same. Checked on internet, nothing helpful. I took a break of a few hours as I was getting nuts. With fresh eyes I checked everything again. Tried 20 times thinking maybe it’s a glitch. Took another break. Later I realised that I haven’t pushed my Installed App version containing <em>android:targetSandboxVersion</em> flag to Production! That version of Installed App was in Beta and I wanted to publish the Instant App to Production. I did it and pushing the Instant App to Production worked!</p><p>All in all it was a good experience and the next step is to go back and make the Instant App better. If you try it you’ll notice I put everything in there and although you can play, there is no way to sign in / submit the score / install the app.</p><p><strong>Link to Instant App</strong>: Send <a href="https://game.paper-football.com/play">https://game.paper-football.com/play</a> to a chat / email and then open it from your phone. Unfortunately you can’t open it from this page.</p><p><strong>Note</strong>: To <a href="https://www.androidcentral.com/instant-apps">enable Instant Apps on your phone</a> open Settings -&gt; Google -&gt; Instant Apps and toggle feature On. The option is not available on all devices.</p><p><strong>Special thanks</strong> to <a href="https://medium.com/@erikhellman">Erik</a> and <a href="https://medium.com/@keyboardsurfer">Ben</a> for their immense contribution without even knowing :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7fea124fcd3c" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>