This sample will demonstrate how to use Firebase Analytics from a WKWebView
in your iOS application.
- Follow the instructions to add Firebase to your iOS Project.
- If you are working on Android and iOS, use the same project for both halves of this sample.
- Run the application and watch Xcode's console.
- To see more detailed logs in console for Firebase Analytics, follow the instructions here to enable verbose logging.
ViewController
- View controller containing aWKWebView
that loads the content of your website from Firebase Hosting. This view controller also receives messages from the webview and logs them to Firebase Analytics.