First off, please use proper code blocks.
Second, @ionic-native
is dead as of 2021 being replaced by 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.
There is also a Capacitor plugin over here - Capacitor NFC Plugin - Capawesome