Doyban Posted August 5, 2019 Share Posted August 5, 2019 With exactly the same codebase I have perfectly working Facebook events on Android. However, on iOS it doesn't works. I'm using https://github.com/jeduan/cordova-plugin-facebook4 for this and tried to set some alerts to see the error code or something (note `alert` in the code, for debugging purposes), but there is no action. In essence, I can't see any error, it just doesn't works. The following code: this.options = { method: 'apprequests', message: 'Play YellowSidd with me!' }; this.onSuccess = function(result) { alert("Success with invite, result: " + result); }; this.onError = function(msg) { alert("Failed with invite, msg: " + msg); }; facebookConnectPlugin.showDialog(this.options, this.onSuccess, this.onError); In the Xcode in Build Phases -> Compile Sources I do have FacebookConnectPlugin.m. In Build Phases -> Link Binary with Libraries I do have also the following: libsqlite3.dylib (added by me), Security.framework (added by me), Accounts.framework (added by me), Social.framework (added by me). Also, the FBSDKCoreKit.framework, FBSDKLoginKit.framework and FBSDKShareKit.framework. These last 3 were already in that project. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.