Ionic push error with dev_push false

It’s working when I do : ionic config set dev_push true

I’m able to get device token but why when I set dev_push to false I got error of

> 8 715050 error TypeError: PushNotification.init is not a function. (In 'PushNotification.init(t._config.pluginConfig)', 'PushNotification.init' is undefined),, Line: 3

I followed the official guide setting up full push. how annoying!

Were you able to figure out a solution to this issue? I am running into something similar when I put dev_push to False. Thanks!