Skip to content

SPM Migration#1

Merged
damiant merged 3 commits intomasterfrom
spm-migrate
Nov 15, 2025
Merged

SPM Migration#1
damiant merged 3 commits intomasterfrom
spm-migrate

Conversation

@damiant
Copy link
Copy Markdown
Owner

@damiant damiant commented Nov 15, 2025

This pull request introduces significant improvements to the project’s build tooling, platform support, and documentation. The most important changes are the addition of Swift Package Manager (SPM) support for iOS, major upgrades to CI/CD workflows and dependencies, and enhancements to code quality tooling. These updates modernize the project, improve maintainability, and align with community best practices.

Platform Support and Packaging:

  • Added Package.swift to provide Swift Package Manager (SPM) support for iOS, enabling easier integration and dependency management for iOS projects.
  • Renamed and updated the podspec to WebnativellcCapacitorNavigationBar.podspec, changed deployment target to iOS 14, and restructured source files for better organization.

CI/CD and Build Tooling:

  • Updated .github/workflows/main.yml to use Node.js 20, Java 21 (Zulu), macOS 15 runner, latest GitHub Actions versions (v4), and added a dedicated lint job for improved code quality checks. [1] [2]
  • Upgraded Android build dependencies: Gradle to 8.11.1, Android Gradle plugin to 8.7.2, SDK versions, and Java compatibility to 21 for modern Android development. [1] [2] [3] [4]
  • Improved Android wrapper scripts (gradlew, gradlew.bat) for better error handling and compliance, including SPDX license headers. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]

Documentation and Code Quality:

  • Updated event listener documentation in README.md to use explicit event names, added a changelog for version 7.1.0, and described new features and internal improvements. [1] [2] [3] [4] [5]
  • Added .gitignore for iOS and removed obsolete Xcode workspace files to clean up the repository. [1] [2] [3]

These changes collectively modernize the project, streamline development workflows, and improve integration with iOS and Android platforms.

- Removed old Xcode project files and workspace configurations.
- Deleted obsolete Info.plist files for both the main plugin and tests.
- Cleaned up NavigationBar and NavigationBarPlugin implementation files.
- Introduced new Swift Package Manager structure with Package.swift.
- Added new source files for NavigationBar and NavigationBarPlugin.
- Implemented unit tests for NavigationBar functionality.
- Updated package.json to reflect new structure and dependencies.
- Added .gitignore for Swift package management artifacts.
@damiant damiant merged commit ce1b986 into master Nov 15, 2025
4 checks passed
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

Successfully merging this pull request may close these issues.

1 participant