Skip to content

Latest commit

 

History

History
67 lines (49 loc) · 1.39 KB

File metadata and controls

67 lines (49 loc) · 1.39 KB

QuickCaptureSample — Local Android Build (Windows)

This project uses @extrieve_technologies/quickcapture_react_native (native module), so Expo Go will NOT work. You must build a development client.

Prerequisites

1) Install tooling

  • Node.js 18 LTS or 20 LTS
  • Java 17
  • Android Studio (Android SDK + platform tools)

2) Android SDK setup

Install via Android Studio → SDK Manager:

  • Android SDK Platform (API 34 recommended)
  • Android SDK Build-Tools
  • Android SDK Platform-Tools
  • Android SDK Command-line Tools (latest)

Project setup

npm install
npx expo prebuild --clean

This will create new directory

1) Update local.properties file found in the root

Replace the current path with your android sdk path.

2) Copy this local.properties file inside android directory

/android/

3) Update build.gradle

add dependency of maven repo maven {url 'https://expack.extrieve.in/maven/'} Copy paste above line in android/build.gradle file.

Your file will look like this...

allprojects {
    repositories {
        ...
        ...

        google()
        mavenCentral()
        maven { url 'https://www.jitpack.io' }
        maven {url 'https://expack.extrieve.in/maven/'}    //This is important
    }
}

4) Build it locally

npx expo run:android

Run the project

npx expo start