Integrate AEP SDK with Ionic Framework | Community
Skip to main content
Level 2
January 20, 2021
Solved

Integrate AEP SDK with Ionic Framework

  • January 20, 2021
  • 1 reply
  • 3039 views

Hi,

We have an embedded hybrid mobile application with ionic framework where we want to integrate the Launch AEP SDK in order to track the app data in analytics. The documentation(https://aep-sdks.gitbook.io/docs/getting-started/get-the-sdk) do not provide any insights in integration for ionic. Can someone please help here?

Best answer by IvanMi1

Hi @riri1 - You will likely want to follow the directions for integrating the Cordova SDK here: https://aep-sdks.gitbook.io/docs/getting-started/get-the-sdk#cordova

 

https://aep-sdks.gitbook.io/docs/resources/upgrading-to-aep/current-sdk-versions#cordova

 

 

1 reply

IvanMi1Adobe EmployeeAccepted solution
Adobe Employee
January 20, 2021
January 25, 2021

Hi @107613, I'm in the same situation we are using ionic Cordova app for both web and mobile I was able to integrate the Launch for web application by adding <script> index.html. But still I can't see the mobile traffic is this expected? After reading your comments the only direction is create mobile property and follow the native code ? Is there a way to leverage web property for mobile because this is common code for web and mobile apps?

 

Say, we have to use mobile property looks like  the implementation is also different when compared with web so we end up writing duplicate analytics code under this. I'm referring to this links

 

https://www.npmjs.com/package/@adobe/cordova-acpcore#installation

 

Please direct us with proper integration and implementation until we resolve this I feel like we are blocked