r/iosdev
•
u/tiaanvdr
•
20d ago
•
1
Major Update: Clear fishtank widgets without being in clear mode, with fish that actually swim around 🐠🪼🐙
What Companions is:
Widgets on iOS are supposed to be static. I always found that unnecessarily limiting, so I built an app that circumvents it. Companions lets you keep a virtual fishtank on your Homescreen, filled with fish that actually swim around. As someone who’s always kept fish, I’ve had this idea mulling around in my head for more than 2 years now, and finally managed to build what I always wanted.
There are 50 fish to choose from, and it supports small, medium, large and now even extra large widgets as “tank sizes”. The fish don't need any feeding, and they don't die (as to not be annoying, but the option is there for fun). They just keep you company. You can customize the tank’s color, its props, layout, and even the app icon to match your Home Screen perfectly.
The app is fully written in SwiftUI, it supports iPads, and you can even place your “fishtanks” on your Mac thanks to Continuity, where the fish will also animate. The tanks also work great in Standby mode. Personally, I keep a fishtank of jellyfish on my nightstand when I go to bed. The swimming doesn't run any code in the background. It uses the same trick iOS uses to move the hands on the Clock widget, so it costs you nothing in battery.
What's new:
The app was built to support clear mode on the phone, but I found it annoying that you need to be explicitly in clear mode to access clear widgets. Luckily, I knew of a separate workaround that allows for clear widgets even while not being in clear mode, which I’ve only seen a small number of widget apps use. And for something like Companions where the widgets are fish tanks, I feel like it fits so perfectly!!
I'd love any feedback, and I’m happy to answer any questions regarding the app. I'd especially love to know which fish species you'd want added.
You can find Companions here: https://apps.apple.com/us/app/companions-widget-pets/id6811950512
8
u/Flashy_Jellyfish_258 20d ago •
How much battery does it consume? Did you do any quantitative analysis on this? What happens when the phone screen is locked? Does the widget continuous to consume battery?
7
u/grandchester 20d ago
How was it approved if you are using a Private API? My app can benefit from an animated widget.
3
u/King_Prabhu 20d ago
Can I have code please
3
u/armistitiu 20d ago •
Looks amazing! You got lucky with the app review approval. Apple is generally against the live moving widgets. Keep your future app updates and subsequent app reviews on the down low, I guess. Congrats!
3
u/WitchesBravo 20d ago
Love the app but the clear glass mode isn’t working for me, it shows up as clear for a second before changing to opaque
3
u/eatingthesandhere91 19d ago edited 19d ago •
Aaaaand you got my attention.
Edit: so there are a few visual bugs, especially if you start out with one fish 🐠. The visual glitch I’m seeing is when the bubbles pop on the clear tank option that it sometimes shows the fish very briefly outside the “tank”.
Otherwise I like this and it’s giving me wallpaper ideas.
I’m intrigued to say the least to see what you come up with next!
Edit #2: I think the $3.49 is more than fair given the average subscription price of most of the App Store is above $6/month. I will throw this out there: can you add the ability to customize the size of the tank complications?
2
u/nummycakes 20d ago •
Love this! Can we get some gravel or some floor options please 🐙
2
u/BTCLSD 20d ago •
Woah this is really cool. I thought widgets couldn’t have perpetual motion though, do the fish continuously swim?
2
u/JesuSwag 20d ago
Any reason why the animation does not support pro motion on iPhone 14 Pro Max? It’s choppy and seems like it’s running at 15 frames maybe. Love the aesthetic but ruined by low frame rate. It is a deal breaker for me personally.
2
u/theAerialDroneGuy 20d ago edited 19d ago
This is awesome!!!! Such a cooo widget!
Can you make an animated tamagotchi widget next?
2
u/lowkeyfam 19d ago
Is it just my device or are the fish low frame rate
2
u/Putrid_Resolution402 19d ago •
Love the concept but app is overpriced
2
u/NukeouT 19d ago
Can you turn off the jellyfish?
Also very cool and not something that can be done on Android atm ¯_(ツ)_/¯
2
u/zest_01 19d ago
It’s pretty nice and I won’t say it’s overpriced - plenty of free stuff available. However, the animation is slightly laggy on 14PM so I had to delete it.
2
u/thaikickass 18d ago
How do I put the coral on?
2
u/Own-Consideration578 20d ago
So cute! How did you draw the fish?
2
u/TimBitBox 20d ago
Whoa I’ve been looking for exactly this lol can I get a code
2
u/JASEMOOSER 20d ago
I’ve been loving this app and have bought a couple fish packs. Very fun app. Could I have a code please?
2
u/Ok-Affect-7503 20d ago
Can we get the code?
2
u/Fermooooo 20d ago
Can i have a code please?🙏
2
u/Wimmi29 20d ago •
Dieses Widget ist einfach wunderschön 🤩
2
u/influxodoxxl 20d ago
O.M.G. this is just... idk... so nice and lovely and cute! 😻My memory usually is very similar to a goldfish ones but being gifted a code would surely make a deep impression in my old Gray gooey Matter. 🐠🧠
2
u/Kyronsk8 20d ago
I’m trying to get this working for my app as well, are you using an engine inside the widget kit? Or another method; I’m using preset animations, but I’d prefer an engine but haven’t looked into support for that yet.
2
u/theAerialDroneGuy 19d ago
How do you active the clear fish tank while on the default Apple theme mode?
2
u/Krishh1997 19d ago
I love aquariums, fish, and your app! I’d really appreciate a promo code. Thank you!
2
u/Horror_Still_3305 19d ago
The fish are laggy on my widget.
2
u/cleedek 19d ago
Love this new iteration + adding utility (calendar/weather display). Also fish and their movement really looks much more natural now.
1
u/madaradess007 19d ago
Dude, this feels like a technical marvel to me!
Please share a basic animated widget demo, i tried making smooth animation inside a widget like 4-5 years ago and remember settled for an animated UILabel text change. (or whatever it is called in SwiftUI, i cant get myself to take SwiftUI seriously)
1
u/Impossible-Suit6078 19d ago
This is impressive, I've always wanted a widget like this, but I never figured out how to make it work. Well done!
0
u/[deleted] 19d ago
[deleted] — view deleted comment