Code Monkey home page Code Monkey logo

Comments (7)

casterock avatar casterock commented on June 12, 2024

How to use 1.4.0 version? And where I can find IP. Thanks
Try changing PUBSPEC but received:
"Because mdns_prueba depends on flutter_nsd ^1.4.0 which doesn't match any versions, version solving failed."

from flutter_nsd.

Nimrodda avatar Nimrodda commented on June 12, 2024

How to use 1.4.0 version? And where I can find IP. Thanks
Try changing PUBSPEC but received:
"Because mdns_prueba depends on flutter_nsd ^1.4.0 which doesn't match any versions, version solving failed."

This isn't implemented yet. 1.4.0 hasn't been released.

from flutter_nsd.

jnstahl avatar jnstahl commented on June 12, 2024

should we close this issue and open a new one for the missing iOS implementation?

from flutter_nsd.

jnstahl avatar jnstahl commented on June 12, 2024

an iOS fix should be pretty straightforward as the NetService class also includes an array of addresses:

var addresses: [Data]?

  • Modified
    A read-only array containing NSData objects, each of which contains a socket address for the service.

However it seems that that entire class has been deprecated so an overall refresh may be needed anyways.

from flutter_nsd.

Nimrodda avatar Nimrodda commented on June 12, 2024

yes, let's close and open a new one for iOS and MacOS 👍

from flutter_nsd.

jnstahl avatar jnstahl commented on June 12, 2024

BTW what is your opinion - I was debating with myself. Currently I return a List containing the addresses in string representation. I could also have chosen to return a List. But Strings can be easily converted to InternetAddress and vice versa. On the other hand it seemed that String was the most straightforward way to return the addresses from the platform interface. And at least for Windows there was no other option.

from flutter_nsd.

Nimrodda avatar Nimrodda commented on June 12, 2024

BTW what is your opinion - I was debating with myself. Currently I return a List containing the addresses in string representation. I could also have chosen to return a List. But Strings can be easily converted to InternetAddress and vice versa. On the other hand it seemed that String was the most straightforward way to return the addresses from the platform interface. And at least for Windows there was no other option.

I think it was a good choice 👍

from flutter_nsd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.