Socket
Socket
Sign inDemoInstall

expo-fullstory

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

expo-fullstory

Uses Expo config plugins to allow FullStory for Expo/EAS-based React Native applications.


Version published
Weekly downloads
3
Maintainers
1
Weekly downloads
 
Created
Source

Expo FullStory

FullStory, on Expo applications, using Expo/EAS configuration plugins!

Warning

This package has been rendered obsolete by @fullstory/react-native@1.1.0. @fullstory/react-native@* is officially supported and maintained by the FullStory team, you should use that instead. This library does not currently a plugin step for asset uploads, and while it would be trivial to add, there is a maintained solution. Consider this library deprecated.

Prerequisites

  1. You must be on Expo + EAS.
  2. Install the @fullstory/react-native package.
npm i @fullstory/react-native
  1. Add the following snippet to your index.d.ts adjacent to your application entry-point.
declare global {
  namespace JSX {
    interface IntrinsicAttributes {
      fsAttribute?: {[key: string]: string};
      fsClass?: string;
      fsTagName?: string;
    }
  }
}
  1. Add the FullStory Babel Plugin (.babel.config.js)
module.exports = {
  ...
  plugins: [
    ...
    '@fullstory/react-native', ['@fullstory/annotate-react', { native: true }],
  ]
};

Installation

Simply install the expo-fullstory configuration plugin package.

npm i expo-fullstory 

Configuration

Once, that's done, you'll need to configure the plugin. You can get started by heading to your app.config.json, or app.config.js.

Simply add the "plugins" key if it doesn't already exist, then provide a 2D-array with the package name as the first parameter, and an object defining a version and orgId attribute in the second. If you don't have your organization ID, you can retrieve it from the FullStory dashboard.

If you want to find the latest version of the FullStory SDK, you can find that in their "FullStory for Mobile Apps Release Notes".

{
 // ...
 updates: [
   // ...
 ],
 plugins: [["expo-fullstory", { version: "1.27.1", orgId: "o-XXXXX-xx0 }]]
}

Great work, you're done! 🎉

Keywords

FAQs

Package last updated on 20 Jul 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc