Adding ionic native to Angular 6 project ( Not Ionic project )


Is there a way to add ionic native plugins to Angular 6 project?
It will be helpful for converting present Angular 6 projects into apps.

Note Angular 6 project uses rxjs 6.x but ionic uses rxjs 5.x
Is there a way to combine them.

A demonstration with Angular 5 projects which has rxjs5.x will also be much appreciated.

I tried capacitor, since it is in beta version we cannot use it for client applications.


maybe use the beta version? right now v.5.0.0-beta.13

for example

"@ionic-native/camera": "^5.0.0-beta.13",
"@ionic-native/core": "^5.0.0-beta.13",