Skip to content

Plugin causes problems with Android edge-to-edge margins #21

@marcorombach

Description

@marcorombach

Describe the bug
When this plugin is used with Capacitor 7 on Android 15, the margins for edge-to-edge that Capacitor sets are always 0. This issue describes the problem: ionic-team/capacitor#7917

I removed the layout files mentioned in this issue from the plugin files and the margins have been applied correctly.

Files I removed:
android/src/main/res/layout/bridge_layout_main.xml
android/src/main/res/values/colors.xml
android/src/main/res/values/strings.xml
android/src/main/res/values/styles.xml

I think these should be removed from the plugin if this is not causing any other issues.

Smartphone (please complete the following information):

  • OS: Android 15
  • API Level: 35
  • Capacitor 7

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions