Hi Jen -- Thank you for your help. We were able to display the report on the Adobe Analytics portal from our Ionic mobile app.
By the way, I would like to share some of the steps below that I did on my end (Ionic Angular Android). I hope this may help some of our fellow developers.
Install the plugin using npm
ionic cordova plugin add adobe-mobile-services
npm i @types/window-or-global —save
Go to platform_www directory
Add ADBMobileConfig.json to platforms/android/app/platform_www
Add adobeMobileLibrary -4.x.x.jar as Library
Right click on adobeMobileLibrary -4.x.x.jar and select “Add as Library”
Import ADB_Helper.js to your typescript page
import ADB from "adobe-mobile-services/sdks/Cordova/ADBMobile/Shared/ADB_Helper.js";
ngOnInit() {
ADB.trackState("page name", null)
}
btnClick() {
ADB.trackAction("buttonclick-contact", { action: "click-button")
}