You have to add custom native code in your ionic application. And this link will help you to add custom native code in your application.