fluttercommunity / font_awesome_flutter

The Font Awesome Icon pack available as Flutter Icons
Other
844 stars 244 forks source link

v6 metadata update #191

Closed CosmicPangolin closed 2 years ago

CosmicPangolin commented 2 years ago

Just spoke with a FontAwesome rep. They have no current intention of adding the metadata folder back into the zip file, and instead suggest querying for it through their GraphQL endpoint. Probably worth posting complete instructions in README.

https://fontawesome.com/v5.15/how-to-use/graphql-api/intro/getting-started

michaelspiss commented 2 years ago

Thanks for asking them and providing this information to us. Not sure how to feel about this, but at least it is a way to query for some of the required information. From what I can see we will definitely lose search terms, as they cannot be retrieved through this api.

CosmicPangolin commented 2 years ago

Yeah I found this stance surprising, but I didn't see much need to push it given the API.

gslender commented 2 years ago

I received this update from the FontAwesome support team, so it isn't set in stone yet about what they'll be providing in terms of the icons.json or similar...

We are re-evaluating as a company what we've done with the metadata. We haven't made the decision yet but we'll let you know as soon as we do.

So it would be ideal to outline/register your support for keeping things the same in terms of the icons.json - the more folks who mention "I won't be upgrading to a paid v6 subscription" the more they'll listen and decide accordingly.

ryanawhelan commented 2 years ago

I think you can pull everything needed from the API except search terms. I have written some code to pull all free or pro icon data from their API and generate the font_awesome_flutter.dart from that instead of the icons.json. You can still use icons.json if you have it (--no-api), but even when they provided it, it was a little flaky. If you use API, the search terms are just blank since none are provided.

devj3ns commented 2 years ago

This can be closed because of the new release which supports FA v6.1.0 :)