Closed Grandolf49 closed 4 years ago
Are you sure you are on the dev branch?
@Bhavnaharitsa yes, i'm on dev branch
@Grandolf49 nice find. I was going to file the same issue. Log shows failure due to some missing firebase support class.
@codepoet2017390 thanks. Yeah there is a missing support class. I'm not sure if we can comment that out from manifest or create that class file. If we create, what should it contain.
@Grandolf49 so commenting out does work but that's like running away from the problem. I'm trying to find out why that service was needed anyway and what repercussions do commenting it out have. What are your views on this?
@codepoet2017390 Yeah exactly, that's what I thought. That's why I didn't create a PR for this issue yet. That service is needed for notifications. But the corresponding classes must have to be implemented first
@Grandolf49 Are you able to log in?
Yes for logging in, as @Bhavnaharitsa mentioned earlier on the gitter channel.
@naman14 what are your views on this issue?
@Grandolf49 Are you able to solve the error? I think if not, please paste the logs so that it will be helpful to figure out
@Grandolf49 I'm trying to find out why that service was needed anyway and what repercussions do commenting it out have. What are your views on this?
@codepoet2017390 That service was needed for generating new tokens as soon as they get expired. And that service has now been deprecated so it is safe to remove from the manifest file and compensation of the same can be made by adding a oneliner code in the onNewToken()
method of MessagingService.java class itself.
Reference to all that has been quoted above:
After safeDeleting from manifest file and modifying the onNewtoken()
method, the app runs well and fine.
The PR regarding the same has been opened due to long inactivity on this issue
Summary:
When the app is installed for the first time from Android Studio, it crashes. When the app is restarted, it works fine
Steps to reproduce:
Expected behavior:
App should not crash when it is installed from Android Studio
Device and Android version:
Android 10 OnePlus 6 Stock ROM
Screenshots: