Hello!

I have an app for Android, which user can start and then turns off the
screen so, app is still working (when user turns on the screen he should
see the app).

The problem is that user can turn on the screen after 6 hours (and more).
App works well, bu suddenly (after long time without activity) I got next
error:

==== logcat ====
07-21 03:05:04.844  3289  3294 I WeexCore:
[3289:3294:07-21/03:05:04.843898:INFO:crash_handler.cpp:166]CrashHandlerInfo::handleSignal
07-21 03:05:05.010  3207  3245 D jsengine: callReportCrashReloadPage
crashFile:/data/user/0/com.test.app/app_crash/crash_dump.log
==== /logcat ====

In this situation  (callReportCrashReloadPage) the weex engine have to be
reloaded, as I see in Android Weex SDK code ( here
android/sdk/src/main/java/com/taobao/weex/bridge/WXBridgeManager.java ).

But in my case I don't have bundleUrl (I provide js-template by myself via
renderPageByTemplate) and page is not being reloaded after crash.

So, the main question: how can I handle callReportCrashReloadPage and
reload page by myself?

-- 
//wbr, Dmitry L.

Reply via email to