High battery use with firebase pod

2020-07-24 03:57发布

问题:

hi everyone i am working with firebase and i realized that i have a high battery consumption when i start my app .. i noticed that the battery consumption is high even when i use empty projects but with firebase inside .. there I show a screen shot of one of my projects(empty) .. am I doing something wrong or does firebase have any of these problems?


UPDATE

I try to be as clear as possible in my question ....

Then I create a new xCode Project as Single View Application ..

This is my "Empty Project"


Now this is the state of Energy Impact without having installed the Firebase pod


Now I open the Terminal and after creating the podFile, I load the Firebase pods


After following the Firebase start guide and copying the GoogleService-Info.plist file into my xCode project I insert FirebaseApp.configure() in the AppDelegate.swift file


Now I start my new application and as you can see the Energy Impact is high and remains a little bit before going back to a low level ..


I wanted to know if it's normal to have these energy impacts using firebase or if I'm doing something wrong

Are there any problems that could arise during app development having these initial values? I don't want to accuse but I just want to understand :)

标签: ios firebase