Ionic capacitor single code base ionic and android

Is it possible to make ionic with ios capacitor and android single code base. If possible what is best way to implement. please suggest me.

I’d suggest taking a look at the capacitor docs before diving into things.

It sounds like you might be confused with some topics, so the docs will be the best way to get an understanding