android – Is it possible to have native content(layouts, classes) in a hybrid application?

Question:

I need to run some Android native layouts and classes in my Ionic project is there any plugin?

Answer:

Yes, it's possible and it's not difficult to do with my Android project I made it in a very simple way without the need for a plugin . What I did I created my AppWidget in Android Studio modified the way I wanted. I went to my Ionic project , generated the Android platform , then copied the java classes and .xml layouts later into platform / android .

I adapted it according to my need in my case res/xml, res/layouts, res/drawable and in src/your_package folders after I just needed to get my AndroidManisfest right.

Scroll to Top