Ionic 2 & ionic-platform-web-client


Are Ionic2 and ionic-platform-web-client compatible ?. I am thinking to migrate my app (under development) to Ionic 2 but not sure if web-client is supported as when I look at its source code it seems to create angular (1) services/factories and register them using the module system.

If it is supported, would appreciate some guidance on how to use it. I have added it using npm install ionic-platform-web-client but most likely having issue figuring out the proper webpack syntax to include it.

Regards & thanks

Thanks to the solution provided at Push notifications with Ionic2 made it work.

1 Like