Skip to content

Conversation

@jcesarmobile
Copy link
Contributor

this plugin is causing issues on Capacitor 7.1.0 apps, preventing the new adjustMarginsForEdgeToEdge config from working because of the plugin having the unused android/src/main/res/layout/bridge_layout_main.xml file, which is making Capacitor load that layout instead of Capacitor's one since they both have the same name.

Removed the all the unused files from res folder that are not being used and newer Capacitor plugins no longer ship those files (it hasn't since 2020)

@ryaa ryaa merged commit addcf31 into master Mar 26, 2025
2 checks passed
@ryaa ryaa deleted the remove-res branch March 26, 2025 06:48
@ryaa ryaa added this to the v7.0.1 milestone Mar 26, 2025
@hoi4
Copy link

hoi4 commented Mar 31, 2025

Thank you for the fix! 🥇 When is v7.0.1 expected to be released?

@ryaa
Copy link
Member

ryaa commented Apr 3, 2025

Thank you for the fix! 🥇 When is v7.0.1 expected to be released?

@hoi4 The v7.0.1 has been released. See CHANGELOG for details https://github.com/capacitor-community/camera-preview/blob/master/CHANGELOG.md

@jcesarmobile
Copy link
Contributor Author

You can also update Capacitor to 7.2.0 as it renamed the layout to prevent this kind of problems

@ryaa
Copy link
Member

ryaa commented Apr 3, 2025

You can also update Capacitor to 7.2.0 as it renamed the layout to prevent this kind of problems

I believe that this has been done - see https://github.com/capacitor-community/camera-preview/blob/master/package.json#L28 and https://github.com/capacitor-community/camera-preview/blob/master/example-app/package.json#L39 and https://github.com/capacitor-community/camera-preview/blob/master/CHANGELOG.md for v7.0.1

@jcesarmobile
Copy link
Contributor Author

My comment was for hoi4, updating to Capacitor 7.2.0 will prevent issues with other plugins that still have the file.

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.

4 participants