Skip to content

React Native support/documentation is not working/missing #106

@huszzsolt

Description

@huszzsolt

Environment

react-native new architecture.

    "@fullstory/react-native": "^1.7.6",
    "react": "19.0.0",
    "react-native": "0.79.5",
    "@sentry/fullstory": "^4.0.0",
    "@sentry/react-native": "~7.3.0",

We are looking to add Fullstory-Sentry integration to our React Native app, but it appears that the documentation is not up to date.

This issue was already brought up in: #82

Steps to Reproduce

Follow installation instructions:

import * as Sentry from '@sentry/react-native';
import { fullStoryIntegration } from '@sentry/fullstory';
import FullStory from '@fullstory/react-native';

FullStory.init({ orgId: '__FULLSTORY_ORG_ID__' });
/*
Error:
 Property 'init' does not exist on type 'FullstoryStatic'.

See also: https://developer.fullstory.com/mobile/react-native
init not a valid function.

*/


Sentry.init({
  dsn: '__DSN__',
  integrations: [
    fullStoryIntegration('__SENTRY_ORG_SLUG__', { client: FullStory }),
/*
Type error: fullStoryIntegration returned type is not accepted
*/

  ],
});

Expected Result

No errors in the documentation and confirmation that React Native is supported.

Actual Result

What actually happened? Maybe a screenshot/recording? Maybe some logs?

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions