For MacOS Application automation via appium, how to handle redirection to browser

I have a use case where I need to automate macOS application, and while clicking a sign in button redirection to browser is happening, I tried using activateApp for com.google.chrome and com.apple.safari, but the this is not working.

Require help here. Am i doing it wrong or this feature is not yet built in appium for macOS application automation. Also I am using appium-mac2-driver.

Regards
Ankit Agarwal