Desktop support
bobmoff opened this issue ยท 23 comments
I think you know what I mean. ๐
The great thing about Flutter is that it's multiplatform.
Hi @bobmoff,
I know exactly what you mean ๐.
Right now, we're investigating this and gauging interest. If you can, please reach out to your CSM and raise a feature request. This will help us put it in proper place with our other priorities.
Hi Folks, we're also very interested in getting this working. We will have to pick a different vendor that supports desktop, which would be sad.
We will reach out to our CSM, but we figured commenting on this issue could be helpful as well. Any chance we could learn why this isn't supported by default? Seems straightforward for MacOS at least considering you support iOS already.
@ralphleon Thanks for commenting.
The Flutter SDK leverages work already done in the iOS and Android SDKs for some of the business rules around things like when to send data, how to format the data, required headers, logic for RUM, and querying for system vitals. That logic has to be brought in somehow for the desktop platforms, some of which are easier to port to than others.
We do think macOS is the lowest lift, we just haven't tested as other things have taken priority, and the other desktop platforms have much higher barriers to overcome.
Out of curiosity, would you be fine with just macOS support added, or do you need the other desktop platforms as well?
@fuzzybinary thank you for the thoughtful response. We did some investigation and saw that the platform dependent libraries were being imported in cocopods -- so this makes sense. We would be unblocked if MacOS was added. Windows would be a lovely bonus in the future as our app TigerEye targets both platforms.
We've implemented Firebase analytics in the meantime, which is the only product that seems to support flutter desktop. Not RUM, but gives us some telemetry. If there was some chance we could support the coding effort with our team at TigerEye we would be happy to help!
@ralphleon we have some changes coming into the native Datadog libraries "soon" that may make some of this easier.
The main issue right now with some of the RUM portions is that they rely on UIKit, and those will need to have conditional compilation added to remove them for macOS, as well as unit and integration tests modified to match.
If you or your team are so inclined, you can look at the datadog-sdk-ios repo to see if you can contribute those portions. The nice thing there is that it helps the iOS team support Catalyst, something that is also on our radar, but lower in priority.
@fuzzybinary we looked into it, but too much heavy lifting in your "core" libraries -vs- this thinly wrapped flutter library. We ended up re-implementing analytics and crash reporting using the DD API directly. A real waste of time, but given the lack of platform support in this library we couldn't find a better solution.
Sorry you had to do that
Please keep me and your CSM posted about how using the DD API works out for you. I'm still happy to lend my support where I can until we have a better official solution.