Node.js

Set Up Android Dependencies

Adding Dependencies

Open app/build.gradle.kts (or .gradle) and add the following dependencies:

Click Sync Now to download the libraries.

Why These Libraries?

  • Compose Libraries: For creating modern and responsive UI components.
  • OkHttp: To make HTTP requests to our backend server.
  • Gson: To handle JSON serialization and deserialization.

Setting Up Internet Permissions

In AndroidManifest.xml, add the following permission at the top (within the <manifest> tag):

We need internet access to communicate with our backend server and send verification requests.