Skip to content

Commit

Permalink
Modified code to cross link core lib and flutter code in starter proj…
Browse files Browse the repository at this point in the history
…ect to align to Linux
  • Loading branch information
hkhauke committed May 29, 2024
1 parent 6fb257b commit 6185a8c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,9 @@ target_link_libraries(${PLUGIN_NAME} PRIVATE
# This is the minimum package libs aggregation:
${AYF_CORE_PACK_LIB}

# We need this lib to derive the module name
jvx-system-base_static.lib

# These packages would be necessary otherwise
# jvx-helpers_static.lib
# jvx-system-min_static.lib
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ void AyfcorepackPlugin::HandleMethodCall(
else if (method_call.method_name().compare("getEntryPoints") == 0)
{
flutter::EncodableMap retMap;
retMap[flutter::EncodableValue("loadedModule")] = flutter::EncodableValue(ayfcorepack::AyfcorepackPlugin::fileNameModule);
std::string externalAccessModuleName = JVX_GET_CURRENT_MODULE_PATH(flutter_config_open);
retMap[flutter::EncodableValue("loadedModule")] = flutter::EncodableValue(externalAccessModuleName);
/*
* Do not activatze this part since it requires extra libs to be included
retMap[flutter::EncodableValue("loadedModuleShort")] = flutter::EncodableValue(
Expand Down

0 comments on commit 6185a8c

Please sign in to comment.