SwiftUI canvas crash when trying to call firebase current user
I am trying to call the Firebase current user on main screen appear and the canvas crashes. But at runtime everything works fine. What am I doing wrong? Thanks.
CAReportingClient.mm:532 Attempted to remove a reporter not created by this client { careporter_id=40754944671917 }
Does anyone know how to fix the issue “CAReportingClient.mm:532 Attempted to remove a reporter not created by this client { careporter_id=40754944671917 }” with Firebase in SwiftUI? It is causing my app to have hang times
Async Await or Completion Handlers?
I am building a social networking app with SwiftUI, and I currently am using completion handlers method. Is async await better for fetching large datasets? I am using Firebase and my social network is going to be large scale.
When navigating to the home view, it takes a long time to load, and when navigating back from the FullPostCell, it takes seconds to navigate back
The Home View (or any view with posts populated) is very slow, and after debugging, I found out that the filtering was NOT causing the problem. For some reason, it isn’t slow on the simulator, but on an actual device it is very slow, especially after posts loading.
I also debugged a bunch of times, and I’m still unable to figure out this problem, nothing in the debugs showing what’s causing it, but my guess is its a bottlenecking problem.
Does anyone know why whenever I navigate back to a view with post and firebase data, it’s very slow
Whenever I navigate to the home view, or any view with the posts populated, the app gets very slow. Like even if I navigate to a FullPostCell and navigate back, it’s extremely slow. Can anyone help me identify bottlenecks or what could be causing this?