Skip to content

zeroconf.watch not working on Android 9 #88

@sevicbb

Description

@sevicbb
zeroconf.watch('_http._tcp.', 'local.', ({ action, service }) => {
    console.log(service)
    if (action === "resolved") {
      console.log(service)
    } else if (action === "removed") {
      console.log(service)
    }
})

Same code works on iOS. It was working on Android but suddenly it stopped. Any suggestions?
Getting this error in failure callback:

Error: Attempt to invoke interface method 'boolean java.util.Enumeration.hasMoreElements()' on a null object reference

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions