# Nfc integearation in ionic react capacitor porject

**URL:** <https://forum.ionicframework.com/t/nfc-integearation-in-ionic-react-capacitor-porject/238766>\
**Category:** Ionic Framework\
**Created:** [December 29, 2023, 8:02am UTC](https://forum.ionicframework.com/t/nfc-integearation-in-ionic-react-capacitor-porject/238766 "2023-12-29T08:02:25Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![twestrick](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/twestrick/32/136131_2.png) [@twestrick](https://forum.ionicframework.com/u/twestrick)\
**Post date:** [December 29, 2023, 2:04pm UTC](https://forum.ionicframework.com/t/nfc-integearation-in-ionic-react-capacitor-porject/238766/2 "2023-12-29T14:04:56Z")

</div>

First off, please use [proper code blocks](https://www.markdownguide.org/extended-syntax/#fenced-code-blocks).

Second, `@ionic-native` is dead as of [2021](https://ionic.io/blog/a-new-chapter-for-ionic-native) being replaced by [`awesome-cordova-plugins`](https://github.com/danielsogl/awesome-cordova-plugins). The error you are getting _“requires that one of FLAG\_IMMUTABLE or FLAG\_MUTABLE be specified when creating a PendingIntent”_ is due to the plugin you are using (or version of it) being outdated and not supporting current Android SDK versions.

You probably want this plugin - [NFC - Awesome Cordova Plugins](https://danielsogl.gitbook.io/awesome-cordova-plugins/nfc-1).

There is also a Capacitor plugin over here - [Capacitor NFC Plugin - Capawesome](https://capawesome.io/plugins/nfc/)

---

_[View the full topic](https://forum.ionicframework.com/t/nfc-integearation-in-ionic-react-capacitor-porject/238766)._
