Hello, I show image url on live activity not working on Device, but it show on simulator. Help me, i miss two weeks. Thanks

struct NetworkImage: View {
  let url: URL?
  
  var body: some View {
    Group {
      if let url = url, let imageData = try? Data(contentsOf: url),
         let uiImage = UIImage(data: imageData) {
        
        Image(uiImage: uiImage)
          .resizable()
      }
      else {
        Image("league")
      }
    }
  }
}
NetworkImage(url: URL(string: context.attributes.imageGame))
                  .aspectRatio(contentMode: .fill)
                  .frame(width: 35, height: 35)
                  .clipShape(Circle())

no reply for question, I am having the same problem. Please give me the answer if you have solved it. Thank you so much.

Hello, I show image url on live activity not working on Device, but it show on simulator. Help me, i miss two weeks. Thanks
 
 
Q