NFC Write and read tags between Android & iOs - ionic-framework

Need to have some information about NFC reading and writing tags, with phonegap in IONIC
I would like to make an app with shared data between 2 mobiles, I want to know if it's possible to read and write it between two phones using a different OS like Android and iOs.
Do you know if it's possible or if it will have any limitation with this use?

Without having a real NFC Card to acts as intermediary between devices, due to lacking NFC support in iOS
iOS <=> iOS is impossible
iOS <=> Android is complicated
Android <=> Android is complicated
iOS does not support NFC Peer to Peer, Android does support NFC Peer to Peer before Android 10 but it is now deprecated.
This leaves Host Card Emulation where one device pretends to be a real card, iOS does not support this (Only Apple themselves can do this), Android Supports this but it is not the simplest thing to do natively and probably does not have a module to help.
Better to use Bluetooth or Wifi Direct.

Related

How to exchange data and files between two devices by NFC using Flutter?

I am a flutter developer, I want to make an application to exchange messages and files by using NFC technique
I used nfc_in_flutter plugin for reading and writing NFC tags but I don't know how to send and receive data and files between devices by using NFC in flutter.
Could any one help me, please?
Generally you don't try and send data between 2 devices using NFC, there is a standard for it, but most devices don't support it (it has never been supported on iOS and Android has dropped support for it as it was unreliable)
Use Bluetooth or Wifi Direct instead.
Update:
If you have to use NFC then the nfc_in_flutter plugin is no use, you are going to have to call native code for each platform yourself / write your own plugin.
And for 2 iOS devices, then forget it, just not possible because of what the OS supports.
When one device is an Android there is a complicated method that some people have had some success with but it still has it's issue.
The Android device does Host Card Emulation (HCE) and pretends to be a really Type 4 NFC tag, then other devices can read/write to it as if it were a real Tag which both iOS and Android Support. BUT on older Android devices then the deprecated Android Beam might get in the way and you would need to use enableReaderMode to do the read/write on Android.
You will need to put in a lot of error handle in the read/write App as NFC comms is very slow and very prone to loosing the connection, so it would have to handle loosing the connection and restarting where it last successful read from/written to.
All these problems make this extremely difficult to achieve a workable solution and was the main reason Google removed Android Beam for Android to Android sharing (which does use a NFC peer to peer protocol)

Flutter: Is it possible to make a P2P connection with nfc_in_flutter package?

I would like to send a message from an Android device to an IOS device using NFC.
I found multiple NFC packages and tried out example app from nfc_in_flutter but was not able to send a message between 2 phones.
Do they only support reading and writing to NFC-Tags or am I missing something?
iOS does not support Peer to Peer NFC even natively and Android has deprecated support for it in Android 10 (Android Beam).
So you are not missing something, iOS lags behind Android and only in iOS 13 supports reading/writing where as Android has supported reading/writing and Host Card Emulation for a long time.
Better to use Bluetooth or Wifi Direct

Is it possible to use NFC on the iPad?

everybody,
I am currently developing an iOS application. This application should make it possible to read NFC tags with an iPad. The NFC has already been successfully tested on an iPhone 7 / 8.
As soon as I test this function on an iPad (2017), the NFC dialog will not open and it is not possible to read NFC tags.
The implementation was carried out under Swift with the CoreNFC.
Development environment:
xCode 9.4.1
iOS 11.x.x
Signing debug certificate available
Do you have any ideas?
Near Field Communication is not supported on any iPad models at the moment.
CoreNFC on iOS is supported on iPhones from iPhone 7 onward.
An NFC accessory reader such as the FloBLE Plus can enable NFC functionality on the iPad.
Disclaimer: I work for Flomio, an NFC, BLE, and RFID company that specializes in helping developers integrate these technologies in their apps.
No iPad models feature NFC (Near Field Communication) technology.

bluetooth GATT over BLE for iOS and Android?

I have a project that needs iOS/Android APP to communicate with embedded side via Bluetooth Low Energy(BLE) to transfer small amount of data. My embedded side is CSR chip which supports the dual mode.
Does anyone know is that possible for both Android and iOS to support this GATT over BLE? Any fee like joining developer program?
I think Android side should be OK, but I am very new to iOS and don't know it is easy to do so.
thanks
Yes Android supports GATT over BLE. Yes iOS supports GATT over BLE. Yes Apple requires you to be an Apple Developer in order to develop iOS apps and it costs $99/year. You will also need an Apple computer to do the development.

Does android.nfc package works with tablets

What i want to do is connect a NFC
reader to the USB of a tablet. So what i want to know first of all is
if its possible, if it is possible what brand and model of NFC and
tablet should i buy and what version of android is required to use
android.nfc package.
The tablet needs to have android 2.3 or higher and a USB port in your case
But as far as I know there are nor commercial android tablets with NFC chip.
In theory it should work, although I can't confirm if a usb NFC reader will work.
Also there is a difference between a NFC 'tag' and NFC 'reader'. I know that since android 2.3 NFC tags shouldn't be a problem, I can't confirm the reader though.
Yeah it works perfectly with tablet.NFC support are there in api but its upto tablet manufacturer