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

[React Native] Warning Unchecked cast: Any? to Map<String, Any?>? #1004

Closed
Andarius opened this issue Aug 18, 2020 · 3 comments
Closed

[React Native] Warning Unchecked cast: Any? to Map<String, Any?>? #1004

Andarius opened this issue Aug 18, 2020 · 3 comments
Labels
bug Confirmed bug released This feature/bug fix has been released

Comments

@Andarius
Copy link

Andarius commented Aug 18, 2020

When running npx react-native run-android, the following warning message appears:

> Task :bugsnag_react-native:compileDebugKotlin
w: my-app/node_modules/@bugsnag/react-native/android/src/main/java/com/bugsnag/android/BugsnagReactNative.kt: (75, 84): Unchecked cast: Any? to Map<String, Any?>?
w:  my-app/node_modules/@bugsnag/react-native/android/src/main/java/com/bugsnag/android/BugsnagReactNative.kt: (76, 88): Unchecked cast: Any? to Map<String, Any?>?

and

w:  my-app/node_modules/@bugsnag/react-native/android/src/main/java/com/bugsnag/android/MapExtensions.kt: (19, 79): Unchecked cast: Any? to MutableMap<String, Any>

Packages

 "@bugsnag/react-native": "^7.3.2",
 "react": "16.13.1",
 "react-native": "0.63.0"
@steve-nester-uk
Copy link
Contributor

Thanks for raising @Andarius, we'll take a look.

@steve-nester-uk steve-nester-uk added backlog We hope to fix this feature/bug in the future bug Confirmed bug labels Aug 24, 2020
@bugsnagbot bugsnagbot added scheduled Work is starting on this feature/bug and removed backlog We hope to fix this feature/bug in the future labels Sep 1, 2020
@steve-nester-uk
Copy link
Contributor

A PR has been raised: #1027.

@johnkiely1
Copy link
Member

Hi @Andarius.

This has now been fixed and released in version v7.3.4.

@johnkiely1 johnkiely1 added released This feature/bug fix has been released and removed scheduled Work is starting on this feature/bug labels Sep 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Confirmed bug released This feature/bug fix has been released
Projects
None yet
Development

No branches or pull requests

4 participants