Skip to content
This repository has been archived by the owner on Oct 24, 2022. It is now read-only.

Urgent - IOS crash when enableHybridAppEvents is enabled #745 #746

Merged
merged 1 commit into from
Feb 11, 2019
Merged

Urgent - IOS crash when enableHybridAppEvents is enabled #745 #746

merged 1 commit into from
Feb 11, 2019

Conversation

regevbr
Copy link

@regevbr regevbr commented Feb 11, 2019

Urgent - IOS crash when enableHybridAppEvents is enabled #745

@peterpeterparker
Copy link
Collaborator

@regevbr Thx for the PR, don't have time before tonight but could have a look later

And Android, something to do?

@regevbr
Copy link
Author

regevbr commented Feb 11, 2019

It works on android just fine.
The problem occurs in the WKWebView only which enforces that no 2 script handlers will have the same name.

@regevbr
Copy link
Author

regevbr commented Feb 11, 2019

I do believe that the issue should really be fixed in the Facebook SDK but it will take forever to be fixed there. I will open an issue on their side as well

@peterpeterparker
Copy link
Collaborator

Thx for the confirmation 👍

I'll merge this and release a fix tonight

If u still have time to try v4.1.0 as discussed that would be interesting, I'm asking myself if the issue is here since a bit or if it's related to the Facebook SDK upgrade, as they, Fb, doesn't display anything in their Changelog

@regevbr
Copy link
Author

regevbr commented Feb 11, 2019

Sure thing.
Haha I will check later on today.
In any case here is the bug report in facebook -
https://developers.facebook.com/bugs/242837016595902/

@regevbr
Copy link
Author

regevbr commented Feb 11, 2019

@peterpeterparker side note - this is my first time "writing" ocjC code so any comments and fix suggestions are welcome.

@regevbr
Copy link
Author

regevbr commented Feb 11, 2019

@peterpeterparker this fails exactly the same in 4.1.0

@peterpeterparker
Copy link
Collaborator

@regevbr thx a lot for the feedback, I'm almost happy to hear that 😉

I check the rest tonight

@peterpeterparker peterpeterparker merged commit eaa7236 into jeduan:master Feb 11, 2019
@peterpeterparker
Copy link
Collaborator

PR has been merged and a new version of the plugin has been released to npm

thx @regevbr for the PR, quick fix and clearing that up with Facebook 👍

FYI @msencer this fix an issue which follows your PR #732

Lindsay-Needs-Sleep pushed a commit to miloproductionsinc/cordova-plugin-facebook-connect that referenced this pull request Mar 7, 2020
Lindsay-Needs-Sleep pushed a commit to miloproductionsinc/cordova-plugin-facebook-connect that referenced this pull request Mar 7, 2020
Lindsay-Needs-Sleep pushed a commit to miloproductionsinc/cordova-plugin-facebook-connect that referenced this pull request Mar 7, 2020
Lindsay-Needs-Sleep pushed a commit to miloproductionsinc/cordova-plugin-facebook-connect that referenced this pull request Mar 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants