You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix Catch Exception when resolving FirebaseManager (#73)
My Case is the Following:
- I'm working with laravel v5.8 (a Legacy project and can't upgrade it now).
- I installed this package with version v2.2
- The Package using `laravel-firebase` with version v2.4 which support laravel v5.8
My Problem:
- Because `laravel-firebase` v2.4 installed this version didn't bind `firebase.manager` in laravel service container
- This means it should fallback and enter the catch block and use `firebase.messaging`.
- But the problem is the catch block trying catch `BindingResolutionException` but in my case, the exception was `ReflectionException`.
- I don't know what is the problem maybe because I'm working with the old laravel version but I hope you find this solution helpful.
0 commit comments