EmojiRanger Widget Missing Intent

I followed along with the presentation and my widget has no content on the device.

Code Block
2020-06-24 13:05:23.122146-0500 EmojiRangerWidgetExtension[9619:814152] [widget] No intent in timeline(for:with:completion:)


The placeholder does not compile:
Code Block
struct PlaceholderView : View {
    var body: some View {
        AvatarView(.panda)
            .isPlaceholder(true)
    }
}

For the AvatarView() in the PlaceholderView. "Value of type 'AvatarView' has no member 'isPlaceholder'"


Answered by Documentation Engineer in 615036022
Unfortunately Beta 1 does not include the isPlaceholder API. For the moment you can just skip that part. Keep your eyes on subsequent beta releases for changes in this area.
Accepted Answer
Unfortunately Beta 1 does not include the isPlaceholder API. For the moment you can just skip that part. Keep your eyes on subsequent beta releases for changes in this area.
I have the same issue at time 6:20 in the video. I also noticed that his code in video does not use an IntentConfiguration, but instead uses a StaticConfiguration. If you change that and then change the IntentTimelineProvider to TimelineProvider and remove all references to intentConfiguration and configuration in the subsequent calls, then the code will work. The IntentConfiguration code was automatically generated. I am not sure what the difference is yet or if there is an advantage to the IntentConfiguration vs StaticConfiguration.


That was it for me, change to StaticConfiguration and the Provider struct has to implement TimelineProvider
I have figured out the Intent issue. "Include Configuration Intent" was checked by default in my new Target, but he does not have it checked when he created his new widget. The isPlaceholder(true) is still missing though.
EmojiRanger Widget Missing Intent
 
 
Q