react-native-android-notification-listener icon indicating copy to clipboard operation
react-native-android-notification-listener copied to clipboard

🐞 [BUG] package.json uses react 18.2.0, but latest usable is 18.0.0

Open busybox11 opened this issue 3 years ago • 1 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Current Behavior

This module's package.json uses dep react@^18.2.0 but the latest version of react-native (v0.69.1) uses [email protected]. The module installation fails.

Expected Behavior

The module should be able to install without any dependency error.

Steps To Reproduce

  1. Create a new blank react-native v0.69.1 project
  2. Try to install the module

Library version that you are testing

latest (5.0.0)

Device

Laptop

Android Version

ArchLinux / Windows 11

Anything else?

Using npm to install the module it fails. Haven't tried yarn but I'd like to stay with npm.

busybox11 avatar Jul 14 '22 15:07 busybox11

It does seem to work with yarn but it's much slower and not recommended by React Native's docs using quickstart. I'm not familiar with it and it's probably fine, but maintaining compatibility with npm could be great.

busybox11 avatar Jul 14 '22 15:07 busybox11

This issue it`s being marked as stale and will be automatically closed after 7 more days without any activity.

github-actions[bot] avatar Oct 25 '22 23:10 github-actions[bot]

Done: https://github.com/leandrosimoes/react-native-android-notification-listener/releases/tag/v5.0.1

leandrosimoes avatar Dec 22 '22 16:12 leandrosimoes