Doc written for react-native 0.70.4. Not everything has been tested now app is using react-native 0.80.2.
Tracim is an open source software designed to help you and your team to a better collaboration.
Any questions, remarks? Reach us on Tracim Community.
More information on our website.
The Tracim's mobile app allows you to access multiple Tracim servers quickly and easily.
Tracim's mobile app uses React Native CLI and supports Android and iOS.
Requirements:
- Android Studio
- requires Android Studio 2025+
- Node
- requires node 22+
- Java Development Kit
- requires java 17
Install dependencies:
npm installRequirements:
- Node & Watchman (you can use Homebrew to install)
- Ruby 2.7.6 (you can use a Ruby version manager if you only want to change the version on this project)
- Bundler to install Cocoapods
- Xcode
Install dependencies:
npx pod-install iosor
cd ios
pod installYou will need to setup a device to test the application. You can use a real device or an emulator.
See the React Native documentation for more information.
Metro takes in an entry file and various options, and returns a single JavaScript file that includes all your code and its dependencies. — Metro Docs
Start Metro:
npx react-native startIn another terminal, run the app:
npx react-native run-android
or
npx react-native run-ios
If the bug you have found or the feature you want is directly in Tracim itself, you can create an issue in the Tracim repository.
If the bug or feature is application specific, i.e., related to features that you do not find using Tracim in a browser mode, you can submit your issue in this repository.
You can also review the code and propose changes.
For more information, see the Contributing page.
To know about Tracim's License, see LICENSE.md.
Sometimes after pulling the latest developments and trying to run npx react-native start the following error appears:
> tracim_mobile_app@0.0.1 start
> react-native start
sh: 1: react-native: not found
To fix this, re-run the npm install command.
npx react-native start --reset-cachecd android && ./gradlew clean && cd ..
npm run androidadb shell input keyevent 82npx react-native doctor- Adb: requires ANDROID_HOME correct
- JDK: requires JAVA_HOME correct
- Android Studio: if not ok, install it in /opt/ works. Or create a symlink
- Android SDK, if Versions found: N/A
- android studio > tools > sdk manager > sdk tools (tab) > check "android sdk command line tool (latest)"
- Go to
mobile_app/android/ - Create a file called
local.propertiesand for the content you paste your Android SDK path:- in Windows
sdk.dir = C:\\Users\\<USERNAME>\\AppData\\Local\\Android\\sdk - in MacOS
sdk.dir = /Users/<USERNAME>/Library/Android/sdk - in Linux
sdk.dir = /home/<USERNAME>/Android/Sdk
- in Windows
A build can fail for several reasons, if your error is the same as below, you probably have an old version of the application installed on your phone/simulator. Uninstall the old version and relaunch the command.
error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup.
Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081
You might need to run:
export ANDROID_HOME=$HOME/Android/Sdk
export PATH=$PATH:$ANDROID_HOME/emulator
export PATH=$PATH:$ANDROID_HOME/platform-tools
export JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64/javac is the java compiler for the SDK. To select javac version from the already installed ones:
update-alternatives --config javacYou probably opened xcodeproj instead of xcworkspace. You should always open on Xcode th file mobile_app/ios/mobile_app.xcworkspace.
