React Native and Python – run Python script on the frontend side

Introduction

This article serves as a quick summary / indication for anyone who wants to use Python on the frontend side. And this article only focuses on the Android part. 

Probably you will not find on the Internet any articles about how to use React Native and Python. Most of the articles will suggest you to use Python on the backend side. Actually, it is a good idea to use Python on the backend side. But in this case I am going to explain how to use Python on the front side. I called that method “ Inject ”, since we’re gonna try to inject a Python script and use a custom native module to communicate with Javascript. Let’s get started and grab your coffee then.

https://github.com/arwysyah/React_Native_Python_and_Research_Bridge

What you need to know: 

  • Javascript
  • Java
  • React Native
  • Native Module

Let’s go!
(więcej…)