Skip to content

fix: don't error if objc-c files are missing#37

Merged
jcesarmobile merged 3 commits into
mainfrom
RMET-4594
Dec 29, 2025
Merged

fix: don't error if objc-c files are missing#37
jcesarmobile merged 3 commits into
mainfrom
RMET-4594

Conversation

@jcesarmobile

Copy link
Copy Markdown
Member

Make the .m and .h files optional and don't error when they are not present.

If they are not present, search the plugin's .swift file on the filesystem and extract the identifier value from the code.

Add a new identifier variable to CapacitorPluginPackage class and set it to the Objective-C value if there is a .m file, or to the extracted identifier from the .swift class if there is no .m file.

@jcesarmobile jcesarmobile merged commit 268c2fb into main Dec 29, 2025
3 checks passed
@jcesarmobile jcesarmobile deleted the RMET-4594 branch December 29, 2025 14:21
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.

3 participants