I’m curious about how did the detach happened?

That was pretty easy, we simply used the accelerometer for that, since once combined the phones are not meant to move a lot. 
If there is a sudden change in acceleration above some threshold, we detach the devices 😉

Hope this was what you asked for

Like what you read? Give TimG a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.