jarnoh / cordova-dnssd

Cordova (PhoneGap) plugin for Bonjour based DNS-SD queries. Enables local service discovery on iOS and OS X.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cordova-dnssd

Cordova plugin for running DNS-SD browsing and resolving on iOS and OSX.

Instructions

Cordova 3.X (command line)

cordova plugin add https://github.com/jarnoh/cordova-dnssd.git

Cordova 2.9 and earlier

Add *.h, *.m to your project and *.js to www/ directory.

Add node to config.xml:

<feature name="fi.peekpoke.cordova.dnssd">
    <param name="ios-package" value="CDVBonjour"/>
</feature>

Example

There is a simple DAAP browsing example available, it should list shared iTunes DAAP services and by tapping item, resolve the actual IP address.

Legal

cordova-dnssd is licensed with Apache License v2.0. (same as Cordova, for license see http://www.apache.org/licenses/LICENSE-2.0)

Copyright (c) 2012-2013 Jarno Heikkinen jarnoh@komplex.org.

About

Cordova (PhoneGap) plugin for Bonjour based DNS-SD queries. Enables local service discovery on iOS and OS X.


Languages

Language:Objective-C 83.0%Language:JavaScript 17.0%