[
https://issues.apache.org/jira/browse/WEEX-470?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16520033#comment-16520033
]
华逢义 commented on WEEX-470:
--------------------------
Yes I can reproduce it.
First of all, we add a global var in index.js
global.$sa = {}
$sa.alert = function(abc){
var modal = weex.requireModule("modal")
modal.alert(abc)
}
We use $sa.alert("xxx") somewhere and this issue exists
> module lost after switch from on Activity to previous Activity
> --------------------------------------------------------------
>
> Key: WEEX-470
> URL: https://issues.apache.org/jira/browse/WEEX-470
> Project: Weex
> Issue Type: Bug
> Components: Android
> Affects Versions: 0.19
> Reporter: 华逢义
> Assignee: codefurture
> Priority: Blocker
>
> Activity A started Activity B.
> B finished and back to A
> After this operation.weex.requireModule(xxx) does not work in Activity A
> the error is as follow:
> {color:#FF0000}D/jsLog: [JS Framework] Failed to requireModule("stream"),
> instance (4) doesn't exist anymore.__ERROR{color}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)