How to go to a view when push notification opened using onesinal plugin

I am trying to do that by using Navcontroller but did not work.
what is the best practice to do that.?