Skip to content

Add async error handling in native code #52

@yangyansong-adbe

Description

@yangyansong-adbe

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

https://github.com/adobe/aepsdk-core-ios/blob/ee0aff1670b4ef283f62b1ee993e8bf611f31b6b/AEPCore/Sources/core/MobileCore%2BConfiguration.swift#L79

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions