Ionic Plugin Combining two Native SDKs


#1

I’m building my first Ionic/Cordova Plugin. The reason why I am doing this is because there currently is no plugin for the ad service my company I work for but we would still like to serve ads on our Ionic-1 mobile app. The good news is that the ad service we use (although they do not have a cordova plugin) do have two SDKs for Android and iOS.


My first question is, is this possible?

Second, could you give me any pointers on how to start up with the code? I’ve read through this article https://medium.com/ionic-and-the-mobile-web/how-to-write-cordova-plugins-864e40025f2 and have the initial set up but was wondering how to integrate the methods available in both of these SDKs into js I can use within the app.