Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Type 'ReactNativePlugin' is not assignable to type 'ITelemetryPlugin'. #26

Closed
stefan-schweiger opened this issue Jun 28, 2023 · 2 comments
Milestone

Comments

@stefan-schweiger
Copy link

Description
Same as this issue microsoft/applicationinsights-react-js#32

Tried with the following versions:

  • @microsoft/applicationinsights-react-native v3.0.3
  • @microsoft/applicationinsights-web v3.0.2

and

  • @microsoft/applicationinsights-react-native v4.0.0-nightly.2306-02
  • @microsoft/applicationinsights-web v3.0.3-nightly3.2306-01

Steps to Reproduce

import { ApplicationInsights } from '@microsoft/applicationinsights-web';
import { ReactNativePlugin } from '@microsoft/applicationinsights-react-native';

var RNPlugin = new ReactNativePlugin();
var appInsights = new ApplicationInsights({
    config: {
        instrumentationKey: 'YOUR_INSTRUMENTATION_KEY_GOES_HERE',
        extensions: [RNPlugin]
    }
});
appInsights.loadAppInsights();
@MSNev
Copy link
Contributor

MSNev commented Jun 28, 2023

We have not yet released a compatible version of this component to fully support v3 of Application Insights
https://github.com/microsoft/applicationinsights-react-native#compatibility-matrix

We are also aware that our nightly pipeline (since adding full support) is currently broken -- we are working on it.

@MSNev MSNev added this to the 4.0.0 milestone Jul 21, 2023
@MSNev MSNev closed this as completed Jul 21, 2023
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants