-
Notifications
You must be signed in to change notification settings - Fork 907
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Social Sharing exit app in android #126
Comments
Can you share your project so I can take a look? |
The project cannot be shared .. following is the log. Hope there are some hints.. 06-02 17:49:44.168: D/CordovaActivity(29950): Paused the application! |
Nope, I really need the project, sorry. |
In the past, where this sort of situation has arisen (not being able to Just a thought. Marc On Mon, Jun 2, 2014 at 10:39 AM, Eddy Verbruggen notifications@github.com
Marc Syp, Application Engineer WARNING: The information contained in this message is legally |
Hi, I'm working on the same project and having the same issues when selecting Twitter and share. After sharing with Twitter the app crashes. We are using Wikitude plugin together with Social Sharing. The main index.html is using this code: <script type="text/javascript" src="cordova.js"></script>
The wikitude app has this simple code: <script type="text/javascript"> $(function() { var shareClick = function(event) { event.preventDefault(); document.location = "architectsdk://button?action=share"; } $("#share-button").on("click", shareClick); }); </script> |
The wikitude app has this simple code:
|
Hi, the only thing I see is the number of arguments for the window.plugins.socialsharing.share('Test Message', null, null, shareCallback, shareCallback); |
Also using window.plugins.socialsharing.share('Test Message') creashes on Android, works on iOS |
I added a sample app with the SocialSharing plugin failing posting on Twitter: https://github.com/1000heads/SocialSharing-PhoneGap-Test I'm only using window.plugins.socialsharing.share('Test Message'); on a Samsung Galaxy S4 without Memory card |
So by failing with the testapp you mean it's crashing when sharing on your Galaxy S4? |
This plugin used to share with installed social apps. I would like to share message with facebook and twitter whether installed or not in device. Is this possible? |
You can share to FB and Twitter without installing the app on iOS, but you need to configure your accounts in the Settings app to be able to do so. |
@EddyVerbruggen I don't think there's any error popping up, the Twitter screen is closing and you're back on the icon screen. This is not happening on other devices I've tested. |
Thank you Eddy. Anyway i need to sign in to my facebook and twitter accounts in my device settings right? I have few more questions: What about android? I think here i should install fb and twiiter apps in to my device? is it? |
Android: you need the apps. iOS: the apps are ignored. You need to configure them in the Settings app. If not, when using |
@robertosobachi I've been guessing the problem for a while but I can't do anything without debugging your entire project. Just too many variables at play. Please try one thing on your side: wrap the call to socialsharing.share in a setTimeout of a second or so, maybe those plugins aren't playing nice together. |
Success callback is not called because the app is quitted when user select a share options. The app crashed when user return to the app manually.
Works on ios not android.
The text was updated successfully, but these errors were encountered: