Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bbaldwin-trabonsol opened this issue Oct 30, 2019 · 1 comment

Comments

@bbaldwin-trabonsol
Copy link

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

@grayter1
Copy link

grayter1 commented Nov 1, 2019

The same problem I have, but I noticed that Iconize version 3.5.0.114 works with newest XF but 3.5.0.115 and greater does not. Could you fix this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants