You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by GitBox <gi...@apache.org> on 2018/11/21 09:05:44 UTC
[GitHub] simonwu-os commented on issue #1702: 合入0.19的正式版,Didn't find class "com.taobao.windmill.bridge.WMLBridge"
simonwu-os commented on issue #1702: 合入0.19的正式版,Didn't find class "com.taobao.windmill.bridge.WMLBridge"
URL: https://github.com/apache/incubator-weex/issues/1702#issuecomment-440588482
恩,后面我们自己解决了。 好像有个地方关于是WXSDKEngine.m 里面initSDKEnvironment初始化的时候。默认是显示空白。没有加载任何页面。 后面增加了失败机制,如果失败用原来的就可以加载页面了。
NSString *fileName = @"weex-main-jsfm";
[WXSDKManager sharedInstance].multiContext = YES;
if ([[NSUserDefaults standardUserDefaults] objectForKey:@"createInstanceUsingMutliContext"]) {
BOOL createInstanceUsingMutliContext = [[[NSUserDefaults standardUserDefaults] objectForKey:@"createInstanceUsingMutliContext"] boolValue];
if (!createInstanceUsingMutliContext) {
fileName = @"native-bundle-main";
[WXSDKManager sharedInstance].multiContext = NO;
}
}
///wcheer.com added by simon 2018.11.10
else{
fileName = @"native-bundle-main";
[WXSDKManager sharedInstance].multiContext = NO;
}
///wcheer.com end of added
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services