Skip to content

Add [ReactNativeDirectory] supported platforms badge - #12066

Merged
PyvesB merged 3 commits into
badges:masterfrom
Simek:add-react-native-directory-supported-platforms
Aug 2, 2026
Merged

Add [ReactNativeDirectory] supported platforms badge#12066
PyvesB merged 3 commits into
badges:masterfrom
Simek:add-react-native-directory-supported-platforms

Conversation

@Simek

@Simek Simek commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Why

React Native Directory provides the additional data for all registered packages, including platform support, which is not defined in package metadata otherwise. So far packages had to create the badges manually (for each platform, or combined ones), and this service does that automatically based on API data.

API docs:

How

Add React Native Directory supported platforms badge service and tests.

Preview

Screenshot 2026-07-28 150727

@github-actions

github-actions Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor
Messages
📖 ✨ Thanks for your contribution to Shields, @Simek!

Generated by 🚫 dangerJS against e7f36f9

@PyvesB PyvesB changed the title [services] add React Native Directory supported platforms badge Add [ReactNativeDirectory] supported platforms badge Aug 1, 2026

@PyvesB PyvesB left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution @Simek! Do you happen to have any information on the API rate limits?

Comment thread services/react-native-directory/react-native-directory-platforms.tester.js Outdated
Comment thread services/react-native-directory/react-native-directory-platforms.tester.js Outdated
@Simek

Simek commented Aug 1, 2026

Copy link
Copy Markdown
Contributor Author

Thanks for the contribution @Simek! Do you happen to have any information on the API rate limits?

We do not rate limit API calls so far, data is cached server side, we survived 1M request/h from web scrapers, and usually we are between 2M-3M request daily so badge service should not be an issue.

@Simek

Simek commented Aug 2, 2026

Copy link
Copy Markdown
Contributor Author

Updated the tests, and adjusted the order of platform labels slightly. Let me know if there is anything else I should change or add.

Screenshot 2026-08-02 173239

Comment thread services/react-native-directory/react-native-directory-platforms.service.js Outdated

@PyvesB PyvesB left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, let's get this merged 👍🏻

@PyvesB
PyvesB added this pull request to the merge queue Aug 2, 2026
Merged via the queue into badges:master with commit 91e87d8 Aug 2, 2026
19 checks passed
@Simek

Simek commented Aug 3, 2026

Copy link
Copy Markdown
Contributor Author

Hey @PyvesB, when should I expect this service be available in the production?

@PyvesB

PyvesB commented Aug 3, 2026

Copy link
Copy Markdown
Member

Shipped to production, they are now available!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants