DEV Community

Nicodemus Ojwee
Nicodemus Ojwee

Posted on

Set up React Native App with Kotlin

Following instructions from the repository below.
https://github.com/ojaynico/create-ojaynico-krn

Install create-ojaynico-krn cli using the command

$ npm install -g @ojaynico/create-ojaynico-krn

Create a new project using

$ create-ojaynico-krn YourProjectName

Change directory or go to YourProjectName folder using terminal or cmd

$ cd YourProjectName

Install npm dependencies while in the directory

$ npm install

Assemble your Kotlin shared module. Make sure you have gradle installed on your system. Otherwise use alternative commands provided in the repository link above.

$ npm run gradleAssemble

Bundle your application by running

$ npm run start

Run the application on an Android or iOS device using either of the commands.

$ npm run android

OR

$ npm run ios

Top comments (0)