Skip to content

Commit

Permalink
doc: add instruction to solve js dependency in README
Browse files Browse the repository at this point in the history
Signed-off-by: Shengqi Chen <[email protected]>
  • Loading branch information
Harry-Chen committed May 20, 2024
1 parent 605b17e commit 76a4ae0
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,15 @@ Note that due to API limitations, not all operations are supported on all platfo

This library uses [ndef](https://pub.dev/packages/ndef) for NDEF record encoding & decoding.

## Dependency issue of `js` package

Since v3.5.0, `flutter_nfc_kit` depends on `js: ^0.7.1`. This might lead to a conflict with other packages that depend on `js: ^0.6.4`. If you do not use this plugin in a web environment, you can safely add the following to your `pubspec.yaml` to resolve the conflict:

```yaml
dependency_overrides:
js: "^0.6.4"
```
## Setup
Thank [nfc_manager](https://pub.dev/packages/nfc_manager) plugin for these instructions.
Expand Down

0 comments on commit 76a4ae0

Please sign in to comment.