I'm migrating SDK from 4.x to AEP SDK.
While implementing the configuration we have tried to fetch the ECID, but the method for fetching is not working.
We have tried below methods .
Please help to suggest the correct method for fetching the ECID into sdk.
HI @Khurshid_Alam ,
Thanks for your reply.
We have checked the dependencies and checked whether the identity is correctly initialized.
There is no problem with that.
Can you please confirm whether we used the correct method?
Do we have any alternative approach to get the MCID value while user opens the app?
The method is correct. Though, it would be more helpful to look at the code. I would suggest reaching out to Customer Care with debug logs so that the issue can be reviewed in detail.