All Projects → Foso → KotlinReactNativeMpp

Foso / KotlinReactNativeMpp

Licence: Apache-2.0 license
A ReactNative App written with Kotlin JS

Programming Languages

kotlin
9241 projects
objective c
16641 projects - #2 most used programming language
python
139335 projects - #7 most used programming language
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to KotlinReactNativeMpp

kotlin-js-D3js-example
A simple example of a D3 JavaScript program in Kotlin
Stars: ✭ 13 (-50%)
Mutual labels:  kotlin-js
vjson
A simple JSON parser and (de)serializer library for java/kotlin and kotlin-native/js. Also provides a strongly-typed language: vjson-lang.
Stars: ✭ 31 (+19.23%)
Mutual labels:  kotlin-js
kfc-plugins
Kotlin/JS Fast Configuration
Stars: ✭ 37 (+42.31%)
Mutual labels:  kotlin-js
Lavalink.kt
Coroutine based client for Lavalink (Kotlin and Java)
Stars: ✭ 31 (+19.23%)
Mutual labels:  kotlin-js
npm-publish
Gradle plugin for NPM package publishing. Allows for arbitrary publishing as well as seamless integration with Kotlin JS/MPP plugins.
Stars: ✭ 66 (+153.85%)
Mutual labels:  kotlin-js
kotlin-multiplatform-example
A Kotlin multiplatform example app that targets Android, ReactJS, iOS, JavaFx, and Spring Boot
Stars: ✭ 115 (+342.31%)
Mutual labels:  kotlin-js
tmdb-api
This Kotlin Multiplatform library is for accessing the TMDB API to get movie and TV show content. Using for Android, iOS, and JS projects.
Stars: ✭ 31 (+19.23%)
Mutual labels:  kotlin-js
intro-kotlin-mutliplatform
Kotlin Multiplatform project (MPP), JVM and JS
Stars: ✭ 21 (-19.23%)
Mutual labels:  kotlin-js
kmdc
Kompose wrappers for material-components-web
Stars: ✭ 66 (+153.85%)
Mutual labels:  kotlin-js
super-github
Enhance your GitHub experience 🚀
Stars: ✭ 18 (-30.77%)
Mutual labels:  kotlin-js
kfsm
Finite State Machine in Kotlin
Stars: ✭ 76 (+192.31%)
Mutual labels:  kotlin-js
Sheasy
This an Android App that helps you share/manage your files on your Android Device through a WebInterface in the Browser - Built with Ktor and Kotlin-React
Stars: ✭ 34 (+30.77%)
Mutual labels:  kotlin-js
fluid-react
Highly experimental Kotlin wrapper for React
Stars: ✭ 12 (-53.85%)
Mutual labels:  kotlin-js
kotlin-telegram
Repository with information about Kotlin chats on Telegram.
Stars: ✭ 21 (-19.23%)
Mutual labels:  kotlin-js
thelema-engine
Thelema - 3D graphics engine, written in Kotlin. Based on sources of libGDX.
Stars: ✭ 51 (+96.15%)
Mutual labels:  kotlin-js
KotlinMultiplatformAndoridParcelize
Use the Parcelize Annotation of the Kotlin Android Extensions in Kotin Multiplatform projects
Stars: ✭ 16 (-38.46%)
Mutual labels:  kotlin-js
mqtt
Kotlin cross-platform, coroutine based, reflectionless MQTT 3.1.1 & 5.0 client & server
Stars: ✭ 31 (+19.23%)
Mutual labels:  kotlin-js
Maily-Form
Forms on any website
Stars: ✭ 29 (+11.54%)
Mutual labels:  kotlin-js
three-kt-wrapper
Kotlin wrappers for Three.js
Stars: ✭ 46 (+76.92%)
Mutual labels:  kotlin-js
hello-kotlin-multiplatform
Multiplatform Kotlin Hello World (Android/Java/JavaScript)
Stars: ✭ 64 (+146.15%)
Mutual labels:  kotlin-js

Kotlin React-Native Mpp

jCenter PRs Welcome All Contributors Tweet

A React-Native App written with Kotlin JS

Introduction 🙋‍♂️

This is an example project to show how you can use KotlinJS to write React-Native Apps. You can click on an floating action button and a counter will update

🏠 Architecture

🛠️ Built With

Kotlin

jCenter

Tools

jCenter

Project Structure

  • android - Base android project directory
  • ios - Base ios project directory
  • shared - This module is using the Kotlin Multiplatform Plugin, but is only configured to compile to Javascript/React. The main entry of the module is inside the index.kt. In the imports-folder are all relevant wrapper for the React modules. In the ui-folder are all (you might guessed it), ui relevant files

Development

  1. Install Yarn.
  2. Run yarn install to install all the javascript dependencies.
  3. Run ./gradlew -t :shared:assemble - compiles the Kotlin javascript module located in ./shared, and watches it for changes. Leave this terminal open. Remove the -t argument if you don't want gradle to watch for changes and auto-rebuild.
  4. Run yarn haul start --platform android. You should now see the message "You can now run the app on your * device"
  5. Run the Android app in an Android emulator. Open the app menu, press Command + M on OSX or Ctrl + M on Linux and Windows. Inside "Dev Settings" disable "JS Delta". Leave the dev settings.
  6. Changes in the "shared" folder should now trigger the app to update the content. Altenative you can manually trigger a reload in the app menu.

✍️ Feedback

Feel free to send feedback on Twitter or file an issue. Feature requests are always welcome.

📜 License

This project is licensed under the Apache License, Version 2.0 - see the LICENSE.md file for details

Find this project useful ? ❤️

  • Support it by clicking the button on the upper right of this page. ✌️

License

Copyright 2019 Jens Klingenberg

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Acknowledgments

Projects that helped me understand how to setup the project:

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].