Skip to content

FontAwesome based Android app no longer working after update to XF 4.3 #167

@bbaldwin-trabonsol

Description

@bbaldwin-trabonsol

We have a need to update to XF 4.3 in order to add HTML support to XF Labels. Everything works great except now the Xam.Plugin.Iconize is not working. We have tried ver 3.5.0.129 and 3.5.0.123 but neither is working even if we copy the FA font files to Assets folder and mark as AndroidAsset.

Others have said they were able to get this to work by downgrading to 3.5.0.123 but we've had no luck. No errors also in the Output window.

The Plugin.Iconize.Iconize.Init(Resource.Id.toolbar, Resource.Id.sliding_tabs); code in MainActivity.cs is getting hit as well as the Plugin.Iconize.Iconize.With(new Plugin.Iconize.Fonts.FontAwesomeRegularModule()); in App.xaml.cs.

Below is a little snippet of code that worked before the update to 4.3:
xmlns:iconize="clr-namespace:Plugin.Iconize;assembly=Plugin.Iconize"
<iconize:IconImage Icon="fa-refresh" IconSize="30" VerticalOptions="Start" HorizontalOptions="EndAndExpand" IconColor="Blue" BackgroundColor="Transparent">
iconize:IconImage.GestureRecognizers

</iconize:IconImage.GestureRecognizers>
</iconize:IconImage>

Any help to resolve this or provide a workaround would be very helpful.

We understand XF 4 now supports FontImageSource but that would be a lot of code to change so hoping we can find a workaround or resolve immediately.

We are on XF 4.3.0.947036

TIA...Bob Baldwin
Trabon Solutions

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions