Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@ryanneilstroud/periscope-react-native

React Native bridge for PeriscopeKit (iOS) and PeriscopeAndroid (Android) with low-friction installation.

Status

Implemented for iOS and Android via React Native native module autolinking.

Install

  1. Install from npm:
pnpm add @ryanneilstroud/periscope-react-native
# or: npm install @ryanneilstroud/periscope-react-native
  1. npx pod-install --repo-update (iOS)
  2. Rebuild your app

Usage

import {Periscope} from '@ryanneilstroud/periscope-react-native';

await Periscope.capture({
  receiver: {
    host: 'localhost', // simulator only; use your Mac LAN IP on physical devices
    port: 61337,
  },
});

Stop monitoring:

await Periscope.stop();

You can also call named exports:

import {capture, stop} from '@ryanneilstroud/periscope-react-native';

Platform support

  • iOS: supported
  • Android: supported

About

React Native bridge package for Periscope SDK

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages