This code is DEPRECATED The associated codelab and this code have been deprecated. Please use the following resources instead: Firebase Performance Monitoring documentation