Skip to main content
The 2024 Developer Survey results are live! See the results

Firebase performance : Screen rendering tab not showing SwiftUI views

Created
Active
Viewed 60 times
0 replies
1

We followed all instructions given at https://firebase.google.com/docs/perf-mon/get-started-ios for integrating performance SDK into SwiftUi app. Our app has one swiftUi view named ABCView. We introduced a network call inside onAppear function in ABCView view. This is test app and we did not use UIKit controllers inside it. we kept 2 buttons on home screen and on tap of them we navigated to 2 swiftUi views. ABCView is one of them.

With firebase debug enabled, we got following logs in xcode when app is started and first screen is seen : Firebase Performance Monitoring is successfully initialized! In a minute, visit the Firebase console to view your data:

But inside screen rendering tab of firebase performance only 2 UIKit controllers got logged. Our swiftUi view ABCView is not seen there.We also tested app by degrading network of device.