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
{{ message }}
This repository has been archived by the owner on Jul 27, 2019. It is now read-only.
I have another Cordova plugin (custom for my organization) that swizzles the didFinishLaunchingWithOptions as we need to run some items on app startup. However when I installed this plugin I am getting issues as they both try and swizzle the same method. If I comment out one or the other, the uncommented one works. I'm using the latest version of this plugin (5.1.1).
Our code base is quite large so I will try and create a separate repo the demonstrates this. In the meantime, I wanted to see if there were any recommendations on how to handle this situation.
Thank you very much for taking over this plugin. It is very nice to be able to have an option that is active and updated!
The text was updated successfully, but these errors were encountered:
I have been trying to find out some workarounds for this but couldn't get this functioning. Maybe a separate repo which can demonstrate this problem can help. Were you able to get one?
I think I might have found a solution. The method name I was using was the same as the one in this plugin (swizzledDidFinishLaunchingWithOptions). When I used a different name, it seems to work.
I still plan on creating a sample project to confirm, but I haven't yet done that. When I do I will share it here for info.
If the above solution works, it might make sense to rename the current method to one specific to the firebase project to help avoid future conflicts, i.e. firebaseLibDidFinishLaunchingWithOptions.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have another Cordova plugin (custom for my organization) that swizzles the
didFinishLaunchingWithOptions
as we need to run some items on app startup. However when I installed this plugin I am getting issues as they both try and swizzle the same method. If I comment out one or the other, the uncommented one works. I'm using the latest version of this plugin (5.1.1).Our code base is quite large so I will try and create a separate repo the demonstrates this. In the meantime, I wanted to see if there were any recommendations on how to handle this situation.
Thank you very much for taking over this plugin. It is very nice to be able to have an option that is active and updated!
The text was updated successfully, but these errors were encountered: