Skip to content

Mythologi-XR/react-native-test-flight

 
 

Repository files navigation

react-native-test-flight

Getting started

$ yarn add @mythologi/react-native-testflight

Mostly automatic installation

$ react-native link @mythologi/react-native-testflight

Manual installation

iOS

  1. In XCode, in the project navigator, right click LibrariesAdd Files to [your project's name]
  2. Go to node_modulesreact-native-test-flight and add RNTestFlight.xcodeproj
  3. In XCode, in the project navigator, select your project. Add libRNTestFlight.a to your project's Build PhasesLink Binary With Libraries
  4. Run your project (Cmd+R)<

Usage

import RNTestFlight from "@mythologi/react-native-testflight";

if (RNTestFlight.isTestFlight) {
  console.log("Ground control to Major Tom");
}

About

A tiny react-native module that lets you determine whether your app is running in TestFlight

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 48.5%
  • Ruby 39.3%
  • JavaScript 12.2%