Closed anisc closed 3 years ago
Thanks for your response. I will check it soon.
I checked this method and it should work as expected.
Try to check frameworks in your project. facebook.xcframework
should be Embed & Sign. For example my frameworks:
First, thank you so much for the response and for the plugins As for the issue here is some screenshots from my code, build and the crache:
It crashes in login
function. You can see it in your stack.
@anisc I updated plugin to 0.1.5. Check it.
It doesn't caches now but still having this error : 2021-02-08 13:10:51.811200-0700 chkobbatn[930:484287] ERROR: Condition '!callbackOb' is true. 2021-02-08 13:10:51.811385-0700 chkobbatn[930:484287] At: /Volumes/Work1/projects/godotframework/plugins/godot-facebook/ios-framework/gdnative_ios/src/Facebook.mm:272:callApi_block_invoke() - Condition '!callbackOb' is true. I'm pretty sure I'm doing something wrong but what is it ?
@anisc You should provide callback object and method to some api calls. For example: user_profile(callback_object: Object, callback_method: String)
@DrMoriarty the part that i don't understand is that it work on android but not on IOS. Is the code suppose to be different on different platforms ? this is what I'm using for the user profile facebook.user_profile(self,"request _profile success") Could you plz show me an exemple?
@anisc There was issue with iOS input parameters. I uploaded v0.1.6, check it please.
@DrMoriarty all is perfect thank you so much bro ;)
It work on android but on ios it crashes, is there any thing that need to be added ( framework on xcode or something on the plist ) ?