For the complete documentation index, see llms.txt. This page is also available as Markdown.

React Native

React Native SDK

Installation

npm install --save cobrowse-sdk-react-native
(cd ios && pod install)

Note: For older versions of React Native, you may need to run react-native link before running pod install. Depending on your project, you may also need use_frameworks! in your Podfile. If using Pods causes a problem for your project, you may use Carthage to manage your Cobrowse.io dependencies, or you may also add the frameworks to your project by hand. More info at iOS SDK Installation.

Add your License Key

Please register an account and generate your free License Key at https://cobrowse.io/dashboard/settings.

This will associate sessions from your mobile app with your Cobrowse account.

import CobrowseIO from 'cobrowse-sdk-react-native';

CobrowseIO.license = "put your license key here";
CobrowseIO.start();

Try it out

Once you have your app running in the iOS Simulator or on a physical device, navigate to https://cobrowse.io/dashboard to see your device listed. You can click the "Connect" button to initiate a Cobrowse session!

Requirements

  • iOS 15.0, Android API 23 or above.

Stay up to date

There are a few ways to find out about new releases of the React Native SDK:

  • Run npm outdated cobrowse-sdk-react-native to check for a newer version.

  • Enable Dependabot or Renovate version updates on your repository to get a pull request for each new version.

  • Subscribe to cobrowse-sdk-react-native on libraries.io to get an email for each new version.

Last updated