<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Fastlane on Aamnah - Frontend Web Developer</title>
    <link>https://aamnah.com/notes/fastlane/</link>
    <description>Recent content in Fastlane on Aamnah - Frontend Web Developer</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Wed, 10 Mar 2021 23:37:38 +0500</lastBuildDate>
    <atom:link href="https://aamnah.com/notes/fastlane/rss.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Fastlane - Check if a release notes file exists (for Android)</title>
      <link>https://aamnah.com/notes/fastlane/fastlane-check-release-file-android/</link>
      <pubDate>Wed, 10 Mar 2021 23:37:38 +0500</pubDate>
      <guid>https://aamnah.com/notes/fastlane/fastlane-check-release-file-android/</guid>
      <description>&lt;ul&gt;&#xA;&lt;li&gt;You can use &lt;code&gt;File.exist()&lt;/code&gt; to check if a file exists. &lt;code&gt;File.exists()&lt;/code&gt; (with an S at the end) is deprecated&lt;/li&gt;&#xA;&lt;li&gt;You can get the version code for Android using the &lt;a href=&#34;https://github.com/beplus/fastlane-plugin-versioning_android&#34;&gt;fastlane-plugin-versioning_android&lt;/a&gt; plugin&amp;rsquo;s &lt;code&gt;android_get_version_code()&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;You can get the Android app&amp;rsquo;s metadata from the Play Console using Fastlane &lt;a href=&#34;https://docs.fastlane.tools/actions/supply/&#34;&gt;supply&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;The changelogs for Android are saved in &lt;code&gt;metadata/android/en-GB/changelogs/&lt;/code&gt;. Every language gets its own folder&lt;/li&gt;&#xA;&lt;li&gt;Get the file path for the changelog for the &lt;em&gt;versionCode&lt;/em&gt; i.e. build version that you&amp;rsquo;re releasing. For example: &lt;code&gt;&#39;metadata/android/en-GB/changelogs/&#39; + ANDROID_BUILD + &#39;.txt&#39;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Use if/else to set which file to use depending on whether it exists or not.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Check if a file exists&lt;/p&gt;</description>
    </item>
    <item>
      <title>Managing release notes for Android and iOS apps using Fastlane</title>
      <link>https://aamnah.com/notes/fastlane/manage-release-notes-apps-android-ios-fastlane/</link>
      <pubDate>Wed, 10 Feb 2021 00:00:00 +0500</pubDate>
      <guid>https://aamnah.com/notes/fastlane/manage-release-notes-apps-android-ios-fastlane/</guid>
      <description>&lt;p&gt;There are two types of logs that i have been maintaining for my projects&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The &lt;em&gt;human generated, user friendly&lt;/em&gt; release notes that we publish with the app to the marketplaces&lt;/li&gt;&#xA;&lt;li&gt;The &lt;em&gt;human generated, technically detailed&lt;/em&gt; &lt;code&gt;CHANGELOG.md&lt;/code&gt; file that we commit with the code. This file contains internal references to Jira/Bitbucket/Sentry issues. (I am currently working on making it auto-generated as well based on conventional commits..)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;android&#34;&gt;Android&lt;/h2&gt;&#xA;&lt;p&gt;I use &lt;a href=&#34;&#34;&gt;Fastlane&lt;/a&gt; for release and deployments. It&amp;rsquo;s a pretty cool tool that originally used to be macOS only but has been made available for Linux and Windows for some time now. For Android and publishing to the Play Console, Fastlane has this plugin called &lt;a href=&#34;&#34;&gt;supply&lt;/a&gt; which can fetch and update your app&amp;rsquo;s metadata. This metadata includes your app&amp;rsquo;s release notes as well as things such as screenshots and short/long description.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
