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.
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.