Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Firebase Analytics WebView Quickstart

This sample will demonstrate how to use Firebase Analytics from a WKWebView in your iOS application.

Setup

  • 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.

Architecture

  • ViewController - View controller containing a WKWebView 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.