flutter_boost icon indicating copy to clipboard operation
flutter_boost copied to clipboard

java.lang.RuntimeException: FlutterBoostPlugin might *NOT* set delegate!, null, null)

Open shiner0 opened this issue 3 years ago • 1 comments

BoostNavigator.instance.push("loginTwo",arguments:map, withContainer: true);

添加withContainer为true 报错跳转不了页面 flutter跳转到flutter,不添加withContainer或者为false 就不报错

shiner0 avatar Jun 11 '22 09:06 shiner0

BoostNavigator.instance.push("feedback") 打开原生页面

Route routeFactory(RouteSettings settings, String uniqueId) { FlutterBoostRouteFactory func = routerMap[settings.name] as FlutterBoostRouteFactory; return func(settings, uniqueId); } 初始化添加这个的时候 打开原生页面没反应不会跳转,换成下面的就可以正常跳转

Route routeFactory(RouteSettings settings, String uniqueId) { FlutterBoostRouteFactory func = routerMap[settings.name]; if (func == null) { return null; } return func(settings, uniqueId); } @trevorwang @kangwang1988

shiner0 avatar Jun 16 '22 02:06 shiner0