Thursday, February 29, 2024
HomeiOS DevelopmentTips on how to implement 'Faucet to Join' throughout Android and iOS...

Tips on 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 line with 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 cellphone.

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 system to play the music. Core bluetooth does have APIs to assist 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 system shut sufficient to make it join)? Is there some hacky manner to take action as a result of I do not assume they’re utilizing App’s NCF as a result of it is non-public, and the core bluetooth does not require gadgets to really faucet collectively.
Any thought or ideas are appreciated!

enter image description here



Supply hyperlink

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments