home.social

#activitykit — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #activitykit, aggregated by home.social.

  1. My canvas while working on a Live Activity for my logbook app. I usually try to avoid designing in Figma because I find myself spending too much time on little details, but sometimes it helps me create variants faster.

    #BuildInPublic #IndieDev #iOSDev #ActivityKit #WidgetKit

  2. In a #LiveActivity widget, it seems a subview is always re rendered even if the content doesn't change.

    Normal?

    This breaks my timer animation because I update the content regularly in the background. In an app, if the date variable doesn't change, the View is not re rendered.

    #WidgetKit #ActivityKit #iOSdev #buildinpublic #indiedev #swiftui

    cc @_Davidsmith you have this kind of Text timer + background location services in your app iirc. Have you faced this?

  3. In a #LiveActivity widget, it seems a subview is always re rendered even if the content doesn't change.

    Normal?

    This breaks my timer animation because I update the content regularly in the background. In an app, if the date variable doesn't change, the View is not re rendered.

    #WidgetKit #ActivityKit #iOSdev #buildinpublic #indiedev #swiftui

    cc @_Davidsmith you have this kind of Text timer + background location services in your app iirc. Have you faced this?

  4. In a #LiveActivity widget, it seems a subview is always re rendered even if the content doesn't change.

    Normal?

    This breaks my timer animation because I update the content regularly in the background. In an app, if the date variable doesn't change, the View is not re rendered.

    #WidgetKit #ActivityKit #iOSdev #buildinpublic #indiedev #swiftui

    cc @_Davidsmith you have this kind of Text timer + background location services in your app iirc. Have you faced this?

  5. In a #LiveActivity widget, it seems a subview is always re rendered even if the content doesn't change.

    Normal?

    This breaks my timer animation because I update the content regularly in the background. In an app, if the date variable doesn't change, the View is not re rendered.

    #WidgetKit #ActivityKit #iOSdev #buildinpublic #indiedev #swiftui

    cc @_Davidsmith you have this kind of Text timer + background location services in your app iirc. Have you faced this?

  6. In a #LiveActivity widget, it seems a subview is always re rendered even if the content doesn't change.

    Normal?

    This breaks my timer animation because I update the content regularly in the background. In an app, if the date variable doesn't change, the View is not re rendered.

    #WidgetKit #ActivityKit #iOSdev #buildinpublic #indiedev #swiftui

    cc @_Davidsmith you have this kind of Text timer + background location services in your app iirc. Have you faced this?

  7. For an unknown reason, I can't see again a #LiveActivity from my app after I allow them. It's working fine in Simulator. Rebooting my device doesn't help.

    • No error when I create the activity
    • Started in foreground
    • Console shows: "Updating content"

    #iOSDev #ActivityKit #buildinpublic #swiftui #indiedev

  8. For an unknown reason, I can't see again a #LiveActivity from my app after I allow them. It's working fine in Simulator. Rebooting my device doesn't help.

    • No error when I create the activity
    • Started in foreground
    • Console shows: "Updating content"

    #iOSDev #ActivityKit #buildinpublic #swiftui #indiedev

  9. For an unknown reason, I can't see again a #LiveActivity from my app after I allow them. It's working fine in Simulator. Rebooting my device doesn't help.

    • No error when I create the activity
    • Started in foreground
    • Console shows: "Updating content"

    #iOSDev #ActivityKit #buildinpublic #swiftui #indiedev

  10. For an unknown reason, I can't see again a #LiveActivity from my app after I allow them. It's working fine in Simulator. Rebooting my device doesn't help.

    • No error when I create the activity
    • Started in foreground
    • Console shows: "Updating content"

    #iOSDev #ActivityKit #buildinpublic #swiftui #indiedev

  11. For an unknown reason, I can't see again a #LiveActivity from my app after I allow them. It's working fine in Simulator. Rebooting my device doesn't help.

    • No error when I create the activity
    • Started in foreground
    • Console shows: "Updating content"

    #iOSDev #ActivityKit #buildinpublic #swiftui #indiedev

  12. I want to update a Live Activity in my iOS 17+ app.

    The Apple documentation tells to use the update(:) method.

    Xcode can't build my app. Instead, it tells me to use the update(using:). Then informs me this method is now deprecated (iOS 16.2) and update(:) should be used 🫤...

    #ActivityKit #WidgetKit #buildinpublic #indiedev #SwiftUI #Xcode

  13. Does anyone know how to have the background color for a Live Activity full screen?

    According to the "Design dynamic Live Activities" video from #WWDC23, it should be the case when we use a background to the View but it does not work for me.

    #ActivityKit #buildinpublic #indiedev #SwiftUI #WidgetKit