set the notifynative function when we know which implementation to use