sterrenb / flutterhole

A third party Android application for the Pi-Hole® dashboard.
https://play.google.com/store/apps/details?id=sterrenburg.github.flutterhole
MIT License
400 stars 27 forks source link

iOS version #27

Open sterrenb opened 5 years ago

timjakobi commented 5 years ago

iOS version would be very nice

RJ-Clegg commented 5 years ago

I would love to take on this and make an iOS version.

sterrenb commented 5 years ago

Hey, that would be really cool! This is the first Flutter project that I worked on and I haven't developed for iOS before, so I'm in the dark.

Let me know what I can do to set you up, or if you want to discuss things, shoot me a mail!

RJ-Clegg commented 5 years ago

Not a problem. I'll take a look at this during the week and see what sort of effort is required. The iOS version will be written in Swift. Perhaps it would be best to have a separate repo for it, too - I can create that on my profile and link to this as the original.

if it's just interacting with a simple API then its straight forward. I'd follow the same UI version as the Android as much as I can, too.

sterrenb commented 5 years ago

Making a fork sounds like the easiest approach for now. All the iOS files live in a root level ios directory, so debugging the fork locally should not be a problem. Do keep in mind that Flutter is cross platform and can integrate with Swift, so you shouldn't have to rewrite the entire app!

RJ-Clegg commented 5 years ago

Right, so all in Flutter then, interesting.

Before I take this on - have you guys seen this: https://www.reddit.com/r/shortcuts/comments/9kf720/pihole_admin/

I've given it a try on my iPhone and it works pretty well; does pretty much what the app would do anyway. I think its a better approach than a full app for the same functionality. Also, it allows the users to add / remove features at will (See reddit comments where someone did just that)

Just food for thought.