From 0134aeca413a443135624a6893153845bda75544 Mon Sep 17 00:00:00 2001 From: Jason Simmons Date: Tue, 3 Apr 2018 09:47:57 -0700 Subject: [PATCH] Set the asset bundle path when initializing the shell in the embedder API (flutter/engine#4925) This is required so that Dart initialization can find the platform kernel assets when running in Dart 2 mode --- engine/src/flutter/shell/platform/embedder/embedder.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/engine/src/flutter/shell/platform/embedder/embedder.cc b/engine/src/flutter/shell/platform/embedder/embedder.cc index 2ac87f7533..866413cbc0 100644 --- a/engine/src/flutter/shell/platform/embedder/embedder.cc +++ b/engine/src/flutter/shell/platform/embedder/embedder.cc @@ -153,7 +153,8 @@ FlutterResult FlutterEngineRun(size_t version, shell::Shell::InitStandalone( std::move(command_line), icu_data_path, // icu data path default lookup. - "" // application library not supported in JIT mode. + "", // application library not supported in JIT mode. + args->assets_path ); });