Instead of developing hangouts which is already full grown app you're trying to built from scratch a new partly working partly buggy one... An advice, fire instantly the one who got this decision, for sure he's paid by Microsoft and/or Apple