Really curious to see who’s building Interactive widgets in #iOS17

@Sarahp I added 3 new interactive widgets to CardPointers:

* Offers Widget allows users to redeem offers from their homescreen

* Nearby Stores has a refresh button and automatically updates stores around them without having to open the app

* Nearby Offers has a refresh button to update the list of stores nearby where you have free money from your cards

Suoer excited about the new feature!

@emcro looking great! Are these widgets available only on iOS 17? And are you supporting iOS 16 for the rest? In my experience using the #available(iOS 17, *) in the WidgetBundle causes widgets to stop working on iOS 16.

@luksape thanks! Yep supporting back to 15. If supporting pre-17 still need to do the widget bundle trick:

https://www.avanderlee.com/swiftui/variable-widgetbundle-configuration/

Variable WidgetBundle configuration based on conditions

Use control flow statements inside a WidgetBundle to return a different set of widgets base on a if-statement condition.

SwiftLee
@emcro @luksape thanks for sharing this 🙏 I saw this convo last week and bookmarked it, now just running into this same problem
@ryanashcraft happy to hear it’ll help FoodNoms get on more people’s home screens!