chariotsolutions / phonegap-nfc

PhoneGap NFC Plugin
MIT License
703 stars 547 forks source link

Ionic NFC on Android 12 Crushing the App #478

Open bevinGithub opened 1 year ago

bevinGithub commented 1 year ago

I am trying to get my ionic app to run on Android 12 and all the intents are setup correctly but as soon as l do a live reload the APP crushes . If l build it on API 30 the plugin work fine.

Android API 31 is having some issues with a number of plugins, your assistance will be much appreciated.

Environment Ionic:

Ionic CLI : 6.20.1 (C:\Users\Tigere Bervin\AppData\Roaming\npm\node_modules\@ionic\cli) Ionic Framework : @ionic/angular 6.2.2 @angular-devkit/build-angular : 13.0.4 @angular-devkit/schematics : 13.0.4 @angular/cli : 13.0.4 @ionic/angular-toolkit : 5.0.3

Cordova:

Cordova CLI : 11.0.0 Cordova Platforms : android 10.1.2 Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 5.0.0, (and 10 other plugins)

Utility:

cordova-res : 0.15.4 native-run (update available: 1.7.1) : 1.5.0

System:

NodeJS : v14.15.4 (C:\Program Files\nodejs\node.exe) npm : 6.14.10 OS : Windows 10

fjms commented 1 year ago

You can apply this pull request:

https://github.com/chariotsolutions/phonegap-nfc/pull/477/files

bevinGithub commented 1 year ago

Thank you very much, if l may ask , how do l download the cordova plugin from that link Im a newbie

bevinGithub commented 1 year ago

Sorry got it l did manage to install the fork.

ziaurrehmanjutt commented 1 year ago

You can apply this pull request:

https://github.com/chariotsolutions/phonegap-nfc/pull/477/files

Thanks.. Its Worked for me also

seikosantana commented 1 year ago

Sorry got it l did manage to install the fork.

Would you mind to share how to apply the fix and get the plugin? I'm using the plugin with Ionic and capacitor 4

Laith-Bzour90 commented 12 months ago

@fjms when i add change and build the project the plugin overwrite old func

bevinGithub commented 10 months ago

hi guys just a question posted it no response. Anyone has faced this error after writing to 10 tags or so then you start to get this error below: NFC Writting Error - Only one tag technology can be connected at a time

Trexology commented 8 months ago

I use this command to install with the pull request in

npm i chariotsolutions/phonegap-nfc#pull/477/head