Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70434

Cordova-plugin-zeroconf - Doesn't work on Android 9

$
0
0

@djoxna wrote:

Hey! Did anyone else had a problem with using cordova-plugin-zeroconf on Android? Everything is working okay on iOS.

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

The error I’m getting is:

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

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70434

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>