I’m trying to implement Facebook’s Facebook ad conversion into my Ionic/Cordova app. However, it seems the only way to implement this is with native code for iOS and Android. Is there a way to add the code into each platform as it’s being compiled with ionic build?
I really don’t want to manually paste in the code to each platform after it’s been compiled. The only way I can think to add it in BEFORE it’s built is with a Cordova plugin. But, even those seem to only expose methods in the native languages and not actually allow you to inject code.
** I’m not a native developer and have no experience with Java/Objective-C. That’s why I’m looking for an Ionic solution for this problem.