Add async error handling in native code
yangyansong-adbe opened this issue · 2 comments
yangyansong-adbe commented
Expected Behaviour
For async API calls, the native SDKs have provided the AdobeCallbackWithError (Android) and the Error (iOS) classes to get error notification for operation timeout or other internal errors. Update React Native Android/iOS implementation code to handle internal errors.
https://aep-sdks.gitbook.io/docs/foundation-extensions/mobile-core/mobile-core-api-reference#adobecallbackwitherror
Actual Behaviour
Reproduce Scenario (including but not limited to)
Steps to Reproduce
Platform and Version
Sample Code that illustrates the problem
Logs taken while reproducing problem
emdobrin commented
We should review this for iOS implementation too. Feel free to update description to include both or create a separate task for it.
yangyansong-adbe commented