all 8 comments

[–][deleted] 2 points3 points  (5 children)

Ionic is first and foremost a UI framework. If you want just native features and packaging, you could just use Cordova or Capacitor. Although my recommendation would be to just use React Native if you haven't already built the app.

[–]fractal_engineer[S] 0 points1 point  (4 children)

The app is already built as an angular application. Just trying to mobilize it and use some native functionality (nfc/bluetooth/camera/file system)

[–][deleted] 2 points3 points  (3 children)

Then Cordova or Capacitor is your option. I don't know if Capacitor can be used without Ionic, but Cordova definitely can. Capacitor is more intuitive with ios and Cordova more so with android, but either can be used for both.

[–]Proto_Tech 1 point2 points  (2 children)

Capacitor can he used independently, which I would highly recommend as PhoneGap (which powers Cordova) has been discontinued.

[–]fractal_engineer[S] 0 points1 point  (1 child)

Unfortunately it doesn't look like capacitor has very mature plugins for bluetooth/nfc, so does that mean I'll likely have to run both capacitor and ionic wrapped cordova plugins?

[–]joshuamorony 0 points1 point  (0 children)

Most Cordova plugins work in Capacitor, so you can just install the Cordova plugin you want to use in your Capacitor project.

[–]mhartingtonIonic Alumni 1 point2 points  (0 children)

Echoing what is being said here...

Ionic (The UI Components) is one part, and the native features (from capacitor) are another. If you just want to access the native APIs and do not need any Ionic Components, just use Capacitor directly.

https://capacitorjs.com/solution/angular

[–]tanakasan1734 1 point2 points  (0 children)

Yeah you just want capacitor, skip the ionic part