<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: surie ma</title>
    <description>The latest articles on DEV Community by surie ma (@ma_surie).</description>
    <link>https://dev.to/ma_surie</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F903672%2F71b959fd-4621-45b1-9931-b7c16c02c911.jpg</url>
      <title>DEV Community: surie ma</title>
      <link>https://dev.to/ma_surie</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ma_surie"/>
    <language>en</language>
    <item>
      <title>AAB File: Everything A Developer Need To Know About</title>
      <dc:creator>surie ma</dc:creator>
      <pubDate>Tue, 16 Aug 2022 02:54:28 +0000</pubDate>
      <link>https://dev.to/ma_surie/aab-file-everything-a-developer-need-to-know-about-1jjg</link>
      <guid>https://dev.to/ma_surie/aab-file-everything-a-developer-need-to-know-about-1jjg</guid>
      <description>&lt;p&gt;Traditionally, developers upload APK files directly to Google Play for distribution. However, with the release of the new Android App Bundle format (AAB), Google advises developers to use Android Studio 3.2 or later versions to convert to the new format. AAB introduced the Dynamic Delivery feature, which automatically produces APK files once an AAB file is published to the Google Play Console.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is an AAB file?
&lt;/h2&gt;

&lt;p&gt;Google released the AAB as part of its attempts to minimize the size of Android apps. The AAB file includes the app's entire programme code. When the app is coded completely, the developer uploads it to the Google Play Store in AAB format. It contains just the parts of the programme that each device needs to execute. Google Play uses AAB to build optimal APK files for various device setups depending on DRI, CPU architecture, and languages.&lt;/p&gt;

&lt;p&gt;AAB then distributes these to various users based on what works best for each device, a process known as Dynamic Delivery. The app download sizes will be greatly decreased using Dynamic Delivery. App bundles cannot be installed on user devices like APKs. They are instead intended to be used to generate APK files for specific device settings. &lt;/p&gt;

&lt;p&gt;A programme called &lt;strong&gt;bundletool&lt;/strong&gt; can be used to produce APK files from an AAB file. Google provides this application so that developers may test app bundles on local devices before submitting them to Google Play.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is the difference between AAB and APK?
&lt;/h2&gt;

&lt;p&gt;App Bundles are a publishing format, whereas APK (Android application package) is the packaging format that is ultimately installed on the device.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. AAB files are custom-made for your device&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Resources in an app are everything that isn't computer code, such as graphics, language files, or music. When you click the "Install" button for an app in the Play Store, Google will give you an APK file customised from the AAB file for your device.&lt;/p&gt;

&lt;p&gt;Example: If the smartphone's resolution supports only Full HD, then it will get an APK without 4K content. If English and German are chosen as device languages, then the French language pack is ignored.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Google signing instead of the developer signing&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Another significant difference is the way the apps are signed. Previously, the creator of an app was always the one who signed it with their developer key. When installing the app on a smartphone, this key can be used to determine whether it has been compromised.&lt;/p&gt;

&lt;p&gt;Now, Google will sign the APKs rather than the developer, specifically when producing APK files from AABs. Logically, the keys will be kept by Google rather than the developers.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Smaller file sizes than APKs&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The APKs generated through the AAB manner are smaller compared to the native APK. On average, you should be able to see a 35% reduction in this method. That doesn't sound like much at first glance, but when one includes the numerous updates for apps, it could add up at some point.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. AAB offers better protection for apps&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Another benefit that developers will find useful would be increased security. It will probably be more difficult to modify apps in the future, and the mod creation team might not be very happy about that. Who knows, maybe this will reduce the number of cheaters in your favourite game.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to Create an Android App Bundle?
&lt;/h2&gt;

&lt;p&gt;There are two methods to create an AAB file&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Command Line Method &lt;/li&gt;
&lt;li&gt;Android Studio Method&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Command Line Method:&lt;/strong&gt;&lt;br&gt;
1.Open the command prompt and, using the command below, perform the bundle tasks.&lt;br&gt;
&lt;code&gt;./gradlew bundleRelease&lt;/code&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Find your bundle in the build directory of your application. App/buildoutputs/bundle/release is the default destination. The command jarsigner must be used to sign this package.&lt;br&gt;&lt;br&gt;
&lt;code&gt;jarsigner -keystore $pathToKeystore app-release.aab $keyAlias&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Replace the keyStore and keyAlias variables with the Keystore and password's actual values. The package will be signed and ready to be uploaded to Google Play.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Android Studio Method:&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;To get started, go to Android Studio → Build -&amp;gt; Generate a Signed Bundle.&lt;/li&gt;
&lt;li&gt;On the pop-up menu, choose Android App Bundle and then Next.&lt;/li&gt;
&lt;li&gt;Enter the KeyStore path or the location where the KeyStore is saved and Create a new KeyStore.&lt;/li&gt;
&lt;li&gt;Choose a release mode from the drop-down menu and click Finish.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Now, a signed app bundle is ready. There will be an .aab file in the destination folder. This is the target Bundle file, which can now be uploaded to the Play Store and published.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to Open AAB File?
&lt;/h2&gt;

&lt;p&gt;To open an AAB file, you'll need software like Authorware. You'll get a Windows message asking "How do you wish to open this file?" if you don't have the right software". If you're having trouble opening your AAB file, try right-clicking or long-pressing it. Then select a programme from the "Open with" drop-down menu. &lt;/p&gt;

&lt;p&gt;You can also view an AAB file directly using this link. Simply drag and drop the file into this browser window. It can also be opened with bundletool and android studio.&lt;/p&gt;

&lt;p&gt;Prerequisites for testing the AAB file using bundletool:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A test device (Android)&lt;/li&gt;
&lt;li&gt;Unzipping software, such as WinRAR&lt;/li&gt;
&lt;li&gt;Bundletool&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The following are the steps required to test the AAB file using Bundletool&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Download bundletool by clicking this here&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;From your app bundle file, create an APK Set archive (.apks). Use the following command to produce an APK set for all device configurations supported by your app. &lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Note: Both your app bundle file and bundletool must be in the same directory for the below command to work:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;java -jar "bundletool-all-1.10.0.jar" build-apks --bundle="app-release.aab" --output="app.apks"&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;The.apks file will be produced in the same folder.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Check the .apks file's content by converting it to a zip file and then extracting its contents with WinRAR.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Bundletool can now deploy the right combination of APKs to a connected device from a group of APKs generated.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  How to install it?
&lt;/h2&gt;

&lt;p&gt;Install .aab Files Using App Bundle Installer:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Install App Bundle Installer and go to the home screen and choose "Select AAB." When the next screen displays, select your .aab file by tapping the "Select AAB File" button.&lt;/li&gt;
&lt;li&gt;Select the .aab file with your preferred Android file manager, then hit the "Install File" option in the app to begin the installation procedure.&lt;/li&gt;
&lt;li&gt;The app will now display a pop-up explaining how it works. It uploads the .aab file, changes it to.apk format, signs it, and downloads it to your device.&lt;/li&gt;
&lt;li&gt;The app installation prompt will appear once the.apk file is ready. Tap "Install" to begin the installation process, and then "Open" to begin using the app.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  How to Decompile the AAB File?
&lt;/h2&gt;

&lt;p&gt;... click to view the &lt;a href="https://www.appflow.ai/blog/aab-file?page=2"&gt;original post&lt;/a&gt; at Appflow.ai.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Join our beta for 12months free subscription analytics</title>
      <dc:creator>surie ma</dc:creator>
      <pubDate>Fri, 05 Aug 2022 08:04:00 +0000</pubDate>
      <link>https://dev.to/ma_surie/join-our-beta-for-12months-free-subscription-analytics-2edi</link>
      <guid>https://dev.to/ma_surie/join-our-beta-for-12months-free-subscription-analytics-2edi</guid>
      <description>&lt;p&gt;Hey dear developers,&lt;/p&gt;

&lt;p&gt;This is Surie, GTM &amp;amp; business dev manager of Appflow.ai. We are happy to announce that our in-app subscription analytics platform is open for beta testing now, we would need your help to deliver a helpful &amp;amp; insightful analytic tool for subscription business. Your feedback on fixes and improvement would be greatly appreciated and followed up. &lt;/p&gt;

&lt;p&gt;Welcome to join us and you could have a &lt;strong&gt;12-month free trial for the subscription analytics!&lt;/strong&gt; 😍😍&lt;/p&gt;

&lt;p&gt;For your information, appflow.ai is a in-app subscription analytics platform, which supports:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://www.appflow.ai/"&gt;Subscription Analytics&lt;/a&gt;&lt;/strong&gt; to show you up-to-date subscription metrics cross platforms, like MRR, LTV, Top SKUs by revenue…&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;App Cohort Analysis&lt;/strong&gt; to help you understand your user behaviors and demographics;&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A/B Testing&lt;/strong&gt; for pricing &amp;amp; paywall design with flexible user segmentation;&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Remote Configuration&lt;/strong&gt; on push notification and paywalls;&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Integrations&lt;/strong&gt; with third-party attribution &amp;amp; mobile analytics tools (Adjust, Webhooks…);&lt;/li&gt;
&lt;li&gt;Intelligent Suggestions（Upcoming）&lt;/li&gt;
&lt;li&gt;Funnel Analysis (Upcoming)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;➡️ sign up here 👉 &lt;a href="https://bit.ly/3bxU3ck"&gt;https://bit.ly/3bxU3ck&lt;/a&gt; 👈&lt;br&gt;
If you have any questions,please feel free to leave a message here or drop me an email at &lt;a href="mailto:surie@appflow.ai"&gt;surie@appflow.ai&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--XIqQNhJm--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xk59nomwkavoqlnmi5rn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--XIqQNhJm--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xk59nomwkavoqlnmi5rn.png" alt="supscription analytics" width="880" height="693"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>android</category>
      <category>news</category>
      <category>mobile</category>
      <category>ios</category>
    </item>
  </channel>
</rss>
