Search code examples
appceleratorfacebook-sdk-4.0appcelerator-titanium

Ti.Facebook closes and restarts application upon exiting


So we use Ti.Facebook, and follow the steps given to configure and initialize it. Then we share a link/picture with it.

It works fine BUT when the sharing ends, and the FB app (which the module launches with FB.presentShareDialog(params)) closes it also closes the parent app which launched it, and subsequently the app restarts

I don't see any error messages on the ACS console, so I'm fairly sure its not just the app crashing due to some other reason.

Using Ti.Facebook 5.0.0 with Titanium SDK 5.1.1.GA, 5.1.2.GA

Has anyone managed to get it work properly with the new sdk/module?


Solution

  • It looks like you've found a bug. Please check if this is a known issue at the Appcelerator JIRA. If it's not, create a ticket, link to this question but also provide reproducible code, steps and environment information in the ticket itself. Don't forget to drop a link to the ticket here so that others can watch it with you.