I am building an iOS app that sends small pieces of data, some personal information like: Name, Phone, Facebook profile between nearby device. I have been researching for about 2 weeks if there's a good way to send data between iOS - iOS / iOS - Android devices. The first approach I started working on was the bluetooth as the most obvious and logical way to connect to someone nearby , of course when the app is launched on both sides. I read and tested the CoreBluetooth framework that Apple provides, but it never found any android devices nearby ( I mean the RSSI, MAC address and name of the device ).
So, what would be the most proper and universal method for creating this functionality ? I am starting to think that the answer is - through internet connection, but I am kind of lost in all the information in StackOverflow and the net at all. Any proper advice / solution / sample code will be greatly appreciated. As I said , I am only aiming to send few strings between two smartphones and I am writing the iOS app in Swift.
Thanks