Skip to content

sduf-net/sdufReactNative

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

416 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SDUF React Native Application

Mobile Server-Driven UI Application This project is a mobile application that leverages server-driven UI principles, allowing users to configure and display screens dynamically through a web panel. By decoupling the user interface from the application logic, the app provides flexibility and adaptability

This repository contains the SDUF React Native application. Follow the instructions below to set up and run the project.

Installation

  1. Set Up Your Environment

Doc here

  1. Clone the repository:

    git clone git@github.com:Dimakoua/sdufReactNative.git
  2. Navigate to the project directory:

    cd sdufReactNative
  3. Install the dependencies:

    npm install

Yanr

To dowload yarn release remove

"packageManager": "yarn@3.6.4"

from package.json and run

yarn set version 3.6.4

Configuration

  1. Register an account here.

  2. Create a new project on the registration platform.

  3. Edit the `.env` file in the project directory with the project ID and token you received after creating the project.

  4. In order to use maps, register and get an API key from Maptiler

  5. Inside the project, you can create a screen. Note: An 'index' screen is mandatory.

  6. Open a screen and use the drag and drop feature available on the platform to set up one.

Running the Application Android

To run the application on an Android device or emulator, execute the following command:

npx react-native run-android
npx react-native start --reset-cache

Running the Application IOS (WIP)

To run the application on an Android device or emulator, execute the following command:

cd ios && NO_FLIPPER=1 pod install

From root dir

npm run ios 

Prettier

format all files with Prettier:

npm run prettierFixAll

More details here

Notes

  • This application currently supports only Android devices.
  • This is the initial version of the application.

Enjoy!

About

Mobile Server-Driven UI Application This project is a mobile application that leverages server-driven UI principles, allowing users to configure and display screens dynamically through a web panel. By decoupling the user interface from the application logic, the app provides flexibility and adaptability

Resources

License

Stars

Watchers

Forks

Contributors