Skip to content

joinloops/loops-app

Repository files navigation

Loops Logo

Loops Mobile App

This is the mobile app source that uses the Loops service.

Prerequisites

  • Node.js (version 16 or newer)
  • npm or yarn package manager
  • Git

iOS Development Requirements (macOS only)

  • Xcode (latest version recommended)
  • CocoaPods (sudo gem install cocoapods)
  • macOS

Android Development Requirements

  • Android Studio
  • Android SDK
  • Java Development Kit (JDK) 11 or newer

Installation Steps

  1. Install Node and necessary development tools:
# For macOS users (using Homebrew):
brew install node watchman
# Install JDK 17 if developing for Android
brew install --cask zulu17
  1. Clone your loops app repository:
git clone https://github.com/joinloops/loops-app
cd loops-app
  1. Install dependencies:
npm install
# or if using yarn
yarn install
  1. iOS Setup (macOS only):
cd ios
pod install
cd ..
  1. Start Metro Bundler:
npx react-native start
  1. Run the app:

For iOS (macOS only):

npx react-native run-ios

For Android:

npx react-native run-android

Common Issues and Solutions

  • If you encounter any build errors, try cleaning the build:

    # For iOS
    cd ios
    pod deintegrate
    pod install
    cd ..
    
    # For Android
    cd android
    ./gradlew clean
    cd ..
    • Metro bundler cache issues:
    npm start -- --reset-cache
  • For Android SDK issues, ensure your ANDROID_HOME environment variable is set correctly

Funding

This project is funded through NGI Zero Core, a fund established by NLnet with financial support from the European Commission's Next Generation Internet program. Learn more at the NLnet project page.

NLnet foundation logo NGI Zero Logo

Supporters

Thanks to the Fastly Fast Forward program, Fastly CDN and Object storage is used by Loops to host and serve Loops video to a global audience of people for free.

Fastly Fast Forward logo