These are chat archives for UXDivers/Grial-UI-Kit-Support
This is our public repository for customers to report bugs about Grial UI Kit for Xamarin Forms
Hi @chad-stout , we have just uploaded a new version of the nuget packages. These packages include several changes to the "PropagateThemeTask" like:
The new version is available in the PreRelease channel. You will need the "Show pre-release packages" checkbox to be checked in order to install them.
Can you test them and please let me know if it fixes the issue you were experiencing?
More details here:
We just uploaded a new version (2.0.43-RC) with a couple of additional fixes:
We still need to update the documentation regarding this, specially the part of the troubleshooting. Now, Themes.json may contain these properties (the values reflect the default value of the property if not specified at all):
"ThemeSyncEnabled": true, -> If set to false, theme sync will not happened at all for the projects in the folder.
"AppXamlFullPath": null, -> The full path to the App.xaml, if specified the task will not try to infer it
"AppXamlProjectFullPath": null, -> This parameter is only considered if AppXamlFullPath was specified. The parameter specifies the full path to the project that contains the App.xaml. If only AppXamlFullPath is specified, the task will try to infer AppXamlProjectFullPath. If you specify both it will just stick to these.
"iOSColorsFileName": "ThemeColors.cs", -> Name of the Colors file in iOS, just in case someone need to change its name.
"AndroidColorsFile": "Resources\values\Colors.xml", -> Path of the Android.Colors.xaml, just in case the default one is changed.
"iOSColorsNamespace": null, -> Namespace used for the ThemesColor class. If not specified the default root namespace of the project will be used.
"ThemesFolder":"Themes", -> Specifies the name of the Folder where Themes are stored. This is just to optimize performance. We try to resolve the Theme XAML against the XAMLs within this folder first. If we don't find it we will look across the whole project.
One final comment. Now by default if the task fails for some reason it will report a Warning, not an Error. If you want to change this, and report an error you can do it by adding a property to your CS proj called GrialFailOnError and set it to true.
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">iPhoneSimulator</Platform>
Please let us know if it fixes the issue you where experiencing and/or any other feedback you might have.