Repository navigation
Clear iOS/Android versions when a plugin drops them from nativephp.json - #598
Merged
simonhamp merged 1 commit intoNov 3, 2026
Conversation
The sync only wrote ios_version and android_version when nativephp.json existed, so removing that file left the old versions on the listing and review pages forever. Always write both, null when no longer declared. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
After a plugin removed its iOS
min_version, the plugin pages kept showing "iOS 18" in the package details.PluginSyncServiceonly wroteios_version/android_versionwhennativephp.jsonwas present, so dropping the file left the old values in place even after a re-sync.Fix
Always set both columns on sync — the declared value, or
nullwhennativephp.json(or its platform entry) no longer has one.Refreshing an affected plugin
Admin → Plugin → Re-sync from GitHub (or push a new release, which fires the webhook). Note the sync reads the latest release tag, so the change must be in a released version.
Tests
test_sync_clears_platform_versions_removed_from_nativephp_jsontest_sync_clears_platform_versions_when_nativephp_json_is_removed🤖 Generated with Claude Code