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.
** For SwiftUi views we are getting** View controller already tracked. Class, ID: UISplitViewController, 1905641140094295164
Description
We followed all instructions given at https://firebase.google.com/docs/perf-mon/get-started-ios for integrating performance SDK into SwiftUi app. We also referred and followed instructions at https://firebase.google.com/docs/analytics/screenviews
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.
** For SwiftUi views we are getting** View controller already tracked. Class, ID: UISplitViewController, 1905641140094295164
Reproducing the issue
No response
Firebase SDK Version
10.25.0
Xcode Version
15.4
Installation Method
CocoaPods
Firebase Product(s)
Performance
Targeted Platforms
iOS
Relevant Log Output
If using Swift Package Manager, the project's Package.resolved
Expand
Package.resolved
snippet```json Replace this line with the contents of your Package.resolved. ```
If using CocoaPods, the project's Podfile.lock
PODS:
DEPENDENCIES:
SPEC REPOS: trunk:
SPEC CHECKSUMS: AlgoliaSearchClient: dd74cf9fc8c9ccb4145b77b435945068dcd4ce50 Firebase: 0312a2352584f782ea56f66d91606891d4607f06 FirebaseABTesting: e6e3c3e0e35813874f571d1b7bdae2aab319dd38 FirebaseAnalytics: ec00fe8b93b41dc6fe4a28784b8e51da0647a248 FirebaseCore: 7ec4d0484817f12c3373955bc87762d96842d483 FirebaseCoreExtension: 8a47811d0b155501559ef05d089518152a0a1677 FirebaseCoreInternal: 910a81992c33715fec9263ca7381d59ab3a750b7 FirebaseInstallations: 91950fe859846fff0fbd296180909dd273103b09 FirebaseMessaging: 88950ba9485052891ebe26f6c43a52bb62248952 FirebasePerformance: bae7778c4448b37f2a75cb72d30c2df7d10ff227 FirebaseRemoteConfig: 9f3935cefecd85d5b312192117f444957de24a75 FirebaseRemoteConfigInterop: b25018791b204c0d78a90e394d6c62d9b1f22da8 FirebaseSessions: c0939656253a1fa0e94ecc266ccf770cc8b33732 FirebaseSharedSwift: 0274086954b1b2d5fd7e829eccc587044d72a4ba GoogleAppMeasurement: 9abf64b682732fed36da827aa2a68f0221fd2356 GoogleDataTransport: 6c09b596d841063d76d4288cc2d2f42cc36e1e2a GoogleUtilities: ea963c370a38a8069cc5f7ba4ca849a60b6d7d15 InstantSearch: dfa1e71207059951d40aefc8e981bcf6199a5c27 InstantSearchTelemetry: e1ea763a63ad2db96b4f5e8bc4cd4cc1147274b9 Logging: beeb016c9c80cf77042d62e83495816847ef108b lottie-ios: fcb5e73e17ba4c983140b7d21095c834b3087418 nanopb: 438bc412db1928dac798aa6fd75726007be04262 PromisesObjC: f5707f49cb48b9636751c5b2e7d227e43fba9f47 PromisesSwift: 9d77319bbe72ebf6d872900551f7eeba9bce2851 SDWebImage: b9a731e1d6307f44ca703b3976d18c24ca561e84 SDWebImageSwiftUI: 2ecf5ab6f574526326b10ecb155e72a88059d0f0 SwiftProtobuf: 5e8349171e7c2f88f5b9e683cb3cb79d1dc780b3
PODFILE CHECKSUM: 21b60e5f175261a48f9c1d0c10b117e1f3a96965
COCOAPODS: 1.15.2