Issues
Issues copied to clipboard
Flutter SDK
Any plans on a Flutter SDK?
Not right now, but leave this ticket open, and I'll add it to the roadmap :)
Flutter SDK would be great!
Hello, I might take this on, since I need an analytics service until I manage to build my own.
I can't guarante it tho, since it would be part of a project I'm working on right now and the timeline could be to narrow. I would give a heads up here if I manage to work on it.
Sure, that'd be lovely!
I've done a bit of reading up on stuff (would be my first plugin with native interactions). My original idea was to wrap your existing kotlin and swift clients with platform channels and dart code. But there is a small issue: You've used only spm and not cocoapods for distribution right?
Flutter currently seems to support only cocoapods. flutter/flutter#33850 Which would leave me with 4 options:
- Try a workaround where the user still needs to add the swift package to their app (and idk if it works sice I didnt touch native code so far)
- write everything in dart (however then there would be three codebases that need to be in sync)
- You add support for cocoapods (an article I found in regards to that)
- I wait until the issue is resolved by flutter flutter/flutter#126005
EDIT: Add relevant issues
Thanks a lot for researching this! I think we could add support for cocoapods. So far, I didn't want to support it mostly because it's increasingly unnecessary for modern iOS projects and would add additional support load. But with this added benefit, it might just push that balance over to "let's support it".
What do you think?
If possible that would be nice, and the good thing is you could remove it as soon as flutter adds support for spm.
Otherwise I would attempt to write it purely in dart.
Just jumping in to give a small heads up: I think I would be able to start working on it next week or the week afterwards, if the SPM related implementations are added. If that would be too soon, you can just give me a heads up when you have managed to implement it and I will attempt it then.
Heads up: we're starting work on cocoapods support internally. It's time to get this show on the road!
Seems like it has been added, I will start working on it when I find the time (I'm currently starting to get a bit busy). I will update you how it goes.
Edit:
I've tried myself on the SwiftClient, in theory doable, but there seem to be one or two major issues. But as soon as I figure this out it should be done in no time.
iOS seems to work now. (There was a weird issue that was resolved after rerunning the creation process 5 times).
The repo is: flajt/flutter_telemetrydeck
Will aim for kotlin next.
I'm sorry we've already received a finished Flutter SDK recently, so your work might be duplicate. But on the good side, we'll release it this week or so, so you'll be able to use it very soon.
Np, I will delete my version to prevent confusion.