<?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: Nicodemus Ojwee</title>
    <description>The latest articles on DEV Community by Nicodemus Ojwee (@ojaynico).</description>
    <link>https://dev.to/ojaynico</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%2F464201%2F15ea6582-2c45-4c5f-90ef-af6c7a1741b1.jpeg</url>
      <title>DEV Community: Nicodemus Ojwee</title>
      <link>https://dev.to/ojaynico</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ojaynico"/>
    <language>en</language>
    <item>
      <title>Set up React Native App with Kotlin</title>
      <dc:creator>Nicodemus Ojwee</dc:creator>
      <pubDate>Wed, 03 Mar 2021 21:55:29 +0000</pubDate>
      <link>https://dev.to/ojaynico/set-up-react-native-app-with-kotlin-56cb</link>
      <guid>https://dev.to/ojaynico/set-up-react-native-app-with-kotlin-56cb</guid>
      <description>&lt;p&gt;Following instructions from the repository below.&lt;br&gt;
&lt;a href="https://github.com/ojaynico/create-ojaynico-krn"&gt;https://github.com/ojaynico/create-ojaynico-krn&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Install &lt;strong&gt;create-ojaynico-krn&lt;/strong&gt; cli using the command&lt;/p&gt;

&lt;p&gt;&lt;code&gt;$ npm install -g @ojaynico/create-ojaynico-krn&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Create a new project using&lt;/p&gt;

&lt;p&gt;&lt;code&gt;$ create-ojaynico-krn YourProjectName&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Change directory or go to &lt;strong&gt;YourProjectName&lt;/strong&gt; folder using terminal or cmd&lt;/p&gt;

&lt;p&gt;&lt;code&gt;$ cd YourProjectName&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Install &lt;strong&gt;npm dependencies&lt;/strong&gt; while in the directory&lt;/p&gt;

&lt;p&gt;&lt;code&gt;$ npm install&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Assemble&lt;/strong&gt; your &lt;strong&gt;Kotlin&lt;/strong&gt; shared module. Make sure you have &lt;strong&gt;gradle&lt;/strong&gt; installed on your system. Otherwise use alternative commands provided in the repository link above.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;$ npm run gradleAssemble&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Bundle your application by running&lt;/p&gt;

&lt;p&gt;&lt;code&gt;$ npm run start&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Run the application on an &lt;strong&gt;Android or iOS&lt;/strong&gt; device using either of the commands.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;$ npm run android&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;OR&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;$ npm run ios&lt;/code&gt;&lt;/p&gt;

</description>
      <category>kotlin</category>
      <category>reactnative</category>
      <category>ios</category>
      <category>android</category>
    </item>
    <item>
      <title>Kotlin Wrappers for React Native core Components, APIs and React Native Navigation By Wix</title>
      <dc:creator>Nicodemus Ojwee</dc:creator>
      <pubDate>Mon, 04 Jan 2021 21:35:26 +0000</pubDate>
      <link>https://dev.to/ojaynico/kotlin-wrappers-for-react-native-core-components-apis-and-react-native-navigation-by-wix-2973</link>
      <guid>https://dev.to/ojaynico/kotlin-wrappers-for-react-native-core-components-apis-and-react-native-navigation-by-wix-2973</guid>
      <description>&lt;p&gt;&lt;strong&gt;React Native&lt;/strong&gt; is a mobile application framework used for developing &lt;strong&gt;cross platform apps&lt;/strong&gt; using &lt;strong&gt;Javascript&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Kotlin&lt;/strong&gt; is a general purpose programming language that can be compiled or transpiled to run on different environments and platforms. One of the languages &lt;strong&gt;Kotlin&lt;/strong&gt; can be transpiled to is &lt;strong&gt;Javascript&lt;/strong&gt;.&lt;br&gt;
This gives &lt;strong&gt;Kotlin&lt;/strong&gt; the power to be used as a dependency or to use dependencies from the &lt;strong&gt;Javascript&lt;/strong&gt; ecosystem.&lt;/p&gt;

&lt;p&gt;The ability to transpile &lt;strong&gt;Kotlin&lt;/strong&gt; code into &lt;strong&gt;Javascript&lt;/strong&gt; gave birth to what we call &lt;strong&gt;Kotlin Wrappers&lt;/strong&gt;. These &lt;strong&gt;Wrappers&lt;/strong&gt; are &lt;strong&gt;Kotlin&lt;/strong&gt; libraries that reference specific libraries that are initially written in &lt;strong&gt;Javascript&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;This powerful feature, provided through &lt;strong&gt;Kotlin/JS&lt;/strong&gt; has enabled me to come up with two &lt;strong&gt;Kotlin Wrappers&lt;/strong&gt; from the &lt;strong&gt;Javascript&lt;/strong&gt; ecosystem that can be used to develop &lt;strong&gt;React Native&lt;/strong&gt; Applications using &lt;strong&gt;Kotlin&lt;/strong&gt;.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;ojaynico-kotlin-react-native&lt;/strong&gt;&lt;br&gt;
This &lt;strong&gt;wrapper&lt;/strong&gt; is made up of all &lt;strong&gt;React Native core components and APIs&lt;/strong&gt;. It can be downloaded from the link below.&lt;br&gt;
&lt;a href="https://search.maven.org/artifact/com.github.ojaynico/ojaynico-kotlin-react-native"&gt;https://search.maven.org/artifact/com.github.ojaynico/ojaynico-kotlin-react-native&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;ojaynico-kotlin-react-native-navigation&lt;/strong&gt;&lt;br&gt;
This &lt;strong&gt;wrapper&lt;/strong&gt; is made up of components from &lt;strong&gt;React Native Navigation by Wix&lt;/strong&gt;. It can be downloaded using the link below.&lt;br&gt;
&lt;a href="https://search.maven.org/artifact/com.github.ojaynico/ojaynico-kotlin-react-native-navigation"&gt;https://search.maven.org/artifact/com.github.ojaynico/ojaynico-kotlin-react-native-navigation&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;ojaynico-kotlin-react-native-async-storage&lt;/strong&gt;&lt;br&gt;
This &lt;strong&gt;wrapper&lt;/strong&gt; is made up of functions from &lt;strong&gt;React Native Async Storage&lt;/strong&gt;. It can be downloaded using the link below.&lt;br&gt;
&lt;a href="https://search.maven.org/artifact/com.github.ojaynico/ojaynico-kotlin-react-native-async-storage"&gt;https://search.maven.org/artifact/com.github.ojaynico/ojaynico-kotlin-react-native-async-storage&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;ojaynico-kotlin-native-base&lt;/strong&gt;&lt;br&gt;
This &lt;strong&gt;wrapper&lt;/strong&gt; is made up of components and APIs from &lt;strong&gt;Native Base&lt;/strong&gt;. It can be downloaded using the link below.&lt;br&gt;
&lt;a href="https://search.maven.org/artifact/com.github.ojaynico/ojaynico-kotlin-native-base"&gt;https://search.maven.org/artifact/com.github.ojaynico/ojaynico-kotlin-native-base&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;For more instructions on how to use these &lt;strong&gt;wrappers&lt;/strong&gt;, you can check out the following repositories (In their order) on how to setup with example projects.&lt;br&gt;
&lt;a href="https://github.com/ojaynico/ojaynico-kotlin-react-native"&gt;https://github.com/ojaynico/ojaynico-kotlin-react-native&lt;/a&gt;&lt;br&gt;
&lt;a href="https://github.com/ojaynico/KotlinReactNativeApp"&gt;https://github.com/ojaynico/KotlinReactNativeApp&lt;/a&gt;&lt;br&gt;
&lt;a href="https://github.com/ojaynico/ojaynico-kotlin-react-native-navigation"&gt;https://github.com/ojaynico/ojaynico-kotlin-react-native-navigation&lt;/a&gt;&lt;br&gt;
&lt;a href="https://github.com/ojaynico/KotlinReactNativeNavigation"&gt;https://github.com/ojaynico/KotlinReactNativeNavigation&lt;/a&gt;&lt;br&gt;
&lt;a href="https://github.com/ojaynico/KotlinReactNativeLoginSignup"&gt;https://github.com/ojaynico/KotlinReactNativeLoginSignup&lt;/a&gt;&lt;br&gt;
&lt;a href="https://github.com/ojaynico/ojaynico-kotlin-react-native-async-storage"&gt;https://github.com/ojaynico/ojaynico-kotlin-react-native-async-storage&lt;/a&gt;&lt;br&gt;
&lt;a href="https://github.com/ojaynico/ojaynico-kotlin-native-base"&gt;https://github.com/ojaynico/ojaynico-kotlin-native-base&lt;/a&gt;&lt;/p&gt;

</description>
      <category>kotlin</category>
      <category>reactnative</category>
      <category>ios</category>
      <category>android</category>
    </item>
  </channel>
</rss>
