Skip to content

Javascript callback not call Android callback #9

Description

@MatejMainus

Description:
When callback annotate as @JavascriptCallback is called from javascript for long time, then the android callback is not called.

Reason:
Android callback registered to BridgeInterface its stored to HashMap as <callback_id. WeakReference<callback_wrapper>>. When js work time is device under memory pressure then GC remove reference to callback_wrapper.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions