shubham salunke
shubham salunke

Reputation: 475

How to write android backend code for a React native UI

I have a complete frontend ready in React Native (using Expo) and now I want to write the backend for it in Java. In my project directory, I see an android folder that resembles a project created using Android Studio (app → src → main → domain → MainActivity.java).

React Native Project Directory Structure

This file looks something like an android project but has many new overridden methods that I have never seen, so how do I go about writing the backend for the frontend of the application? Where could I find documentation regarding the same?

Upvotes: 1

Views: 398

Answers (1)

Tafsir Ahamed
Tafsir Ahamed

Reputation: 956

To write the backend in Java or any other stack, you have to write it as a separate project like any other application. However, you can modify the native android modules in react native. Here is a sample documentation for that.

Upvotes: 4

Related Questions