<?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 Ngima Sherpa on Medium]]></title>
        <description><![CDATA[Stories by Ngima Sherpa on Medium]]></description>
        <link>https://medium.com/@ngima?source=rss-53126a4e8f06------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*R9Yx20GbDd_neOEKBHP4Zw.png</url>
            <title>Stories by Ngima Sherpa on Medium</title>
            <link>https://medium.com/@ngima?source=rss-53126a4e8f06------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 07:39:56 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ngima/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[Exploring the New Architecture in React Native: How it Improves Performance and Development]]></title>
            <link>https://ngima.medium.com/exploring-the-new-architecture-in-react-native-how-it-improves-performance-and-development-738ee3f9e115?source=rss-53126a4e8f06------2</link>
            <guid isPermaLink="false">https://medium.com/p/738ee3f9e115</guid>
            <category><![CDATA[cross-platform]]></category>
            <category><![CDATA[react-native]]></category>
            <category><![CDATA[fabric]]></category>
            <category><![CDATA[archtitecture]]></category>
            <dc:creator><![CDATA[Ngima Sherpa]]></dc:creator>
            <pubDate>Fri, 13 Jan 2023 13:26:46 GMT</pubDate>
            <atom:updated>2023-01-13T13:26:46.201Z</atom:updated>
            <content:encoded><![CDATA[<p>React Native, the popular framework for building mobile apps using JavaScript, has recently undergone a major update with the introduction of the new architecture, also known as React Native Fabric. This update brings a number of significant improvements to the performance and development experience of the framework. In this blog, we will explore the new architecture in React Native and how it improves performance and development. We will take a look at the main features of the new architecture and how they optimize the way components are updated, reducing memory usage, and making it easier to understand and debug code. We will also discuss the changes in the way components are managed and updated, and how it affects the development experience. Furthermore, we will explore the best practices for migrating to the new architecture, and tips for making the transition smoothly. Join us as we dive into the exciting new world of React Native Fabric.</p><h3>Overview</h3><ol><li>Introduction to the new architecture in React Native and its main features</li><li>How the new architecture improves performance, such as faster rendering and reduced memory usage</li><li>How the new architecture simplifies the development process and makes it easier to debug and maintain code</li><li>Changes to the way components are managed and updated in the new architecture</li><li>Comparison of the new architecture with the previous architecture and its impact on the development experience</li><li>Best practices for migrating to the new architecture and tips for making the transition smoothly</li><li>A look at the future of React Native development and potential advancements with the new architecture</li><li>Conclusion and resources for further learning on the new architecture in React Native.</li></ol><h3>Introduction to the new architecture in React Native and its main features</h3><p>The new architecture in React Native, also known as React Native Fabric, is a major update that brings significant improvements to the performance and development experience of the framework. The main features of the new architecture include:</p><ol><li>Faster rendering: React Native Fabric uses a new reconciliation algorithm that optimizes the way components are updated, resulting in faster and more efficient rendering.</li><li>Reduced memory usage: The new architecture improves the way components are managed, reducing the amount of memory required to run an app.</li><li>Simplified development process: React Native Fabric introduces a new way of managing components, making it easier to understand and debug code.</li><li>Improved error handling: React Native Fabric has a new error-handling system that makes it easier to identify and fix issues in the code.</li><li>Better support for third-party libraries: React Native Fabric has a more flexible and extensible architecture, making it easier to integrate with other libraries and tools.</li><li>Better developer experience: With the new architecture, developers can expect a more stable and predictable environment, which will help them to deliver better software, faster.</li></ol><p>Overall, the new architecture in React Native is designed to make it easier to build high-performance apps that are reliable and easy to maintain.</p><h3>How the new architecture improves performance, such as faster rendering and reduced memory usage</h3><p>In the new architecture of React Native, the way components are managed has been optimized to reduce the amount of memory required to run an app. The new architecture uses a technique called “minimal persistence” to store and manage the component tree. This technique ensures that only the necessary data is kept in memory, reducing the overall memory usage of the app.</p><p>Additionally, the new architecture introduces a new way to manage components called “lightweight components”. These components are designed to be lightweight and fast, which helps to reduce the memory usage of an app. They use less memory than traditional components and are optimized for performance.</p><p>Another feature that helps to reduce memory usage is the ability to “unmount” components that are no longer needed. This allows React Native to release memory resources that are no longer needed, which helps to keep the app’s memory usage low.</p><p>Overall, the new architecture in React Native is designed to minimize the amount of memory required to run an app, which helps to improve the overall performance and stability of the app.</p><h3>How the new architecture simplifies the development process and makes it easier to debug and maintain code</h3><p>The new architecture in React Native simplifies the development process by introducing a new way of managing components called “minimal persistence”. This technique ensures that only the necessary data is kept in memory, making it easier to understand and debug the code.</p><p>Additionally, React Native Fabric has a new error-handling system that makes it easier to identify and fix issues in the code. For example, It allows developers to see the error in the context of their codebase and not just in the stack trace which makes it easy to understand and debug the code.</p><p>The new architecture also makes it easier to maintain code by introducing a more flexible and extensible architecture. This allows developers to easily integrate with other libraries and tools, making it easier to add new features and functionality to the app.</p><p>The new architecture also brings stability and predictability in the development environment which helps developers to focus on delivering better software and not on fighting with unstable environment.</p><p>Overall, the new architecture in React Native simplifies the development process, makes it easier to debug and maintain code, and improves the developer experience by providing a more stable and predictable environment.</p><h3>Changes to the way components are managed and updated in the new architecture</h3><p>The new architecture in React Native brings several changes to the way components are managed and updated.</p><ol><li>Minimal Persistence: In the new architecture, the way components are managed has been optimized to reduce the amount of memory required to run an app. The new architecture uses a technique called “minimal persistence” to store and manage the component tree. This technique ensures that only the necessary data is kept in memory, reducing the overall memory usage of the app.</li><li>Lightweight Components: The new architecture introduces a new way to manage components called “lightweight components.” These components are designed to be lightweight and fast, which helps to reduce the memory usage of an app. They use less memory than traditional components and are optimized for performance.</li><li>Unmounting Components: Another feature that helps to reduce memory usage is the ability to “unmount” components that are no longer needed. This allows React Native to release memory resources that are no longer needed, which helps to keep the app’s memory usage low.</li><li>Concurrent Mode: The new architecture also introduces a new mode called “Concurrent mode” which allows React Native to handle the updates to the components more efficiently and in parallel, resulting in a more responsive and smooth user experience.</li></ol><p>Overall, these changes in the way components are managed and updated helps to improve the performance and stability of the app, and also makes it easier to understand and debug the code.</p><h3>Comparison of the new architecture with the previous architecture and its impact on the development experience</h3><p>The new architecture in React Native, also known as React Native Fabric, brings significant improvements when compared to the previous architecture.</p><p>One of the main differences between the new and previous architecture is the way components are managed and updated. The previous architecture used a technique called “complete persistence” to store and manage the component tree, which meant that all components and their data were kept in memory at all times. This resulted in higher memory usage and could lead to performance issues. The new architecture, on the other hand, uses “minimal persistence” which ensures that only the necessary data is kept in memory, reducing the overall memory usage of the app.</p><p>Another difference is the introduction of “lightweight components” in the new architecture. These components are designed to be lightweight and fast, which helps to reduce the memory usage of an app. They use less memory than traditional components and are optimized for performance.</p><p>The new architecture also includes the ability to “unmount” components that are no longer needed, which helps to release memory resources and keep the app’s memory usage low.</p><p>In terms of the developer experience, the new architecture brings stability and predictability in the development environment. It makes it easier to understand and debug the code, and also allows developers to integrate with other libraries and tools more easily.</p><p>Overall, the new architecture in React Native provides significant improvements in terms of performance, memory usage and developer experience when compared to the previous architecture.</p><h3>Best practices for migrating to the new architecture and tips for making the transition smoothly</h3><p>Migrating to the new architecture in React Native can be a bit of a challenge, but with the right approach and best practices, you can make the transition smoothly. Here are some tips and best practices to consider when migrating to the new architecture:</p><ol><li>Start with a small project: It’s best to start with a small project when migrating to the new architecture, as it will be easier to identify and fix any issues that arise.</li><li>Use the latest version of React Native: Make sure to use the latest version of React Native, as it contains the latest features and bug fixes related to the new architecture.</li><li>Test your app thoroughly: Testing your app thoroughly is crucial in order to identify any issues that may arise during the migration process. This can be done by running your app in both the new and old architecture, and comparing the results.</li><li>Be prepared to refactor your code: The new architecture may require some changes to your code, so be prepared to refactor your code as necessary.</li><li>Use official migration tools: React Native provides official migration tools that can help you to migrate your codebase to the new architecture. These tools can save a lot of time and effort and make the transition smoother.</li><li>Learn and understand the new architecture: Before you start migrating, make sure to learn and understand the new architecture and its concepts. This will help you to make the transition smoothly.</li><li>Get help: If you are having trouble migrating, don’t hesitate to seek help from the React Native community. There are many developers who have experience migrating to the new architecture and can provide guidance and advice.</li></ol><p>By following these best practices, you can make the transition to the new architecture in React Native smoothly and with minimal disruption to your development process.</p><h3>A look at the future of React Native development and potential advancements with the new architecture</h3><p>The new architecture in React Native, also known as React Native Fabric, has brought significant improvements to the performance and development experience of the framework. With this new architecture, React Native development is poised to go to the next level, with the potential for even more advancements in the future.</p><p>One of the key areas of potential advancement is performance optimization. The new architecture has already brought significant performance improvements, but there is still room for further optimization. For example, developers might expect more concurrent mode features which could bring even more smoothness and responsiveness to the user experience.</p><p>Another area of potential advancement is the integration with other technologies. React Native Fabric has a more flexible and extensible architecture, making it easier to integrate with other libraries and tools. This could lead to the development of new and innovative features that were not previously possible.</p><p>React Native is also expected to keep up with the latest trends in the mobile app development world, such as the adoption of new technologies like 5G and the increasing demand for low-code/no-code platforms.</p><p>In summary, React Native Fabric has opened up a world of possibilities for developers. The new architecture provides a more stable and predictable environment for development, and it is expected to continue to evolve and improve in the future, with potential advancements in performance optimization and integration with other technologies.</p><h3>Conclusion and resources for further learning on the new architecture in React Native.</h3><p>In conclusion, the new architecture in React Native, also known as React Native Fabric, brings significant improvements to the performance and development experience of the framework. The new architecture simplifies the development process, makes it easier to debug and maintain code, and improves the developer experience by providing a more stable and predictable environment.</p><p>To further explore the new architecture in React Native, there are a number of resources available:</p><ol><li>The official React Native documentation provides detailed information on the new architecture and its features.</li><li>The React Native community is a great resource for learning about the new architecture and getting help with any issues that may arise. There are many developers who have experience with the new architecture and can provide guidance and advice.</li><li>Conferences, meetups, and online communities dedicated to React Native development are a great way to stay up-to-date with the latest advancements in the framework and to connect with other developers.</li><li>React Native also has a large number of open-source libraries that can help you to learn more about the new architecture and to explore its features and capabilities.</li></ol><p>By taking advantage of these resources, developers can stay up-to-date with the latest advancements in the new architecture, explore its features and capabilities, and get help with any issues that may arise. With the new architecture, React Native development is poised to go to the next level, with the potential for even more advancements in the future.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=738ee3f9e115" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Activating Doze Mode on Android: A Step-by-Step Guide]]></title>
            <link>https://ngima.medium.com/activating-doze-mode-on-android-a-step-by-step-guide-4facc249397a?source=rss-53126a4e8f06------2</link>
            <guid isPermaLink="false">https://medium.com/p/4facc249397a</guid>
            <category><![CDATA[battery-life]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[doze]]></category>
            <category><![CDATA[testing]]></category>
            <dc:creator><![CDATA[Ngima Sherpa]]></dc:creator>
            <pubDate>Thu, 12 Jan 2023 07:07:44 GMT</pubDate>
            <atom:updated>2023-01-12T07:07:44.010Z</atom:updated>
            <content:encoded><![CDATA[<p>As mobile devices continue to play a larger role in our daily lives, battery life has become a critical concern for both users and developers. To address this, Android introduced a feature called Doze mode, which helps extend battery life by reducing power consumption when a device is not in use. However, for developers, it’s important to make sure that their apps continue to function properly when the device is in Doze mode. This is why testing an app in Doze mode is crucial to ensuring a positive user experience. Doze mode is particularly useful for users who have to go long periods without access to a power source. However, activating Doze mode can be a bit tricky, especially for those who are not familiar with the process. In this blog, I will provide a step-by-step guide on how to activate Doze mode on Android devices. I will also cover the different methods available for enabling Doze mode, including using the Android Debug Bridge (ADB) command line tool and the Android Emulator. By the end of this blog, you will have a clear understanding of how to activate Doze mode on your Android device and how to test your app in this power-saving state.</p><h3>Developer Options</h3><p>To test an Android app in Doze mode, you can use the following steps:</p><ol><li>Connect your device to your development machine and run the app on the device.</li><li>Go to the developer options on the device and enable “Force activities to be resizable.”</li><li>Open the app and set it up so that it is running in the background.</li><li>Put the device in Doze mode by going to the developer options and selecting “Force Doze.”</li><li>Observe how your app behaves in the background while in Doze mode.</li></ol><h3>Android Debug Bridge (ADB)</h3><p>Alternatively, you can use the Android Debug Bridge (ADB) command line tool to simulate the conditions of the Doze mode on a device. You can use the following command to simulate the Doze mode:</p><pre>adb shell dumpsys deviceidle enable</pre><p>This command will enable the Doze mode on the device. To return the device to its normal state, use the following command:</p><pre>adb shell dumpsys deviceidle disable</pre><p>You can also use the Android Emulator to test your app in Doze mode. In the Android Emulator, you can go to the settings and enable the “Battery saver” mode to simulate the Doze mode. Additionally, you can use the following command to simulate the Doze mode in the emulator:</p><pre>adb shell dumpsys battery unplug</pre><p>It’s recommended to test your app while in Doze mode, and make sure your app’s critical functions are still working as expected.</p><p>Note that, Doze mode can be a bit tricky to test. It’s best to test with a device that is running Marshmallow (Android 6.0) or later version of Android.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4facc249397a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Generate SQL Query for Room Database Migration with new table]]></title>
            <link>https://ngima.medium.com/how-to-generate-sql-query-for-room-database-migration-with-new-table-598e4587d87a?source=rss-53126a4e8f06------2</link>
            <guid isPermaLink="false">https://medium.com/p/598e4587d87a</guid>
            <category><![CDATA[jetpack]]></category>
            <category><![CDATA[room]]></category>
            <category><![CDATA[create-table]]></category>
            <category><![CDATA[generate-sql-query]]></category>
            <category><![CDATA[android]]></category>
            <dc:creator><![CDATA[Ngima Sherpa]]></dc:creator>
            <pubDate>Sat, 02 Oct 2021 04:42:29 GMT</pubDate>
            <atom:updated>2021-10-02T04:42:29.601Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DOdEl3NaiE4B7RdEuC8oPA.png" /></figure><blockquote>“At the source of every error which is blamed on the computer, you will find at least two human errors, one of which is the error of blaming it on the computer.” — Tom Gilb</blockquote><p>Suppose you want to add new table/entity to your existing room database. You need to create a Migration and add it to your Room Database. It would be simple to create sqlQueries for an Entity with small number of parameters. But if the Entity is more complex then it would be more error-prone. So I was searching for the solution to generate the sql queries from entity. So I have found a simple solution for that:</p><h4>STEP 1. Add Schema Export Config in your module build.gradle file</h4><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/698470d5a0615a1690edf337ecd19087/href">https://medium.com/media/698470d5a0615a1690edf337ecd19087/href</a></iframe><h4>STEP 2. Add your Entity</h4><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/b615193688351627e29f25813a8cf31a/href">https://medium.com/media/b615193688351627e29f25813a8cf31a/href</a></iframe><p>Add it to your database</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IAMQIN-fGuHf5PJE_JYvPw.png" /></figure><h4>STEP 3. Build the project, now it should exports the schemas in <strong>app/schemas </strong>folder.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EDjz1gU044SqQfZc2G317g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JxtlmcerSWBerMD1v-99gA.png" /></figure><h4>STEP 4. Copy <strong>createSql</strong> query and define your Migration</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*b_mNRoLivmWN5CeN36mnMQ.png" /></figure><p>Replace <strong><em>${TABLE_NAME}</em></strong> with <strong><em>actual table name</em></strong>, in our case <strong><em>tests</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*p17y18Ytglba2OM7FU3duQ.png" /></figure><p>Now you could add your MIGRATION in to the database.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gArozzcVnF7HBnR2EOV_Pw.png" /></figure><p>That’s it. Find an example project in Github</p><p><a href="https://github.com/ngima/RoomCreateTableMigrationGenerationExample">ngima/RoomCreateTableMigrationGenerationExample</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=598e4587d87a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to save List of Data in Table Column in Room Using Type Converter & Gson]]></title>
            <link>https://ngima.medium.com/how-to-save-list-of-data-in-table-column-in-room-using-type-converter-gson-691aa780ab19?source=rss-53126a4e8f06------2</link>
            <guid isPermaLink="false">https://medium.com/p/691aa780ab19</guid>
            <category><![CDATA[typeconverter]]></category>
            <category><![CDATA[room]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[arraylist]]></category>
            <category><![CDATA[database]]></category>
            <dc:creator><![CDATA[Ngima Sherpa]]></dc:creator>
            <pubDate>Thu, 30 Sep 2021 02:02:31 GMT</pubDate>
            <atom:updated>2021-09-30T02:02:31.493Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TFgY4G9Nb1aaty78be9bNA.png" /></figure><p>Let’s say you have an entity user with multiple Address Lines. Something like this</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/05461e3db7c41aca42997bff8c0442fa/href">https://medium.com/media/05461e3db7c41aca42997bff8c0442fa/href</a></iframe><p>And you want to same it in room database. By default Room entity supports only primitive types. So how we do it?</p><blockquote>Sometimes, you need your app to store a custom data type in a single database column. You support custom types by providing <em>type converters</em>, which are methods that tell Room how to convert custom types to and from known types that Room can persist. You identify type converters by using the <a href="https://developer.android.com/reference/androidx/room/TypeConverter">@TypeConverter</a> annotation.</blockquote><p>So let’s dive into step by step example that how we add support for <strong><em>ArrayList&lt;String&gt; </em></strong>in entity parameters.</p><h3>STEP 1: Adding Gson dependency in your project</h3><pre>dependencies {<br>  implementation &#39;com.google.code.gson:gson:2.8.8&#39;<br>}</pre><p>Please find latest version from <a href="https://github.com/google/gson">Gson Github Repo</a>.</p><p>If you’ve not added room then you could add following dependencies as well.</p><pre>dependencies {<br>    //...<br>    def room_version = &quot;2.3.0&quot;<br><br>    implementation &quot;androidx.room:room-runtime:$room_version&quot;<br>    annotationProcessor &quot;androidx.room:room-compiler:$room_version&quot;<br>}</pre><p>You could find a decent getting started guide from <a href="https://developer.android.com/training/data-storage/room">Android Developers Official Documentation</a>.</p><h3>STEP 2: Create Type Converter that converts string to ArrayList and ArrayList to String using Gson</h3><p>Let’s first add a Generic Extension Function to avoid boilerplate to create the TypeToken.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/39b5d2a77356dde645c5203a07a2646d/href">https://medium.com/media/39b5d2a77356dde645c5203a07a2646d/href</a></iframe><p>Now let’s add ArrayListConverter class and define two functions for converting <strong><em>ArrayList&lt;String&gt;</em></strong> to <strong><em>String</em></strong> back and forth using Gson.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/9bca206da2601805f492ca1cbacbcba1/href">https://medium.com/media/9bca206da2601805f492ca1cbacbcba1/href</a></iframe><p>Now we can use <strong><em>ArrayList&lt;String&gt;</em></strong> as a type of Entity Parameter 😍.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/1c4bf3b33bd0b0ec204bc2bc279044fe/href">https://medium.com/media/1c4bf3b33bd0b0ec204bc2bc279044fe/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=691aa780ab19" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Functions of Nonverbal Communication]]></title>
            <link>https://ngima.medium.com/functions-of-nonverbal-communication-c0d312aad0e4?source=rss-53126a4e8f06------2</link>
            <guid isPermaLink="false">https://medium.com/p/c0d312aad0e4</guid>
            <category><![CDATA[nonverbal-communication]]></category>
            <category><![CDATA[communication-skills]]></category>
            <category><![CDATA[communication]]></category>
            <category><![CDATA[function]]></category>
            <dc:creator><![CDATA[Ngima Sherpa]]></dc:creator>
            <pubDate>Wed, 29 Sep 2021 00:45:50 GMT</pubDate>
            <atom:updated>2021-09-29T06:47:51.764Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kwI_p2YDRrCaRIWSasoWJg.png" /></figure><h3>Introduction</h3><p>Nonverbal Communication is the transformation of information without the use of spoken language. Nonverbal communication is not always no verbal. Nonverbal communication often takes place or comes with proximity while we communicate verbally if not then the exact meaning of message can be misunderstood by the receiver(s). The nonverbal communication includes gestures, facial expressions, body positions etc. In the 1970’s by Dr. Albert Mehrabian did one study on face to face communication, his studies suggested that we overwhelmingly deduce our feelings, attitudes, and beliefs about what someone says not by the actual words spoken, but by the speaker’s body language and tone of voice. And he quantified this tendency: words, tone of voice, and body language respectively account for 7%, 38% and 55% of personal communication. Through this study we can see how powerful is nonverbal communication (38%+55% = 93%).</p><p>The nonverbal communication can be distinguished in 5 forms:</p><ol><li><strong>Kinesics</strong> (Face and Eyes, Gestures, Body Shape &amp; Posture, Appearance)</li></ol><p>Kinesics is the study of the way in which certain body movements and gestures serve as a form of non-verbal communication. While communicating we can guess the person’s sense with his/her body movements and gestures. For example; You don’t like somebody and you avoid turning in his direction, You try to clear something away from his hair ( you feel close or want to be close), Opening your eyes wide and raising your eyebrows ( It’s very unpleasant and shows the person doesn’t want to give you a chance) etc.</p><p><strong>2. Proxemics</strong> (Intimate, Personal, Social, Public)</p><p>Proxemics is the branch of knowledge that deals with the amount of space that people feel it necessary to set between themselves and others. <strong>Edward Twitchell Hall, Jr. </strong>an american Anthropologist &amp; Cross-cultural Researcher described the interpersonal distances of man (the relative distances between people) in four distinct zones:</p><h4><strong>Intimate distance</strong> for embracing, touching or whispering</h4><ul><li><em>Close phase</em> — less than one inch (one to two cm)</li><li><em>Far phase</em> — 6 to 18 inches (15 to 46 cm)</li></ul><h4><strong>Personal distance</strong> for interactions among good friends or family</h4><ul><li><em>Close phase</em> — 1.5 to 2.5 feet (46 to 76 cm)</li><li><em>Far phase</em> — 2.5 to 4 feet (76 to 122 cm)</li></ul><h4><strong>Social distance</strong> for interactions among acquaintances</h4><ul><li><em>Close phase</em> — 4 to 7 feet (1.2 to 2.1 m)</li><li><em>Far phase</em> — 7 to 12 feet (2.1 to 3.7 m)</li></ul><h4><strong>Public distance</strong> used for public speaking</h4><ul><li><em>Close phase</em> — 12 to 25 feet (3.7 to 7.6 m)</li><li><em>Far phase</em> — 25 feet (7.6 m) or more.</li></ul><p><strong>3. Chronemics</strong> (Punctuality, Time Management)</p><p>Chronemics is the study of the role of time in communication. Thomas J. Bruneau of Radford University coined the term “chronemics” in the late 1970s to help define the function of time in human interaction:</p><p>“Chronemics can be briefly and generally defined as the study of human tempo as it related to human communication. More specifically, chronemics involves the study of both subjective and objective human tempos as they influence and are interdependent with human behavior. Further, chronemics involves the study of human communication as it relates to interdependent and integrated levels of time-experiencing. Previously, these interdependent and integrated levels have been outlined and discussed as: biological time; psychological time; social time; and cultural time. A number of classification systems exist in the literature of the time. However, such systems are not applied to human interaction directly.”</p><p><strong>4. Paralanguage</strong> (Intonation, Pitch &amp; Speech)</p><p>Paralanguage is the non-lexical component of communication by speech, for example intonation, pitch and speed of speaking, hesitation noises. It is also known as <strong>vocalics</strong>. Paralinguistic properties plays a very huge important factor in human communication. There are no utterances or speech signals that lack paralinguistic properties, since speech requires the presence of a voice that can be modulated.</p><p><strong>5. Physical Context</strong> (Surrounding, Color, Layout &amp; Design)</p><p>Physical Context includes the material objects surrounding the communication event and any other features of the natural world that influence communication. For example furniture and how it is arranged, size of the room, colors, temperature, time of day, etc. influence the way we communicate.</p><h3><strong>Functions of Nonverbal Communication</strong></h3><ol><li><strong>Reduce the use of words</strong></li></ol><p>Reducing the words using nonverbal communication? Yes. Use of Nonverbal Communication really can reduce the words we use. Like; side shaking head to say “no”. If you are happy then your facial expression will show it, etc.</p><p><strong>2. Regulate interaction</strong></p><p>A conversation consists of people communicating back and forth. The communication will regulate only when there are reactions to the information flow. Like if in class and the professor is giving the lecture and the students will nod their heads denoting they have understood what the professor is trying to explain.</p><p><strong>3. Influence people in different manners</strong></p><p>We often use words to influence other people, although a recent study reveals that 75% of emotional meaning is carried via nonverbal channels. In fact, when the nonverbal and verbal channels send contradictory messages, people assign more weight to nonverbal cues. So non-verbal communication can be used to influence people in different manners. For example: Make Eye Contact, Be Respectful, But Take Up Space, Show a Genuine Smile, Use Hand Gestures etc.</p><p><strong>4. Contradict the verbal communication</strong></p><p>Nonverbal communication can convey meaning by contradicting verbal communication. As we learned earlier, we often perceive nonverbal communication to be more credible than verbal communication. This is especially true when we receive mixed messages, or messages in which verbal and nonverbal signals contradict each other. For example, a person may say, “You can’t do anything right!” in a mean tone but follow that up with a wink, which could indicate the person is teasing or joking.</p><p><strong>5. Express or hide emotions</strong></p><p>You might have experienced this very often like you might have tried to hide your pain with the smile or show your inner pain with eyes full of tears. Here your facial expression is used as the nonverbal communication. So yeah we can use the nonverbal communication to express our emotions or hide it with the preferable situation.</p><p><strong>6. Gain or Reduce the attention</strong></p><p>Skilled nonverbal communicators are more likely to be able to create rapport with others due to attention-getting expressiveness, warm initial greetings, and an ability to get “in tune” with others, which conveys empathy. This is how nonverbal communication can help to gain more attention. In contradiction, it can also be used to reduce the attention like in case of shameful situations we can redirect the attention of the audience and reduce the attention of the shameful reason.</p><p><strong>7. Audience to prejudge our thoughts</strong></p><p>As I already mentioned that nonverbal communication often comes with the proximity with the verbal communication but sometimes it comes just before the verbal takes place. Like confidence of a person with his gestures, happiness of a person with his facial expressions, etc.</p><p><strong>8. Express power and control</strong></p><p>In the working environment, everyone has a different status and everyone has their own power/respect in the workspace. While communication between two people happens, the power can be clearly visible between them. For example; communication between the same level is more informal most of the time, Communication with boss &amp; employee can be visualized as employee is giving more respect and boss is commanding.</p><p><strong>9. Demonstrate and Maintain the cultural norms</strong></p><p>Everyone has their own cultural norms and values. Our culture influences our way of communication both verbal and nonverbal, we automatically demonstrate and maintain our cultural norms and values while communicating. For example; Greeting in Nepalese: we say “Namaste” and we place the hands together at the heart chakra, and bow the head. Unlikely, greetings in other countries are different.</p><p>As far as we now know how important is nonverbal communication. Nonverbal communication, less we are conscious on but has a huge impact on our communication performance. We can’t stop communicating with others it is a continuous process and it happens intentionally or unintentionally so better. We can always practice and master on it.</p><p><strong>Further Reading…</strong></p><ul><li><a href="https://courses.lumenlearning.com/introductiontocommunication/chapter/functions-of-nonverbal-communication/">Functions of Nonverbal Communication | Lumen Learning</a></li><li><a href="https://www.skillsyouneed.com/ips/body-language.html">Body Language, Posture and Proximity | Skills You Need</a></li><li><a href="https://www.skillsyouneed.com/ips/body-language.html">Albert Mehrabian’s 7–38–55 Rule of Personal Communication | Skills You Need</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c0d312aad0e4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I registered domain, built & hosted my website completely for free]]></title>
            <link>https://ngima.medium.com/how-i-build-hosted-my-website-completely-free-16ba52573785?source=rss-53126a4e8f06------2</link>
            <guid isPermaLink="false">https://medium.com/p/16ba52573785</guid>
            <category><![CDATA[hosting]]></category>
            <category><![CDATA[domain-registration]]></category>
            <category><![CDATA[free]]></category>
            <category><![CDATA[website]]></category>
            <category><![CDATA[personal]]></category>
            <dc:creator><![CDATA[Ngima Sherpa]]></dc:creator>
            <pubDate>Fri, 17 Sep 2021 03:21:52 GMT</pubDate>
            <atom:updated>2021-09-29T06:42:09.924Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EYJ0FxtvEJZiw3HiZfPreQ.png" /></figure><h3>Hello, I hope you’re doing good. In this article I will share brief information about how I build my portfolio site for free.</h3><h3>STEP 1: Register a domain for free</h3><p>Mercantile provides free .np domain registration to Nepalese citizen, NRN, NRV &amp; Company registered in Nepal. You can find more information from FAQs page from here: <a href="https://register.com.np/FAQs">register.com.np FAQs </a>.</p><h4>Documents are required for .NP registration</h4><blockquote><strong>In case of Personal</strong></blockquote><blockquote>Nepalese citizenship or passport or driving license or voter’s card or</blockquote><blockquote>Non-Resident-Nepalese ID card or</blockquote><blockquote>Nepalese resident visa for foreign nationals</blockquote><blockquote><strong>In case of local entities </strong>:</blockquote><blockquote>Certificate of registration of company/firm/partnership/organization</blockquote><blockquote><strong>In case of foreign entities registered in Nepal </strong>:</blockquote><blockquote>Certificate of registration of branch or liaison office or</blockquote><blockquote>Certificate of affiliation with Social Welfare Council.</blockquote><blockquote><strong>In case of non-incorporated entities doing business in Nepal</strong> such as Permanent Establishments or Non-incorporated Joint Venture Entities: <strong>PAN registration certificate</strong>.</blockquote><blockquote><strong>In case of any entities (local or foreign)having business interests in Nepal:</strong><br>Certificate of trademark registration in Nepal or Official filing receipt of trademark application issued by the Department of Industry (to be supported with actual trademark registration certificate within 3 years of domain registration)</blockquote><p>As I registered for my personal domain. I only submitted <strong>Citizenship ID Card Scan copy</strong> &amp; <strong>Application Letter</strong>. You can find the <a href="https://docs.google.com/document/d/198ufHL2F00fQsgt4nQS16dHX_EYAy5UtpRX2PDgugCk/edit?usp=sharing"><strong><em>Sample Application Letter here</em></strong></a>. It might take up to couple of days sometimes to get verified.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rAKZJu-ksbak-RfJCoYOug.png" /><figcaption>Sample np domain application letter</figcaption></figure><p>While filling up domain registration form you will be asked to give the name servers. I would recommend to use <a href="https://www.cloudflare.com/"><strong>Cloud Flare</strong></a> which provides lots of web tools including DNS tool. Later on you’ll use it to point your domain or subdomain to the hosting server.</p><ul><li>For that, You need to create Cloud Flare account.</li><li>You need to add <strong>bob.ns.cloudflare.com &amp; kara.ns.cloudflare.com</strong></li><li>After domain is registered successfully, add your domain into your Cloud Flare account</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6YD6v4CMU1TIz6b7TQX0Zw.png" /><figcaption>Setting Cloud Flare’s name server</figcaption></figure><p>If doesn’t have mentioned documents then you could try other free domain alternatives like&gt;</p><ul><li>If you’re a student get <a href="https://education.github.com/pack">GitHub Student Developer Pack</a>, you could get .me domain for free.</li><li>You could also try some free domain provider like <a href="https://www.freenom.com/en/index.html?lang=en">Freenom</a></li></ul><h3>STEP 2: Build Website</h3><p>I built my personal website using <a href="https://reactjs.org/"><strong><em>React</em></strong></a><strong><em> JS&gt; </em></strong><a href="https://nextjs.org/"><strong><em>Next JS</em></strong></a><strong><em> &amp; </em></strong><a href="https://chakra-ui.com/"><strong><em>Chakra UI</em></strong></a>.</p><blockquote>React JS is a declarative, efficient, and flexible JavaScript library for building user interfaces.</blockquote><blockquote>Next.js gives you the best developer experience with all the features you need for production: hybrid static &amp; server rendering, TypeScript support, smart bundling, route pre-fetching, and more. No config needed.</blockquote><blockquote>Chakra UI is a simple, modular and accessible component library that gives you the building blocks you need to build your React applications.</blockquote><p>Next JS &amp; Chakra UI you can build website very easily. You can follow their official documentations. They have provided detailed guide in their documentation.</p><p>It took me couple of days to complete my basic personal website, As I already had knowledge on React &amp; Next JS. But Chakra UI was completely new. You can choose other web frameworks too.</p><h3>STEP 3: Hosting</h3><p>After I completely build my personal website, the next step is to make it available or live so anyone in internet can visit my website. For hosting I Chosen <strong>Vercel</strong>, it provides free static site hosting. You could use other static free hosting like <a href="https://pages.github.com/"><strong>Github pages</strong></a>, <a href="https://surge.sh/"><strong>Surge</strong></a>, but I find Vercel more advantages over other alternatives.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3OrYnIvQYqO95RixeBE6vQ.png" /><figcaption>Import Github repo in Vercel</figcaption></figure><p>In Vercel, I can directly import my specific Github projects by giving permission to the repo containing my Website source files (build on Nextjs). Vercel does the production building stuff for you so you don’t need to run npm production build. It got triggered when any updates on any changes on main branch is made &amp; it immediately runs all build stuffs.</p><p>After successful build we need to link/point our domain to Vercel , you could setup your domain from the project settings page’s Domains section.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qw1VeDpsvbRm1AE0MLXetg.png" /></figure><p>You could check out my portfolio site build <a href="https://ngimasherpa.com.np/"><strong>here</strong></a>. Please let me know if you want to learn more details about the domain setup, (ReactJS, NextJS, ChakraUI), Github Vercel setup then I could come up with extended version of this article.</p><p>Thank you for reading. Valuable feedbacks are appreciated.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=16ba52573785" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Test Firebase HTTP V1 Cloud Messaging [Push Notification] | Getting OAuth 2.0 Token]]></title>
            <link>https://ngima.medium.com/how-to-test-firebase-http-v1-cloud-messaging-push-notification-getting-oauth-2-0-token-9c01f44b09d3?source=rss-53126a4e8f06------2</link>
            <guid isPermaLink="false">https://medium.com/p/9c01f44b09d3</guid>
            <category><![CDATA[test]]></category>
            <category><![CDATA[http2]]></category>
            <category><![CDATA[firebasecloudmessaging]]></category>
            <category><![CDATA[firebase]]></category>
            <category><![CDATA[push-notification]]></category>
            <dc:creator><![CDATA[Ngima Sherpa]]></dc:creator>
            <pubDate>Mon, 06 Sep 2021 14:04:42 GMT</pubDate>
            <atom:updated>2021-09-29T06:42:53.720Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*B6oZ0t6oLEOY5QScddxtEw.png" /></figure><p>If you’re using legacy Firebase Cloud Messaging and willing to migrate from legacy HTTP to HTTP v1 for <strong>Better security, more efficient customization of messages across platform &amp; More extendable and future-proof for new client platform versions</strong> but don’t know how to test the notification like we test legacy HTTP API with <strong>POST </strong><a href="https://fcm.googleapis.com/fcm/send"><strong>https://fcm.googleapis.com/fcm/send</strong></a>. For HTTP v1 we need to use the OAuth 2.0 token instead of Server Key for Authorization. Therefore, to test the notification before backend developer implements it on his/her end. Here, I am going to show some quick steps to do so.</p><h3>Step 1: Get Firebase Project Unique Identifier</h3><p>Go to <a href="https://console.firebase.google.com/">Firebase Console</a>, you could see the project unique identifier under the Project Name. For example; in screenshot below <strong>ng-image-recognition</strong> is unique identifier of <strong>Image Recognition Project</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_sttZ4yqHDYlGAkWmidHzA.png" /></figure><p>If you’re starting fresh then you could click on <strong>+ Add project </strong>and you could enter Project Name and firebase will generate unique identifier based on the project name you’ve entered. Though you could edit it, but it should be unique.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UPuf_M8au9YRD61eUEKoCA.png" /></figure><h3>Step 2: Prepare the Firebase notification push URL</h3><p>In Firebase Legacy Cloud Messaging, You could use following url to send notification with <strong>Server Key </strong>in header’s Authorization like;</p><pre><strong>URL</strong><br>POST <a href="https://fcm.googleapis.com/fcm/send">https://fcm.googleapis.com/fcm/send</a></pre><pre><strong>Header<br></strong>Authorization: key=<strong>&lt;SERVER_KEY&gt;</strong></pre><p>But while using HTTP v1 you will be using following instead</p><pre><strong>URL</strong><br>POST https://fcm.googleapis.com/v1/projects/<strong>&lt;PROJECT_UNIQUE_ID&gt;</strong>/messages:send</pre><pre><strong>Header</strong><br>Authorization: Bearer <strong>&lt;OAUTH_2_DOT_0_ACCESS_TOKEN&gt;</strong></pre><p>So in our case, <strong>ng-image-recognition </strong>would be the <strong>PROJECT_UNIQUE_ID</strong></p><p>But how to get <strong>OAUTH_2_DOT_0_ACCESS_TOKEN</strong>? Let’s see it in next step:</p><h3>Step 3: Generate OAUTH_2_DOT_0_ACCESS_TOKEN using Google OAuth 2.0 Playground</h3><ul><li>Go to Google’s OAuth 2.0 Playground. And Select Scope under Firebase Cloud Messaging API v1: <a href="https://www.googleapis.com/auth/firebase.messaging"><strong><em>https://www.googleapis.com/auth/firebase.messaging</em></strong></a></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eoOyJKjj9RHF21CLvHnqsg.png" /></figure><ul><li>Or Copy and paste following url and paste in <strong><em>Input your own scopes </em></strong>and click on Authorize APIs <a href="https://www.googleapis.com/auth/firebase.messaging"><em>https://www.googleapis.com/auth/firebase.messaging</em></a></li><li>And Select Account which has the ownership of the project you’re working on &amp; Check the check box and click continue.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PW0vinl12-gTiuE0j4qL8Q.png" /></figure><ul><li>Click on <strong>Exchange authorization code for tokens </strong>button</li><li>Change HTTP Method to <strong>POST</strong> from default Method <strong>GET</strong></li><li>Enter Request Body something like</li></ul><pre>{<br>  &quot;message&quot;: {<br>    &quot;topic&quot;: &quot;news&quot;,<br>    &quot;notification&quot;: {<br>      &quot;title&quot;: &quot;Breaking News&quot;,<br>      &quot;body&quot;: &quot;New news story available.&quot;<br>    },<br>    &quot;data&quot;: {<br>      &quot;story_id&quot;: &quot;story_12345&quot;<br>    },<br>    &quot;android&quot;: {<br>      &quot;notification&quot;: {<br>        &quot;click_action&quot;: &quot;TOP_STORY_ACTIVITY&quot;<br>      }<br>    },<br>    &quot;apns&quot;: {<br>      &quot;payload&quot;: {<br>        &quot;aps&quot;: {<br>          &quot;category&quot; : &quot;NEW_MESSAGE_CATEGORY&quot;<br>        }<br>      }<br>    }<br>  }<br>}</pre><ul><li>And finally Send the request</li><li>If you have followed the steps above correctly then you should receive response like this</li></ul><pre>{<br>  &quot;name&quot;: &quot;projects/ng-image-recognition/messages/90096515223&quot;<br>}</pre><p>Keep in mind that the token generated will be valid for 1 hr only. But you could regenerate it from <strong>Step 2 in OAuth 2.0 Playground</strong>.</p><p>You could find lot more details about the request data formats from <a href="https://firebase.google.com/docs/cloud-messaging/migrate-v1">Firebase Official HTTP V1 Migration Guide</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9c01f44b09d3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Getting Started with Kotlin Multiplatform Mobile [KMM]]]></title>
            <link>https://ngima.medium.com/getting-started-with-kotlin-multiplatform-mobile-kmm-aead858c3f53?source=rss-53126a4e8f06------2</link>
            <guid isPermaLink="false">https://medium.com/p/aead858c3f53</guid>
            <category><![CDATA[getting-started]]></category>
            <category><![CDATA[kotlin-multiplatform]]></category>
            <category><![CDATA[kmm]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[kotlin]]></category>
            <dc:creator><![CDATA[Ngima Sherpa]]></dc:creator>
            <pubDate>Wed, 01 Sep 2021 17:41:08 GMT</pubDate>
            <atom:updated>2021-09-29T06:50:15.150Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TnSyeQXL1YLMqQNDt8GZkg.png" /></figure><p>KMM[Kotlin Multiplatform Mobile] is a way to build cross platform apps with shared Kotlin code among Android Native View and Swift Native View so the idea is to share the business logic among multiple platform.</p><p>In this article, I will basically share my experience with getting started with KMM in general. And also will share some useful links at the end.</p><h3>Preface</h3><p>I am mobile developer and I mostly worked on Native Android Apps Development. I tried KMM with a KMM projects in Github 1 year but I didn’t do much. Oh wait I noticed I wrote an article at that time but didn’t publish it😒.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7EKgA7yBqYXW1UPCeg1Xdw.png" /><figcaption>Draft preview of article I wrote 1 year ago about KMM</figcaption></figure><p>I am very interested on continuing with Kotlin Multiplatform Mobile after working on couple of React Native Projects on which I am not so much happy with the performance of the apps.</p><p>As Android Developer I use Kotlin which is plus point for KMM to try it out. Let’s get started with KMM. Before that I assume you have Android Studio already installed in your Machine. If not don’t worry you could download and install it from <a href="https://developer.android.com/studio">Android Developer Official Site</a>.</p><p>Now, Let’s dive in 👍.</p><h3>Getting Started</h3><h4><strong>Step 1: Installing Kotlin Multiplatform Mobile Plugin</strong></h4><p>Install Kotlin Multiplatform Mobile Plugin in Android Studio and restart the Android Studio</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XB9NNg6wg1q7eEuPg0sG6A.png" /><figcaption>Installing Kotlin Multiplatform Mobile Plugin</figcaption></figure><p><strong>Step 2: Creating Your First KMM Project</strong></p><p>Now you could create new KMM project via Android Studio’s Create Project Wizard. You could see KMM Application as a last template option as in Screenshot below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N0vTUEnIW11QxWCypmzeGA.png" /><figcaption>Android Studio’s New Project Wizard with KMM Application option</figcaption></figure><p>Press Next and fill additional informations and Press Finish Button after all information are field.</p><p>Now Android Studio will install download some files and you’re ready to go.</p><p><strong>Step 3: Understanding Project file structure</strong></p><p>After creating the project, you could see file structure as shown in screenshot. You can notice three folders <strong>androidApp</strong>, <strong>iosApp</strong> &amp; <strong>shared, </strong>we could set other names for these folder while we’re creating the KMM project via Android Studio Create Project Wizard.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YO5Ia32iMmx7yxGYrzBlgw.png" /><figcaption>KMM Project file structure</figcaption></figure><p><strong>Folder</strong> <strong>androidApp </strong>contains the regular android native app. You could run Android App directly from the android studio.</p><p><strong>Folder</strong> <strong>iosApp </strong>contains regular iOS native App Project. For running iOS App, You must have MacOS &amp; Xcode installed in your Machine.</p><p><strong>Folder</strong> <strong>shared</strong> contains all codes that will be shared among Native Android &amp; iOS Projects. Where we will place the business logic that can be shared among multiple mobile platform.</p><h3><strong>Step 4: Running application</strong></h3><p>Select each platform in run configurations with <strong>androidApp</strong> to run Android Application &amp; <strong>iosApp </strong>to run iOS Application. And click on green play/run button as shown in Screenshot below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OlgB4eAeiBAymld1NqmQ2Q.png" /><figcaption>Initial output of project created using KMM Android Studio Plugin</figcaption></figure><p>This is just a brief guide for Getting Started with KMM. I have started to explore KMM. I am starting personal learning project <a href="https://github.com/ngima/kmm-7-days">kmm-7-days</a> where I will document my progress on KMM. I update what I have learned through out my 7 days of KMM learning in next KMM article. 😊</p><h3>Useful Links</h3><p><a href="https://kotlinlang.org/docs/mobile/home.html">KMM Documentation</a>: Here you could find complete guide for KMM.</p><p><a href="https://ktor.io/">Ktor</a>: Used for networking in KMM.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aead858c3f53" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Journey from After Effect Animation to Android Animation]]></title>
            <link>https://ngima.medium.com/journey-from-after-effect-animation-to-android-animation-47e2fae783b?source=rss-53126a4e8f06------2</link>
            <guid isPermaLink="false">https://medium.com/p/47e2fae783b</guid>
            <category><![CDATA[lottie]]></category>
            <category><![CDATA[mobile]]></category>
            <category><![CDATA[animation]]></category>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[android]]></category>
            <dc:creator><![CDATA[Ngima Sherpa]]></dc:creator>
            <pubDate>Thu, 19 Mar 2020 12:31:44 GMT</pubDate>
            <atom:updated>2021-09-30T07:58:34.776Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*O5acuKwk_b1qK14Zhc8G6A.png" /></figure><h3>Journey from After Effects Animation to Android Animation</h3><p>I have been working as mobile developer for several years. From the beginning of my carrier or even before I enthusiasts on UI/UX and animation. It was quite difficult to get complex animations in mobile platform then Few years back Airbnb introduced a animation library <a href="https://airbnb.design/lottie/">Lottie</a>.</p><blockquote><em>Lottie is an iOS, Android, and React Native library that renders After Effects animations in real time, allowing apps to use animations as easily as they use static images.</em></blockquote><h3>Why Lottie?</h3><ul><li>Flexible After Effects features: Lottie currently support solids, shape layers, masks, alpha mattes, trim paths, and dash patterns. And They have been adding new features on a regular basis.</li><li>Manipulate your animation any way you like: You can go forward, backward, and — most importantly — you can program your animation to respond to any interaction.</li><li>Small file sizes: Bundle vector animations within your app without having to worry about multiple dimensions or large file sizes. Alternatively, you can decouple animation files from your app’s code entirely by loading them from a JSON API.</li></ul><p>It’s really simple to use the Lottie animation library by simply following their documentation.</p><p>I have created a tutorial to create after effect animation, exporting json and using it in android.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FzxVxziAZRas%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DzxVxziAZRas&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FzxVxziAZRas%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/698095bc36cf885d252ca56f5043e97b/href">https://medium.com/media/698095bc36cf885d252ca56f5043e97b/href</a></iframe><h3>Adding Lottie in your Project</h3><p>Just add the dependency to your project build.gradle file:</p><pre>dependencies {<br>  implementation &#39;com.airbnb.android:lottie:$lottieVersion&#39;<br>}</pre><h3>Loading an Animation</h3><p>Lottie supports API 16 and above.</p><p>Lottie animations can load animations from:</p><ul><li>A json animation in src/main/res/raw.</li><li>A json file in src/main/assets.</li><li>A zip file in src/main/assets. See <a href="http://airbnb.io/lottie/#/android?id=images">images docs</a> for more info.</li><li>A url to a json or zip file.</li><li>A json string. The source can be from anything including your own network stack.</li><li>An InputStream to either a json file or a zip file.</li></ul><h3>Using Lottie Animation directly from XML</h3><pre>&lt;com.airbnb.lottie.LottieAnimationView<br>        android:id=&quot;@+id/animation_view&quot;<br>        android:layout_width=&quot;wrap_content&quot;<br>        android:layout_height=&quot;wrap_content&quot;</pre><pre>        app:lottie_rawRes=&quot;@raw/animation_filename_located_in_raw&quot;<br>        // or<br>        app:lottie_fileName=&quot;animation_filename_located_assets.json&quot;</pre><pre>        // Loop indefinitely<br>        app:lottie_loop=&quot;true&quot;<br>        // Start playing as soon as the animation is loaded<br>        app:lottie_autoPlay=&quot;true&quot; /&gt;</pre><p>You can explore more from the <a href="http://airbnb.io/lottie/#/">documentation</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=47e2fae783b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[YoungInnovations Weekly #64 Welcome Winter, Slush, Social All Hands]]></title>
            <link>https://medium.com/younginnovations-blog/younginnovations-weekly-64-welcome-winter-slush-social-all-hands-5969311e137d?source=rss-53126a4e8f06------2</link>
            <guid isPermaLink="false">https://medium.com/p/5969311e137d</guid>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[entrepreneurship]]></category>
            <dc:creator><![CDATA[Ngima Sherpa]]></dc:creator>
            <pubDate>Fri, 25 Nov 2016 09:18:28 GMT</pubDate>
            <atom:updated>2016-11-25T09:18:28.419Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*C-zcmLmY5TKrWGDO." /></figure><p>“Oh! It’s cold.” Everyone can feel cool breeze chilling their heart, days getting shorter by now. It’s the time for winter, “<strong>Welcome Winter !”</strong>. The most beautiful and healthiest weather among all, at least for me :)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GjXxzyUHcG20y8wU78Xo6A.jpeg" /></figure><p>As one of the global hubs, you might know that <a href="https://blog.yipl.com.np/1st-local-competition-of-slush-2016-global-impact-accelerator-in-kathmandu-nepal-ff39e7982b28#.ikm651lv8">we had hosted an event, <strong>SLUSH 2016 GLOBAL IMPACT ACCELERATOR,</strong></a> that encourages tech startups. The event was organized in partnership with KCM Business Incubator Centre (KBIC) and <a href="http://tna.com.np/">True North Associates (TNA)</a>. Two winners, <a href="https://honeyguideapps.com/">Honey Guide</a> &amp; ICT for Agriculture, were selected, and they have already been participating in the <a href="http://www.slush.org/gia/"><strong>Slush Global Impact Accelerator</strong></a><strong> </strong>program there at Helsinki, Finland. Tomorrow, Our CEO <a href="https://medium.com/u/89196caed02e">bibhusan</a> is heading off to Helsinki to participate in the Slush event to be held on Nov 30 and Dec 1.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EmdmCTnEPZV805bFXNez_A.png" /></figure><p>That’s all for this week !!</p><p>Oh yeah, its last Friday of the month November. As usual, we are going to have an event, <strong>Social All-Hands</strong> being hosted by <strong>Tribe — 1.</strong></p><p>Happy Friday! Enjoy the weekend. :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5969311e137d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/younginnovations-blog/younginnovations-weekly-64-welcome-winter-slush-social-all-hands-5969311e137d">YoungInnovations Weekly #64 Welcome Winter, Slush, Social All Hands</a> was originally published in <a href="https://medium.com/younginnovations-blog">YoungInnovations&#39; Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>