Skip to content

Callback of startNotifications not triggering Angular changes #747

Open
@olimexsmart

Description

@olimexsmart

Describe the bug
Let's say for example I have a list of strings inside the component and a @ for in the template, generating a mat-list based on the current elements. If I add a element the list from the notification callback, the template is not updated. I have to call detectChanges() of ChangeDetectorRef.

The peculiar thing is that the error shows only when running on Android, not when developing the app from a browser.

Plugin version:

  • @capacitor-community/bluetooth-le: 7.0.0

Desktop:

  • OS: Android
  • Browser: Chrome

Smartphone:

  • Device: Samsung
  • OS: Android 14

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions