HomeiOS DevelopmentFind out how to implement 'Faucet to Join' throughout Android and iOS...

Find out how to implement ‘Faucet to Join’ throughout Android and iOS like Spotify Jam


I am making an attempt to do one thing related with Spotify Jam on iOS, which permits consumer to share knowledge cross platforms (Android <=> iOS).

In response to Spotify: Customers on the identical WiFi will obtain an invite to your Jam. If each you and others have Bluetooth permissions enabled, others will obtain an invite to your Jam by tapping your telephone.

I am questioning if anybody can guess or know the way they did this.

My guess up to now is:
They’re utilizing Core Bluetooth to switch the required consumer data and music data, however NOT the precise music streaming knowledge as a result of they’re really utilizing the goal machine to play the music. Core bluetooth does have APIs to help connection and knowledge switch like this. Instance right here: https://developer.apple.com/documentation/corebluetooth/transferring_data_between_bluetooth_low_energy_devices

Nonetheless, my query is: how does the “faucet to attach” work (you must convey two machine shut sufficient to make it join)? Is there some hacky approach to take action as a result of I do not assume they’re utilizing App’s NCF as a result of it is personal, and the core bluetooth would not require gadgets to really faucet collectively.
Any thought or ideas are appreciated!

enter image description here

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments