Skip to content

Compilation guide

Kaustubh Patange edited this page Jul 24, 2022 · 11 revisions

Compilation guide

!> When running the compiled code, the application may crash or may not work as expected.

  • Clone the repository with git or the new CLI tool.
gh repo clone KaustubhPatange/XClipper
cd XClipper

Windows

tar -xvzf scripts\csproj.tar.gz
nuget restore XClipper.sln
msbuild XClipper.sln

Android

  • Install Android Studio.

  • Create a file at XClipper.Android/.gradle/gradle.properties with the following contents.

keyAlias=<enter_alias>
keyPassword=<enter_password>
storePassword=<enter_password>
server_uri=<server_url>
  • Run the following commands from the root folder.
tar -xvzf scripts\gradle.tar.gz
cd XClipper.Android
./gradlew app:assembleDebug
  • You'll also a need a google-service.json file to be present in app/ folder so make sure to generate that with package names com.kpstv.xclipper & com.kpstv.xclipper.debug through your Firebase project.

Limitations

Following are some limitation when built from sources.

  • Dispatching updates will not work for both Android & Windows application.
  • Synchronization between Windows & Android app will not work.
  • Database encryption/decryption feature will not work.
  • Built-in review & analytics (crash reporting) system will not work.
  • Unexpected crashes anytime when using the app.
Clone this wiki locally