Consent is very crucial in this day and age. It is better to ask politely if it is alright to kiss the other person. You never know if they want to be kissed or not. Always opt to stay on the safe side rather than get a worse reaction than what you expected.