Comments (6)
@DominikStarke Oh, you're testing 0.1.3
from master
? That's great 😄
I'm gonna submit a commit in order to fix this one.
from bonsoir.
I was using an old build on github I think, trying it again.
from bonsoir.
Out of curiosity, which build were you using ?
from bonsoir.
I'm also seeing this with 0.1.3
Adding Map.from in resolved_service.dart should fix it:
ResolvedBonsoirService.fromJson(Map<String, dynamic> json,
{String prefix = 'service.'})
: this(
name: json['${prefix}name'],
type: json['${prefix}type'],
port: json['${prefix}port'],
attributes: Map<String, String>.from(json['${prefix}attributes']), // <<<
ip: json['${prefix}ip'],
);
from bonsoir.
Yeah, I needed txt-records on iOS. So far it seems to work, if I run the app from xcode. Doesn't work if I run from Flutter directly, but that might be due to some workspace pollution on my side.
Let me know if you need help testing.
from bonsoir.
@DominikStarke In fact, I may need some testing of that TXT record feature in order to launch a proper release (I haven't had the time so far to run some tests for this, that's why it's not on pub.dev yet). It would be very kind of you if you could run some tests 😄
from bonsoir.
Related Issues (20)
- ERROR: message sent from native to Flutter on non-platform thread HOT 2
- Crashes related to messages being sent from native to Flutter on non-platform thread HOT 4
- Customise hostname HOT 5
- IP Address Return HOT 3
- Crash when TXT record contains empty properties HOT 2
- java.net.SocketTimeoutException: Poll timed out leads to crash on android few seconds after discovering service HOT 6
- iOS cannot discover a host running on Windows HOT 7
- normalizeType error HOT 4
- Error Redeclaration: BonsoirService HOT 1
- Scan for all the mDNS devices in the network HOT 7
- How can I run this on native android? HOT 8
- Does not work for Flutter-Tizen project HOT 1
- [macOS/windows] Random crash when starting and stopping discovery HOT 8
- Specific characters are missing HOT 2
- Crashes on iOS caused by DNSServiceProcessResult HOT 2
- Broadcast on specific interface HOT 2
- java.util.ConcurrentModificationException is throwed by BonsoirServiceDiscovery.kt HOT 2
- How to get the IP of the resolved service? HOT 4
- what is this error code 4 ? HOT 1
- [Windows] Crash when BonsoirDiscovery start failed HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bonsoir.