Giter Site home page Giter Site logo

eddyverbruggen / socialsharing-phonegap-plugin Goto Github PK

View Code? Open in Web Editor NEW
1.8K 99.0 907.0 2.08 MB

👨‍❤️‍💋‍👨 Cordova plugin to share text, a file (image/PDF/..), or a URL (or all three) via the native sharing widget

License: MIT License

Objective-C 37.95% JavaScript 27.24% C# 2.97% Java 31.85%

socialsharing-phonegap-plugin's Issues

Not working on iOS

Hey great plugin, works well on Android. But I cant seem to get it to work on iOS. Am I missing something?

var message = 'the message';
var subject = 'the subject';
var image = 'https:image.url';
var link = 'http://www.somesite.com';

window.plugins.socialsharing.share( message, subject, image, link);

I am using iOS7, could that be it?

IOS 7 - Doesn't seem to invoke share dialog

So i thought all was working great but I pulled up our app in IOS 7 and click on the share directly to "facebook" I get no dialog and no error. Just doesn't launch. So I went back to IOS 6 to test and the dialogs launch perfectly.

Could there be a setting or something blocking this in IOS 7? I believe it's related to SLViewcontroller.

  1. Start up your app in ios 7
  2. Do not have any accounts setup in sharing.
  3. Click your share button (you should pop back into xcode) no error just can't continue.

After reading a post on a stackoverflow (http://stackoverflow.com/questions/19259149/slcomposeviewcontroller-addurl-issues-ios7) - I tried adding my account details for facebook. Then I did the following:

  1. Start up app in ios 7
  2. Clicked facebook share - now message dialog appears and you can share.

I think it's looking for a failure method to fire when the dialog can't be loaded (in ios 7).

"CordovaInterface.getThreadPool()" required

Hi,

I'm using the plugin with Android 4.3 and when I try to use any "shareVia..." function (ie: shareViaWhatsApp) I get the following message:

THREAD WARNING: exec() call to SocialSharing.shareViaWhatsApp blocked the main thread for 85ms. Plugin should use CordovaInterface.getThreadPool().

Any idea how to resolve it?

Thanks very much and congratulations for the work.

whatsapp support?

Hi, I'm using phonegap 2.x and I can't upgrade it to 3.x in order to use the new plugin which supports whatsapp sharing, could u update your plugin to support whatsapp sharing in this version?
Thx!

Cannot read property 'socialsharing' of undefined on phonegap

I am using this project on PGBuild

I have added this to config.xml:

<gap:plugin name="nl.x-services.plugins.socialsharing" />

I am still getting "Cannot read property 'socialsharing' of undefined on phonegap" when I try

window.plugins.socialsharing.share('I am testing Camshare. #testing', null, document.querySelector('img').src, null);

Did I miss something?

base64 encoded image; sharing on Facebook fails; Android 4.2.2

Hi,

I have a problem with the facebook and base64 encoded image on Android 4.2.2.

When I try to share an image on facebook I get an FileNotFound.

Only facebook seem to have problems. I can share on twitter and by using email.

The log extract is below. Please let me know if you need more info.

Thank you very much.

I/InputReader(  461): Touch event's action is 0x0 (deviceType=0) [pCnt=1, s=0.1364 ] when=469593483371000
I/InputDispatcher(  461): Delivering touch to: action: 0x4
I/InputDispatcher(  461): Delivering touch to: action: 0x0
I/InputReader(  461): Touch event's action is 0x1 (deviceType=0) [pCnt=1, s=] when=469593527316000
I/InputDispatcher(  461): Delivering touch to: action: 0x1
D/SensorService(  461):  [AR] 0.4 6.2 7.6
D/SensorService(  461): AutoRotationSensor::process: Ar_SensorChanged oldrotation = [0], rotation = [255]
V/WindowOrientationListener(  461): Rotation Sensor : x=255.0
E/EnterpriseContainerManager(  461): ContainerPolicy Service is not yet ready!!!
D/EnterpriseDeviceManager(  461): ContainerId: 0
W/LicenseLogService(  461): log() is called by non admin
D/SensorService(  461):  [AR] 0.2 6.9 7.9
D/SensorService(  461): AutoRotationSensor::process: Ar_SensorChanged oldrotation = [255], rotation = [0]
V/WindowOrientationListener(  461): Rotation Sensor : x=0.0
I/power   (  461): *** acquire_dvfs_lock : lockType : 1  freq : 1008000 
D/CustomFrequencyManagerService(  461): acquireDVFSLockLocked : type : DVFS_MIN_LIMIT  frequency : 1008000  uid : 1000  pid : 461  pkgName : ACTIVITY_RESUME_BOOSTER@6
W/ActivityManager(  461): mDVFSHelper.acquire()
E/SurfaceFlinger(  486): #### captureScreenImplLocked
D/WindowManager(  461): computeScreenConfigurationLocked() set config.orientation=2 dw=1280 dh=800 Callers=com.android.server.wm.WindowManagerService.updateOrientationFromAppTokensLocked:5255 com.android.server.wm.WindowManagerService.updateOrientationFromAppTokens:5224 com.android.server.am.ActivityStack.realStartActivityLocked:932 
D/PowerManagerService(  461): setKeyboardVisibility: false
D/AbsListView(27722): unregisterIRListener() is called 
I/power   (  461): *** release_dvfs_lock : lockType : 1 
I/power   (  461): *** acquire_dvfs_lock : lockType : 1  freq : 1008000 
D/CustomFrequencyManagerService(  461): releaseDVFSLockLocked : Getting Lock type frm List : DVFS_MIN_LIMIT  frequency : 1008000  uid : 1000  pid : 461  tag : ACTIVITY_RESUME_BOOSTER@6
D/CustomFrequencyManagerService(  461): acquireDVFSLockLocked : type : DVFS_MIN_LIMIT  frequency : 1008000  uid : 1000  pid : 461  pkgName : ACTIVITY_RESUME_BOOSTER@6
W/ActivityManager(  461): mDVFSHelper.acquire()
D/WindowManager(  461): computeScreenConfigurationLocked() set config.orientation=2 dw=1280 dh=800 Callers=com.android.server.wm.WindowManagerService.updateOrientationFromAppTokensLocked:5255 com.android.server.wm.WindowManagerService.updateOrientationFromAppTokens:5224 com.android.server.am.ActivityStack.realStartActivityLocked:932 
D/PowerManagerService(  461): setKeyboardVisibility: false
D/SensorService(  461):   0.2 6.6 6.9
V/AlarmManager(  461): waitForAlarm result :4
V/AlarmManager(  461): trigger ELAPSED_REALTIME_WAKEUP or RTC_WAKEUP
V/AlarmManager(  461): waitForAlarm result :4
V/AlarmManager(  461): trigger ELAPSED_REALTIME_WAKEUP or RTC_WAKEUP
D/SurfaceWidgetClient( 1067): [123491/10] SurfaceWidgetClient onTrimMemory level: 60
D/SurfaceWidgetClient( 1067): [123491/10] releasing widget instance (paused: true): 1
D/Launcher(  803): onTrimMemory. Level: 60
D/Launcher(  803): releaseShadows called
W/ThumbnailCache( 1667): Low Memory: Freed 0 textures from compression queue, 0 from write queue, 0 from the pinned list, 0 from the cache.
W/ThumbnailCache( 1667): Low Memory: Freed 0 textures from compression queue, 0 from write queue, 0 from the pinned list, 0 from the cache.
D/ProgressBar( 5362): setProgress = 0
D/ProgressBar( 5362): setProgress = 0, fromUser = false
D/ProgressBar( 5362): mProgress = 0mIndeterminate = false, mMin = 0, mMax = 100
W/ManagedEGLContext( 1667): doTerminate failed: EGL count is 3 but managed count is 1
D/accuweather( 1067): [Accuweather_J_Tab]>>> WR:379 [0:0] releaseResources 
D/ProgressBar( 5362): setProgress = 0
D/ProgressBar( 5362): setProgress = 0, fromUser = false
D/ProgressBar( 5362): mProgress = 0mIndeterminate = false, mMin = 0, mMax = 100
D/ProgressBar( 5362): setProgress = 0
D/ProgressBar( 5362): setProgress = 0, fromUser = false
D/ProgressBar( 5362): mProgress = 0mIndeterminate = false, mMin = 0, mMax = 100
D/AbsListView( 5362): Get MotionRecognitionManager
D/AbsListView( 5362): onVisibilityChanged() is called, visibility : 8
D/AbsListView( 5362): unregisterIRListener() is called 
D/MotionRecognitionService(  461):  ssp status : false
D/AbsListView( 5362): Get MotionRecognitionManager
D/AbsListView( 5362): onVisibilityChanged() is called, visibility : 4
D/AbsListView( 5362): unregisterIRListener() is called 
D/AbsListView( 5362): onVisibilityChanged() is called, visibility : 4
D/AbsListView( 5362): unregisterIRListener() is called 
D/AbsListView( 5362): onVisibilityChanged() is called, visibility : 0
D/AbsListView( 5362): unregisterIRListener() is called 
D/AbsListView( 5362): onVisibilityChanged() is called, visibility : 0
D/AbsListView( 5362): unregisterIRListener() is called 
D/dalvikvm( 5362): GC_FOR_ALLOC freed 4835K, 43% free 14994K/25900K, paused 204ms, total 205ms
I/dalvikvm-heap( 5362): Grow heap (frag case) to 19.293MB for 3145744-byte allocation
D/STATUSBAR-NetworkController(15522): refreshSignalCluster: data=-1 bt=false
D/dalvikvm( 5362): GC_FOR_ALLOC freed 50K, 38% free 18016K/28976K, paused 134ms, total 134ms
I/SurfaceFlinger(  486): id=820(17) createSurf 0x40c397c4 (1x1),1 flag=404, DomposerAct
D/STATUSBAR-StatusBarManagerService(  461): manageDisableList what=0x0 pkg=WindowManager.LayoutParams
D/ProgressBar( 5362): updateDrawableBounds: left = 0
D/ProgressBar( 5362): updateDrawableBounds: top = 0
D/ProgressBar( 5362): updateDrawableBounds: right = 16
D/ProgressBar( 5362): updateDrawableBounds: bottom = 16
D/AbsListView( 5362): unregisterIRListener() is called 
E/fb4a(:<default>):MqttOperationManager( 5362): Unexpected duplicate message ID -1 for operation PINGRESP.
I/SurfaceFlinger(  486): id=820 Removed DomposerAct (5/7)
I/SurfaceFlinger(  486): id=821(18) createSurf 0x4092591c (1280x752),1 flag=4, DomposerAct
W/BufferQueue(  486): [com.facebook.katana/com.facebook.katana.activity.composer.ComposerActivity] cancelBuffer: BufferQueue has been abandoned!
I/SurfaceFlinger(  486): id=820 Removed DomposerAct (-2/8)
D/AbsListView( 5362): unregisterIRListener() is called 
D/AbsListView( 5362): unregisterIRListener() is called 
E/EnterpriseContainerManager(  461): ContainerPolicy Service is not yet ready!!!
D/EnterpriseDeviceManager(  461): ContainerId: 0
W/LicenseLogService(  461): log() is called by non admin
W/IInputConnectionWrapper(27722): showStatusIcon on inactive InputConnection
D/AbsListView( 5362): unregisterIRListener() is called 
E/dalvikvm( 5362): adjustAdaptiveCoef max=4194304, min=1048576, ut=568
D/dalvikvm( 5362): GC_CONCURRENT freed 267K, 39% free 17949K/28976K, paused 13ms+76ms, total 439ms
D/AbsListView( 5362): unregisterIRListener() is called 
I/power   (  461): *** release_dvfs_lock : lockType : 1 
D/CustomFrequencyManagerService(  461): releaseDVFSLockLocked : Getting Lock type frm List : DVFS_MIN_LIMIT  frequency : 1008000  uid : 1000  pid : 461  tag : ACTIVITY_RESUME_BOOSTER@6
W/ActivityManager(  461): mDVFSHelper.release()
I/SurfaceFlinger(  486): id=815 Removed DhooserActi (4/7)
I/SurfaceFlinger(  486): id=805 Removed QatrimonioT (2/6)
I/SurfaceFlinger(  486): id=815 Removed DhooserActi (-2/6)
I/SurfaceFlinger(  486): id=805 Removed QatrimonioT (-2/6)
D/AbsListView(27722): onDetachedFromWindow
W/Settings( 1022): Setting device_provisioned has moved from android.provider.Settings.Secure to android.provider.Settings.Global.
D/FaceDetector( 5362): verifyConfiguration: input: [1024x768], current: [0x0], syncMode: 0
D/STATUSBAR-StatusBarManagerService(  461): sendNotification(1) - 17041055
I/Choreographer( 1022): Skipped 35 frames!  The application may be doing too much work on its main thread.
D/STATUSBAR-StatusBarManagerService(  461): sendNotification(2) - 17041055
I/SurfaceFlinger(  486): id=822(18) createSurf 0x409363e4 (1280x1),1 flag=4, JnputMethod
W/ResourceType(15522): Attempt to retrieve bag 0x01030068 which is invalid or in a cycle.
W/ResourceType(15522): Attempt to retrieve bag 0x01030067 which is invalid or in a cycle.
D/ProgressBar(15522): setProgressDrawable mProgressDrawable = null, d = android.graphics.drawable.LayerDrawable@448ebbc0needUpdate = false
D/ProgressBar(15522): setProgressDrawable drawableHeight = 7
D/ProgressBar(15522): setProgress = 0
D/ProgressBar(15522): setProgress = 0, fromUser = false
D/ProgressBar(15522): mProgress = 0mIndeterminate = false, mMin = 0, mMax = 100
W/IdleConnectionHandler( 5362): Removing a connection that never existed!
D/dalvikvm( 1022): GC_FOR_ALLOC freed 2570K, 51% free 6308K/12848K, paused 73ms, total 74ms
I/dalvikvm-heap( 1022): Grow heap (frag case) to 9.625MB for 1899536-byte allocation
D/dalvikvm( 1022): GC_FOR_ALLOC freed 11K, 37% free 8152K/12848K, paused 37ms, total 37ms
D/AbsListView( 5362): unregisterIRListener() is called 
E/dalvikvm( 1022): adjustAdaptiveCoef max=4194304, min=1048576, ut=568
D/dalvikvm( 1022): GC_CONCURRENT freed 77K, 37% free 8165K/12848K, paused 10ms+20ms, total 79ms
D/FaceDetector( 5362): 0 tags, 0.580000 seconds min: 0 max: 11 conf: 2
D/SensorService(  461):   0.3 6.6 7.2
I/InputReader(  461): Touch event's action is 0x0 (deviceType=0) [pCnt=1, s=0.1365 ] when=469597701876000
I/InputDispatcher(  461): Delivering touch to: action: 0x4
I/InputDispatcher(  461): Delivering touch to: action: 0x0
I/InputReader(  461): Touch event's action is 0x1 (deviceType=0) [pCnt=1, s=] when=469597760470000
I/InputDispatcher(  461): Delivering touch to: action: 0x1
D/STATUSBAR-StatusBarManagerService(  461): sendNotification(1) - -81159568
W/ResourceType(15522): Attempt to retrieve bag 0x01030068 which is invalid or in a cycle.
W/ResourceType(15522): Attempt to retrieve bag 0x01030067 which is invalid or in a cycle.
D/ProgressBar(15522): setProgressDrawable mProgressDrawable = null, d = android.graphics.drawable.LayerDrawable@44699a70needUpdate = false
D/ProgressBar(15522): setProgressDrawable drawableHeight = 7
D/ProgressBar(15522): setProgress = 0
D/ProgressBar(15522): setProgress = 0, fromUser = false
D/ProgressBar(15522): mProgress = 0mIndeterminate = false, mMin = 0, mMax = 100
W/ResourceType(15522): Attempt to retrieve bag 0x010301f7 which is invalid or in a cycle.
E/SurfaceFlinger(  486): #### captureScreenImplLocked
D/STATUSBAR-NetworkController(15522): refreshSignalCluster: data=-1 bt=false
D/STATUSBAR-StatusBarManagerService(  461): sendNotification(3) - 17041055
D/LightsService(  461): [SvcLED] turnOff:: id = 4mIsIDUsingPatternLED = true
D/LightsService(  461): [SvcLED] setSvcLedStateLocked:: id = 4, color = 0, mode = Off, set = Off
D/LightsService(  461): [SvcLED] ForcedSvcLEDTask is running.
D/LightsService(  461): [SvcLED] setSvcLedLightLocked : mSvcLedState : 0x0  priority : 7  mSvcLedMode : 1
D/LightsService(  461): [SvcLED] wake unlock
I/LightsService(  461): fileWriteString. value : LightsService
I/SurfaceFlinger(  486): id=822 Removed JnputMethod (4/6)
I/SurfaceFlinger(  486): id=822 Removed JnputMethod (-2/6)
I/power   (  461): *** acquire_dvfs_lock : lockType : 1  freq : 1008000 
D/CustomFrequencyManagerService(  461): acquireDVFSLockLocked : type : DVFS_MIN_LIMIT  frequency : 1008000  uid : 1000  pid : 461  pkgName : ACTIVITY_RESUME_BOOSTER@6
W/ActivityManager(  461): mDVFSHelper.acquire()
D/WindowManager(  461): computeScreenConfigurationLocked() set config.orientation=2 dw=1280 dh=800 Callers=com.android.server.wm.WindowManagerService.updateOrientationFromAppTokensLocked:5255 com.android.server.wm.WindowManagerService.updateOrientationFromAppTokens:5224 com.android.server.am.ActivityStack.resumeTopActivityLocked:2672 
D/PowerManagerService(  461): setKeyboardVisibility: false
I/SurfaceFlinger(  486): id=823(19) createSurf 0x409363e4 (1x1),1 flag=4, Uoast
D/STATUSBAR-StatusBarManagerService(  461): sendNotification(2) - -81159568
D/PowerManagerService(  461): [api] acquire WakeLock flags=0x2000000a tag=WindowManager uid=1000 pid=461
D/AbsListView( 5362): unregisterIRListener() is called 
D/AbsListView( 5362): unregisterIRListener() is called 
I/SurfaceFlinger(  486): id=824(26) createSurf 0x4093601c (1280x752),1 flag=404, QatrimonioT
D/STATUSBAR-StatusBarManagerService(  461): manageDisableList what=0x0 pkg=WindowManager.LayoutParams
D/ProgressBar(15522): setProgressDrawable mProgressDrawable = null, d = android.graphics.drawable.LayerDrawable@446b0198needUpdate = false
D/ProgressBar(15522): setProgressDrawable drawableHeight = 7
D/ProgressBar(15522): setProgress = 0
D/ProgressBar(15522): setProgress = 0, fromUser = false
D/ProgressBar(15522): mProgress = 0mIndeterminate = false, mMin = 0, mMax = 100
E/EnterpriseContainerManager(  461): ContainerPolicy Service is not yet ready!!!
D/EnterpriseDeviceManager(  461): ContainerId: 0
W/LicenseLogService(  461): log() is called by non admin
D/dalvikvm( 5362): GC_FOR_ALLOC freed 3779K, 42% free 15023K/25900K, paused 284ms, total 286ms
D/AbsListView( 5362): [unregisterDoubleTapMotionListener]
I/dalvikvm-heap( 5362): Grow heap (frag case) to 19.321MB for 3145744-byte allocation
I/Monitor (  461): SIOP:: Current AP = 0, CP = 0
D/dalvikvm( 5362): GC_FOR_ALLOC freed 39K, 38% free 18055K/28976K, paused 174ms, total 174ms
I/MotionRecognitionManager( 5362):   .unregisterListener : / listener count = 0->0,  
D/AbsListView( 5362): unregisterIRListener() is called 
D/AbsListView( 5362): [unregisterDoubleTapMotionListener]
D/WindowManager(  461): computeScreenConfigurationLocked() set config.orientation=2 dw=1280 dh=800 Callers=com.android.server.wm.WindowManagerService.updateOrientationFromAppTokensLocked:5255 com.android.server.wm.WindowManagerService.updateOrientationFromAppTokens:5224 com.android.server.am.ActivityStack.resumeTopActivityLocked:2672 
D/PowerManagerService(  461): setKeyboardVisibility: false
D/CordovaActivity(27722): Incoming Result
D/CordovaActivity(27722): Request code = 1
D/CordovaActivity(27722): We have a callback to send this result to
I/CordovaLog(27722): Changing log level to DEBUG(3)
D/Whitelist(27722): Unlimited access to network resources
I/CordovaLog(27722): Found start page location: index.html
I/MotionRecognitionManager( 5362):   .unregisterListener : / listener count = 0->0,  
D/AbsListView( 5362): unregisterIRListener() is called 
D/CordovaActivity(27722): Resuming the App
D/CordovaActivity(27722): CB-3064: The errorUrl is null
D/WebView (27722): loadUrlImpl: called
D/webcore (27722):  CORE loadUrl: called
D/webkit  (27722): Firewall not null
D/webkit  (27722): euler: isUrlBlocked = false
D/LocationManagerService(  461): getLastLocation: Request[POWER_LOW network requested=0 fastest=0 num=1]
W/IInputConnectionWrapper( 5362): showStatusIcon on inactive InputConnection
E/Watchdog(  461): !@Sync 15651
D/dalvikvm(  339): GC_EXPLICIT freed 40K, 30% free 4199K/5936K, paused 3ms+3ms, total 77ms
I/power   (  461): *** release_dvfs_lock : lockType : 1 
D/CustomFrequencyManagerService(  461): releaseDVFSLockLocked : Getting Lock type frm List : DVFS_MIN_LIMIT  frequency : 1008000  uid : 1000  pid : 461  tag : ACTIVITY_RESUME_BOOSTER@6
W/ActivityManager(  461): mDVFSHelper.release()
I/SurfaceFlinger(  486): id=821 Removed DomposerAct (4/7)
I/SurfaceFlinger(  486): id=821 Removed DomposerAct (-2/7)
D/dalvikvm(  339): GC_EXPLICIT freed <1K, 30% free 4199K/5936K, paused 2ms+3ms, total 46ms
D/AbsListView( 5362): onDetachedFromWindow
D/AbsListView( 5362): onDetachedFromWindow
E/dalvikvm(  339): adjustAdaptiveCoef max=4194304, min=1048576, ut=568
D/dalvikvm(  339): GC_EXPLICIT freed <1K, 30% free 4199K/5936K, paused 2ms+3ms, total 53ms
D/dalvikvm( 5362): GC_CONCURRENT freed 178K, 38% free 17974K/28976K, paused 55ms+51ms, total 885ms
W/System.err( 5362): java.io.IOException: read failed: ENOENT (No such file or directory)
W/System.err( 5362):    at libcore.io.IoBridge.read(IoBridge.java:442)
W/System.err( 5362):    at java.io.FileInputStream.read(FileInputStream.java:179)
W/System.err( 5362):    at java.io.InputStream.read(InputStream.java:163)
W/System.err( 5362):    at java.io.BufferedInputStream.fillbuf(BufferedInputStream.java:142)
W/System.err( 5362):    at java.io.BufferedInputStream.read(BufferedInputStream.java:309)
W/System.err( 5362):    at android.graphics.BitmapFactory.nativeDecodeStream(Native Method)
W/System.err( 5362):    at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:623)
W/System.err( 5362):    at com.facebook.bitmaps.FbBitmapFactory.a(FbBitmapFactory.java:131)
W/System.err( 5362):    at com.facebook.bitmaps.BitmapScalingUtils$ImageSource.a(BitmapScalingUtils.java:383)
W/System.err( 5362):    at com.facebook.bitmaps.BitmapScalingUtils.a(BitmapScalingUtils.java:490)
W/System.err( 5362):    at com.facebook.bitmaps.BitmapScalingUtils.a(BitmapScalingUtils.java:418)
W/System.err( 5362):    at com.facebook.bitmaps.BitmapScalingUtils.b(BitmapScalingUtils.java:638)
W/System.err( 5362):    at com.facebook.bitmaps.BitmapScalingUtils.a(BitmapScalingUtils.java:615)
W/System.err( 5362):    at com.facebook.bitmaps.NativeImageResizer.a(NativeImageResizer.java:82)
W/System.err( 5362):    at com.facebook.photos.upload.uploaders.MultiPhotoUploader.a(MultiPhotoUploader.java:412)
W/System.err( 5362):    at com.facebook.photos.upload.uploaders.MultiPhotoUploader.b(MultiPhotoUploader.java:219)
W/System.err( 5362):    at com.facebook.photos.upload.uploaders.MultiPhotoUploader.a(MultiPhotoUploader.java:160)
W/System.err( 5362):    at com.facebook.photos.upload.service.PhotosUploadServiceHandler.a(PhotosUploadServiceHandler.java:143)
W/System.err( 5362):    at com.facebook.photos.upload.service.PhotosUploadServiceHandler.a(PhotosUploadServiceHandler.java:97)
W/System.err( 5362):    at com.facebook.fbservice.service.BlueServiceQueue.e(BlueServiceQueue.java:299)
W/System.err( 5362):    at com.facebook.fbservice.service.BlueServiceQueue.d(BlueServiceQueue.java:53)
W/System.err( 5362):    at com.facebook.fbservice.service.BlueServiceQueue$3.run(BlueServiceQueue.java:230)
W/System.err( 5362):    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:390)
W/System.err( 5362):    at java.util.concurrent.FutureTask.run(FutureTask.java:234)
W/System.err( 5362):    at com.facebook.common.executors.ListenableScheduledFutureImpl.run(ListenableScheduledFutureImpl.java:59)
W/System.err( 5362):    at android.os.Handler.handleCallback(Handler.java:725)
W/System.err( 5362):    at android.os.Handler.dispatchMessage(Handler.java:92)
W/System.err( 5362):    at android.os.Looper.loop(Looper.java:175)
W/System.err( 5362):    at android.os.HandlerThread.run(HandlerThread.java:60)
W/System.err( 5362): Caused by: libcore.io.ErrnoException: read failed: ENOENT (No such file or directory)
W/System.err( 5362):    at libcore.io.Posix.readBytes(Native Method)
W/System.err( 5362):    at libcore.io.Posix.read(Posix.java:123)
W/System.err( 5362):    at libcore.io.BlockGuardOs.read(BlockGuardOs.java:149)
W/System.err( 5362):    at libcore.io.IoBridge.read(IoBridge.java:432)
W/System.err( 5362):    ... 28 more
D/skia    ( 5362): ---- read threw an exception
D/skia    ( 5362): --- decoder->decode returned false
E/BitmapFactory( 5362): Unable to decode stream: java.io.FileNotFoundException: /data/data/com.facebook.katana/cache/uploads/180f30e7-51ab-4c66-85f2-69f20ef6b3c9_1.jpg.tmp: open failed: ENOENT (No such file or directory)
D/STATUSBAR-StatusBarManagerService(  461): sendNotification(2) - -81159568
V/MediaPlayer-JNI(10247): native_setup
V/MediaPlayer(10247): constructor
V/MediaPlayer(10247): setListener
D/ProgressBar(15522): setProgressDrawable mProgressDrawable = null, d = android.graphics.drawable.LayerDrawable@446d40f0needUpdate = false
D/ProgressBar(15522): setProgressDrawable drawableHeight = 7
D/ProgressBar(15522): setProgress = 0
D/STATUSBAR-StatusBarManagerService(  461): sendNotification(2) - -81159568
D/ProgressBar(15522): setProgress = 0, fromUser = false
D/ProgressBar(15522): mProgress = 0mIndeterminate = false, mMin = 0, mMax = 100
D/SurfaceWidgetClient( 1067): [123491/10] SurfaceWidgetClient onTrimMemory level: 60
D/SurfaceWidgetClient( 1067): [123491/10] releasing widget instance (paused: true): 1
D/accuweather( 1067): [Accuweather_J_Tab]>>> WR:379 [0:0] releaseResources 
D/SurfaceWidgetClient( 1067): [123491/10] SurfaceWidgetClient onTrimMemory level: 60
D/SurfaceWidgetClient( 1067): [123491/10] releasing widget instance (paused: true): 1
D/accuweather( 1067): [Accuweather_J_Tab]>>> WR:379 [0:0] releaseResources 
D/STATUSBAR-StatusBarManagerService(  461): sendNotification(2) - -81159568
D/Launcher(  803): onTrimMemory. Level: 60
D/Launcher(  803): releaseShadows called
D/SurfaceWidgetClient( 1067): [123491/10] SurfaceWidgetClient onTrimMemory level: 60
D/SurfaceWidgetClient( 1067): [123491/10] releasing widget instance (paused: true): 1
D/accuweather( 1067): [Accuweather_J_Tab]>>> WR:379 [0:0] releaseResources 
D/ProgressBar(15522): setProgressDrawable mProgressDrawable = null, d = android.graphics.drawable.LayerDrawable@426b9250needUpdate = false
D/ProgressBar(15522): setProgressDrawable drawableHeight = 7
D/ProgressBar(15522): setProgress = 0
D/ProgressBar(15522): setProgress = 0, fromUser = false
D/ProgressBar(15522): mProgress = 0mIndeterminate = false, mMin = 0, mMax = 100
D/Launcher(  803): onTrimMemory. Level: 60
D/Launcher(  803): releaseShadows called
D/ProgressBar(15522): setProgress = 69
D/ProgressBar(15522): setProgress = 69, fromUser = false
D/ProgressBar(15522): mProgress = 0mIndeterminate = false, mMin = 0, mMax = 100
W/ThumbnailCache( 1667): Low Memory: Freed 0 textures from compression queue, 0 from write queue, 0 from the pinned list, 0 from the cache.
W/ThumbnailCache( 1667): Low Memory: Freed 0 textures from compression queue, 0 from write queue, 0 from the pinned list, 0 from the cache.
W/ManagedEGLContext( 1667): doTerminate failed: EGL count is 3 but managed count is 1
D/ProgressBar(15522): setProgressDrawable mProgressDrawable = null, d = android.graphics.drawable.LayerDrawable@44940a70needUpdate = false
D/ProgressBar(15522): setProgressDrawable drawableHeight = 7
D/ProgressBar(15522): setProgress = 0
D/ProgressBar(15522): setProgress = 0, fromUser = false
D/ProgressBar(15522): mProgress = 0mIndeterminate = false, mMin = 0, mMax = 100
D/ProgressBar(15522): setProgress = 84
D/ProgressBar(15522): setProgress = 84, fromUser = false
D/ProgressBar(15522): mProgress = 0mIndeterminate = false, mMin = 0, mMax = 100
W/ThumbnailCache( 1667): Low Memory: Freed 0 textures from compression queue, 0 from write queue, 0 from the pinned list, 0 from the cache.
W/ThumbnailCache( 1667): Low Memory: Freed 0 textures from compression queue, 0 from write queue, 0 from the pinned list, 0 from the cache.
W/ManagedEGLContext( 1667): doTerminate failed: EGL count is 3 but managed count is 1
D/Launcher(  803): onTrimMemory. Level: 60
D/Launcher(  803): releaseShadows called
W/ThumbnailCache( 1667): Low Memory: Freed 0 textures from compression queue, 0 from write queue, 0 from the pinned list, 0 from the cache.
W/ThumbnailCache( 1667): Low Memory: Freed 0 textures from compression queue, 0 from write queue, 0 from the pinned list, 0 from the cache.
W/ManagedEGLContext( 1667): doTerminate failed: EGL count is 3 but managed count is 1
D/STATUSBAR-NetworkController(15522): refreshSignalCluster: data=-1 bt=false
D/STATUSBAR-StatusBarManagerService(  461): sendNotification(2) - -81159568
D/SensorService(  461):  [AR] 1.2 4.2 8.2
D/SensorService(  461): AutoRotationSensor::process: Ar_SensorChanged oldrotation = [0], rotation = [255]
V/WindowOrientationListener(  461): Rotation Sensor : x=255.0
W/ThumbnailCache( 1667): Low Memory: Freed 0 textures from compression queue, 0 from write queue, 0 from the pinned list, 0 from the cache.
W/ThumbnailCache( 1667): Low Memory: Freed 0 textures from compression queue, 0 from write queue, 0 from the pinned list, 0 from the cache.
W/ManagedEGLContext( 1667): doTerminate failed: EGL count is 3 but managed count is 1
D/SurfaceWidgetClient( 1067): [123491/10] SurfaceWidgetClient onTrimMemory level: 60
D/SurfaceWidgetClient( 1067): [123491/10] releasing widget instance (paused: true): 1
D/accuweather( 1067): [Accuweather_J_Tab]>>> WR:379 [0:0] releaseResources 
D/Launcher(  803): onTrimMemory. Level: 60
D/Launcher(  803): releaseShadows called
D/ProgressBar(15522): setProgressDrawable mProgressDrawable = null, d = android.graphics.drawable.LayerDrawable@427287a8needUpdate = false
D/ProgressBar(15522): setProgressDrawable drawableHeight = 7
D/ProgressBar(15522): setProgress = 0
D/ProgressBar(15522): setProgress = 0, fromUser = false
D/ProgressBar(15522): mProgress = 0mIndeterminate = false, mMin = 0, mMax = 100
D/SensorService(  461):  [AR] 0.8 5.7 7.7
D/SensorService(  461): AutoRotationSensor::process: Ar_SensorChanged oldrotation = [255], rotation = [0]
V/WindowOrientationListener(  461): Rotation Sensor : x=0.0
D/dalvikvm(15522): GC_CONCURRENT freed 2324K, 76% free 12116K/48500K, paused 3ms+16ms, total 93ms
D/STATUSBAR-StatusBarManagerService(  461): sendNotification(2) - -81159568
D/SurfaceWidgetClient( 1067): [123491/10] SurfaceWidgetClient onTrimMemory level: 60
D/SurfaceWidgetClient( 1067): [123491/10] releasing widget instance (paused: true): 1
D/Launcher(  803): onTrimMemory. Level: 60
D/Launcher(  803): releaseShadows called
D/accuweather( 1067): [Accuweather_J_Tab]>>> WR:379 [0:0] releaseResources 
W/ThumbnailCache( 1667): Low Memory: Freed 0 textures from compression queue, 0 from write queue, 0 from the pinned list, 0 from the cache.
W/ThumbnailCache( 1667): Low Memory: Freed 0 textures from compression queue, 0 from write queue, 0 from the pinned list, 0 from the cache.
D/ProgressBar(15522): setProgressDrawable mProgressDrawable = null, d = android.graphics.drawable.LayerDrawable@447f6ed0needUpdate = false
D/ProgressBar(15522): setProgressDrawable drawableHeight = 7
D/ProgressBar(15522): setProgress = 0
D/ProgressBar(15522): setProgress = 0, fromUser = false
D/ProgressBar(15522): mProgress = 0mIndeterminate = false, mMin = 0, mMax = 100
W/ManagedEGLContext( 1667): doTerminate failed: EGL count is 3 but managed count is 1
D/STATUSBAR-StatusBarManagerService(  461): sendNotification(2) - -81159568
W/ThumbnailCache( 1667): Low Memory: Freed 0 textures from compression queue, 0 from write queue, 0 from the pinned list, 0 from the cache.
W/ThumbnailCache( 1667): Low Memory: Freed 0 textures from compression queue, 0 from write queue, 0 from the pinned list, 0 from the cache.
W/ManagedEGLContext( 1667): doTerminate failed: EGL count is 3 but managed count is 1
D/SurfaceWidgetClient( 1067): [123491/10] SurfaceWidgetClient onTrimMemory level: 60
D/SurfaceWidgetClient( 1067): [123491/10] releasing widget instance (paused: true): 1
D/accuweather( 1067): [Accuweather_J_Tab]>>> WR:379 [0:0] releaseResources 
D/SensorService(  461):   -0.7 5.4 8.2
D/ProgressBar(15522): setProgressDrawable mProgressDrawable = null, d = android.graphics.drawable.LayerDrawable@42730a38needUpdate = false
D/ProgressBar(15522): setProgressDrawable drawableHeight = 7
D/ProgressBar(15522): setProgress = 0
D/ProgressBar(15522): setProgress = 0, fromUser = false
D/ProgressBar(15522): mProgress = 0mIndeterminate = false, mMin = 0, mMax = 100
D/STATUSBAR-StatusBarManagerService(  461): sendNotification(2) - -81159568
D/SurfaceWidgetClient( 1067): [123491/10] SurfaceWidgetClient onTrimMemory level: 60
D/SurfaceWidgetClient( 1067): [123491/10] releasing widget instance (paused: true): 1
D/accuweather( 1067): [Accuweather_J_Tab]>>> WR:379 [0:0] releaseResources 
W/fb4a(:<default>):PhotosUploadServiceHandler( 5362): Partial upload MultiPhotoUploader: com.facebook.photos.upload.uploaders.PartialUploadException: java.io.FileNotFoundException: /data/data/com.facebook.katana/cache/uploads/180f30e7-51ab-4c66-85f2-69f20ef6b3c9_1.jpg.tmp: open failed: ENOENT (No such file or directory)
D/Launcher(  803): onTrimMemory. Level: 60
D/Launcher(  803): releaseShadows called
W/ThumbnailCache( 1667): Low Memory: Freed 0 textures from compression queue, 0 from write queue, 0 from the pinned list, 0 from the cache.
W/ThumbnailCache( 1667): Low Memory: Freed 0 textures from compression queue, 0 from write queue, 0 from the pinned list, 0 from the cache.
W/ManagedEGLContext( 1667): doTerminate failed: EGL count is 3 but managed count is 1
D/ProgressBar(15522): setProgressDrawable mProgressDrawable = null, d = android.graphics.drawable.LayerDrawable@4478c540needUpdate = false
D/ProgressBar(15522): setProgressDrawable drawableHeight = 7
W/fb4a(:<default>):BlueServiceQueue( 5362): Exception during service
W/fb4a(:<default>):BlueServiceQueue( 5362): com.facebook.photos.upload.uploaders.PartialUploadException: java.io.FileNotFoundException: /data/data/com.facebook.katana/cache/uploads/180f30e7-51ab-4c66-85f2-69f20ef6b3c9_1.jpg.tmp: open failed: ENOENT (No such file or directory)
W/fb4a(:<default>):BlueServiceQueue( 5362):     at com.facebook.photos.upload.uploaders.MultiPhotoUploader.b(MultiPhotoUploader.java:303)
W/fb4a(:<default>):BlueServiceQueue( 5362):     at com.facebook.photos.upload.uploaders.MultiPhotoUploader.a(MultiPhotoUploader.java:160)
W/fb4a(:<default>):BlueServiceQueue( 5362):     at com.facebook.photos.upload.service.PhotosUploadServiceHandler.a(PhotosUploadServiceHandler.java:143)
W/fb4a(:<default>):BlueServiceQueue( 5362):     at com.facebook.photos.upload.service.PhotosUploadServiceHandler.a(PhotosUploadServiceHandler.java:97)
W/fb4a(:<default>):BlueServiceQueue( 5362):     at com.facebook.fbservice.service.BlueServiceQueue.e(BlueServiceQueue.java:299)
W/fb4a(:<default>):BlueServiceQueue( 5362):     at com.facebook.fbservice.service.BlueServiceQueue.d(BlueServiceQueue.java:53)
W/fb4a(:<default>):BlueServiceQueue( 5362):     at com.facebook.fbservice.service.BlueServiceQueue$3.run(BlueServiceQueue.java:230)
W/fb4a(:<default>):BlueServiceQueue( 5362):     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:390)
W/fb4a(:<default>):BlueServiceQueue( 5362):     at java.util.concurrent.FutureTask.run(FutureTask.java:234)
W/fb4a(:<default>):BlueServiceQueue( 5362):     at com.facebook.common.executors.ListenableScheduledFutureImpl.run(ListenableScheduledFutureImpl.java:59)
W/fb4a(:<default>):BlueServiceQueue( 5362):     at android.os.Handler.handleCallback(Handler.java:725)
W/fb4a(:<default>):BlueServiceQueue( 5362):     at android.os.Handler.dispatchMessage(Handler.java:92)
W/fb4a(:<default>):BlueServiceQueue( 5362):     at android.os.Looper.loop(Looper.java:175)
W/fb4a(:<default>):BlueServiceQueue( 5362):     at android.os.HandlerThread.run(HandlerThread.java:60)
W/fb4a(:<default>):BlueServiceQueue( 5362): Caused by: java.io.FileNotFoundException: /data/data/com.facebook.katana/cache/uploads/180f30e7-51ab-4c66-85f2-69f20ef6b3c9_1.jpg.tmp: open failed: ENOENT (No such file or directory)
W/fb4a(:<default>):BlueServiceQueue( 5362):     at libcore.io.IoBridge.open(IoBridge.java:416)
W/fb4a(:<default>):BlueServiceQueue( 5362):     at java.io.FileInputStream.<init>(FileInputStream.java:78)
W/fb4a(:<default>):BlueServiceQueue( 5362):     at com.facebook.http.protocol.DataStreamBody.a(DataStreamBody.java:25)
W/fb4a(:<default>):BlueServiceQueue( 5362):     at com.facebook.http.apache.entity.mime.HttpMultipart.a(HttpMultipart.java:207)
W/fb4a(:<default>):BlueServiceQueue( 5362):     at com.facebook.http.apache.entity.mime.HttpMultipart.a(HttpMultipart.java:225)
W/fb4a(:<default>):BlueServiceQueue( 5362):     at com.facebook.http.apache.entity.mime.MultipartEntity.writeTo(MultipartEntity.java:187)
W/fb4a(:<default>):BlueServiceQueue( 5362):     at com.facebook.http.entity.mime.MultipartEntityWithProgressListener.writeTo(MultipartEntityWithProgressListener.java:37)
W/fb4a(:<default>):BlueServiceQueue( 5362):     at org.apache.http.impl.entity.EntitySerializer.serialize(EntitySerializer.java:97)
W/fb4a(:<default>):BlueServiceQueue( 5362):     at org.apache.http.impl.AbstractHttpClientConnection.sendRequestEntity(AbstractHttpClientConnection.java:162)
W/fb4a(:<default>):BlueServiceQueue( 5362):     at org.apache.http.impl.conn.AbstractClientConnAdapter.sendRequestEntity(AbstractClientConnAdapter.java:272)
W/fb4a(:<default>):BlueServiceQueue( 5362):     at org.apache.http.protocol.HttpRequestExecutor.doSendRequest(HttpRequestExecutor.java:237)
W/fb4a(:<default>):BlueServiceQueue( 5362):     at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:119)
W/fb4a(:<default>):BlueServiceQueue( 5362):     at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:428)
W/fb4a(:<default>):BlueServiceQueue( 5362):     at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)
W/fb4a(:<default>):BlueServiceQueue( 5362):     at com.facebook.http.common.FbHttpClientImpl.execute(FbHttpClientImpl.java:176)
W/fb4a(:<default>):BlueServiceQueue( 5362):     at com.facebook.http.common.FbHttpClientImpl.execute(FbHttpClientImpl.java:158)
W/fb4a(:<default>):BlueServiceQueue( 5362):     at com.facebook.http.common.FbHttpClientRequestExecutor.a(FbHttpClientRequestExecutor.java:45)
W/fb4a(:<default>):BlueServiceQueue( 5362):     at com.facebook.http.executors.QeHttpRequestExecutor.a(QeHttpRequestExecutor.java:50)
W/fb4a(:<default>):BlueServiceQueue( 5362):     at com.facebook.http.common.RequestFlowStateController.a(RequestFlowStateController.java:67)
W/fb4a(:<default>):BlueServiceQueue( 5362):     at com.facebook.http.common.FbRedirectController.a(FbRedirectController.java:92)
W/fb4a(:<default>):BlueServiceQueue( 5362):     at com.facebook.http.common.FbHttpRequestProcessor.b(FbHttpRequestProcessor.java:160)
W/fb4a(:<default>):BlueServiceQueue( 5362):     at com.facebook.http.common.FbHttpRequestProcessor.a(FbHttpRequestProcessor.java:139)
W/fb4a(:<default>):BlueServiceQueue( 5362):     at com.facebook.http.common.FbHttpRequestProcessor.b(FbHttpRequestProcessor.java:103)
W/fb4a(:<default>):BlueServiceQueue( 5362):     at com.facebook.http.common.FbHttpRequestProcessor.a(FbHttpRequestProcessor.java:196)
W/fb4a(:<default>):BlueServiceQueue( 5362):     at com.facebook.http.protocol.SingleMethodRunnerImpl.a(SingleMethodRunnerImpl.java:374)
W/fb4a(:<default>):BlueServiceQueue( 5362):     at com.facebook.http.protocol.SingleMethodRunnerImpl.a(SingleMethodRunnerImpl.java:151)
W/fb4a(:<default>):BlueServiceQueue( 5362):     at com.facebook.http.protocol.AbstractSingleMethodRunner.a(AbstractSingleMethodRunner.java:26)
W/fb4a(:<default>):BlueServiceQueue( 5362):     at com.facebook.photos.upload.uploaders.MultiPhotoUploader.a(MultiPhotoUploader.java:468)
W/fb4a(:<default>):BlueServiceQueue( 5362):     at com.facebook.photos.upload.uploaders.Multi
D/ProgressBar(15522): setProgress = 0
D/ProgressBar(15522): setProgress = 0, fromUser = false
D/ProgressBar(15522): mProgress = 0mIndeterminate = false, mMin = 0, mMax = 100
D/Launcher(  803): onTrimMemory. Level: 60
D/Launcher(  803): releaseShadows called
D/STATUSBAR-StatusBarManagerService(  461): sendNotification(2) - -81159568
D/ProgressBar(15522): setProgress = 87
D/ProgressBar(15522): setProgress = 87, fromUser = false
D/ProgressBar(15522): mProgress = 0mIndeterminate = false, mMin = 0, mMax = 100
D/ProgressBar(15522): setProgressDrawable mProgressDrawable = null, d = android.graphics.drawable.LayerDrawable@44856a30needUpdate = false
D/ProgressBar(15522): setProgressDrawable drawableHeight = 7
D/ProgressBar(15522): setProgress = 0
D/ProgressBar(15522): setProgress = 0, fromUser = false
D/ProgressBar(15522): mProgress = 0mIndeterminate = false, mMin = 0, mMax = 100
D/SurfaceWidgetClient( 1067): [123491/10] SurfaceWidgetClient onTrimMemory level: 60
D/SurfaceWidgetClient( 1067): [123491/10] releasing widget instance (paused: true): 1
W/ThumbnailCache( 1667): Low Memory: Freed 0 textures from compression queue, 0 from write queue, 0 from the pinned list, 0 from the cache.
W/ThumbnailCache( 1667): Low Memory: Freed 0 textures from compression queue, 0 from write queue, 0 from the pinned list, 0 from the cache.
W/ManagedEGLContext( 1667): doTerminate failed: EGL count is 3 but managed count is 1
D/accuweather( 1067): [Accuweather_J_Tab]>>> WR:379 [0:0] releaseResources 
D/Launcher(  803): onTrimMemory. Level: 60
D/Launcher(  803): releaseShadows called
I/SurfaceFlinger(  486): id=823 Removed Uoast (6/6)
I/SurfaceFlinger(  486): id=823 Removed Uoast (-2/6)
D/PowerManagerService(  461): [api] [s] userActivity : event: 0 flags: 0 (uid: 1000 pid: 461)
D/PowerManagerService(  461): [api] release WakeLock flags=0x2000000a tag=WindowManager uid=1000 pid=461 (0x0)
D/PowerManagerService(  461): [api] applyWakeLockFlagsOnReleaseLocked : userActivityNoUpdateLocked is called : SCREEN_BRIGHT_WAKE_LOCK        'WindowManager' ON_AFTER_RELEASE (uid=1000, pid=461, ws={WorkSource: uids=[10117]}) (elapsedTime=3918)
D/STATUSBAR-NetworkController(15522): refreshSignalCluster: data=-1 bt=false
V/AlarmManager(  461): waitForAlarm result :4
V/AlarmManager(  461): trigger ELAPSED_REALTIME_WAKEUP or RTC_WAKEUP
D/SensorService(  461):   -0.7 5.8 7.7
D/STATUSBAR-NetworkController(15522): refreshSignalCluster: data=-1 bt=false

Bug? Installation with phonegap 3.0.0-0.14.3

Hi guys, I'm very happy that exist a plugin like this.
However I'm getting some error during the installation:

bedspax:www duccio$ phonegap -v
3.0.0-0.14.3
bedspax:www duccio$ phonegap local plugin add https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin.git
[phonegap] adding the plugin: https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin.git

/usr/local/lib/node_modules/phonegap/node_modules/cordova/node_modules/plugman/src/util/config-changes.js:364
throw new Error('grafting xml at s
^
Error: grafting xml at selector "widget" from "/Users/duccio/Sites/yo/platforms/android/res/xml/config.xml" during config install went bad :(
at /usr/local/lib/node_modules/phonegap/node_modules/cordova/node_modules/plugman/src/util/config-changes.js:364:51
at Array.forEach (native)
at /usr/local/lib/node_modules/phonegap/node_modules/cordova/node_modules/plugman/src/util/config-changes.js:331:63
at Array.forEach (native)
at /usr/local/lib/node_modules/phonegap/node_modules/cordova/node_modules/plugman/src/util/config-changes.js:315:45
at Array.forEach (native)
at Object.module.exports.add_plugin_changes (/usr/local/lib/node_modules/phonegap/node_modules/cordova/node_modules/plugman/src/util/config-changes.js:310:35)
at /usr/local/lib/node_modules/phonegap/node_modules/cordova/node_modules/plugman/src/util/config-changes.js:410:28
at Array.forEach (native)
at Object.module.exports.process (/usr/local/lib/node_modules/phonegap/node_modules/cordova/node_modules/plugman/src/util/config-changes.js:409:49)

Any ideas?

3.1 iOS, crashes

Just saw this plug-in, sounds awesome! Unfortunately, it crashes on iOS. I'm on Phonegap 3.1 and need to stay on it for the keyboard fixes for iOS7.

window.plugins.socialsharing.available(function(isAvailable) {
if (isAvailable) {
window.plugins.socialsharing.share('My text');
// .. (or like this):
}
});

2013-10-26 16:16:14.194 Hiyu[25593:a0b] *** Terminating app due to uncaught exception 'NSRangeException', reason: '-[**NSCFArray objectAtIndex:]: index (3) beyond bounds (3)'
* First throw call stack:
(
0 CoreFoundation 0x0012c5e4 __exceptionPreprocess + 180
1 libobjc.A.dylib 0x0244e8b6 objc_exception_throw + 44
2 CoreFoundation 0x0012c3bb +[NSException raise:format:] + 139
3 CoreFoundation 0x00121340 -[__NSCFArray objectAtIndex:] + 160
4 Hiyu 0x0005bc8f -[SocialSharing share:] + 463
5 Hiyu 0x0001d506 -[CDVCommandQueue execute:] + 902
6 Hiyu 0x0001cd19 -[CDVCommandQueue executePending] + 697
7 Hiyu 0x0001c859 -[CDVCommandQueue enqueCommandBatch:] + 153
8 Hiyu 0x0001ca06 -[CDVCommandQueue fetchCommandsFromJs] + 182
9 Hiyu 0x0001c91f -[CDVCommandQueue maybeFetchCommandsFromJs:] + 159
10 libobjc.A.dylib 0x0246081f -[NSObject performSelector:withObject:] + 70
11 Foundation 0x020a3c18 __NSThreadPerformPerform + 285
12 CoreFoundation 0x000b58af __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION
+ 15
13 CoreFoundation 0x000b523b __CFRunLoopDoSources0 + 235
14 CoreFoundation 0x000d230e __CFRunLoopRun + 910
15 CoreFoundation 0x000d1b33 CFRunLoopRunSpecific + 467
16 CoreFoundation 0x000d194b CFRunLoopRunInMode + 123
17 GraphicsServices 0x0389c9d7 GSEventRunModal + 192
18 GraphicsServices 0x0389c7fe GSEventRun + 104
19 UIKit 0x0039294b UIApplicationMain + 1225
20 Hiyu 0x00023b2c main + 92
21 libdyld.dylib 0x02c47725 start + 0
22 ??? 0x00000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)

ios7

I've tried the plugin in ios7 and the user can only share using the mail, message or twitter, there isn't the option of sharing using facebook or whatsapp. Is this being solved or is there any way to solve it?

Can't Share PDF files on IOS 7.0.4

Hi, I love the plugin, however I'm running into issues when I attempt to Share a PDF file.

The device I'm using is an iPad 3 running IOS 7.0.4. Using your sample project as a guide I can share an image, for example the following line of code will add 'test.jpg', to my email when choosing 'Mail' from the share options:

window.plugins.socialsharing.share('Here is your Image', 'test subject', 'www/test.jpg');

However, if I place demo.pdf in the exact same folder location as 'test.jpg', and use the following code, then the pdf will not appear on the Mail (the subject and email body will).

window.plugins.socialsharing.share('Here is your PDF', 'test subject', 'www/demo.pdf');

I've also tried using a PDF location on a remote website using its full URL (as per the documentation), and even encoding one as base 64, and no luck with those options either...

Thanks!

Link is never included. Image is included only a few times.

Hello, first of all congrats on the great plugin.

Unfortunately, no matter what I've tried I couldn't get it to include the link in Twitter or Facebook.
Also the image is included intermittently. Sometimes it is properly attached and some times it is not.

I'm using Phonegap 3.1 (not the build) / iOS 7 / iPhone 4 and iPhone 5.

data base64 not working

This is not working:

<button onclick="window.plugins.socialsharing.share('test', null, 'data:image/png;base64,R0lGODlhDAAMALMBAP8AAP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAUKAAEALAAAAAAMAAwAQAQZMMhJK7iY4p3nlZ8XgmNlnibXdVqolmhcRQA7', null)">base64 image only</button>

iphone4/ ios7
working fine with url/file image
without the "message" field, offers to save the image only, with "message" the image get's lost in translation.
Thanks

Phonegap Build (3.1.0) on iOS, window.plugins.socialsharing is undefined

I have a Phonegap build application that uses the social sharing plugin. The android build works fine, iOS (7) does not work. (the whole object does not exist in the DOM)

included the latest version in config.xml
<gap:plugin name="nl.x-services.plugins.socialsharing" />

included the js reference on the index after including phonegap.js
<script src="js/plugins/SocialSharing.js"></script>

logging the window.plugins.socialsharing gives undefined on iOS and the right object on Android

Automatically Run Specific App

Hi,

Is it possible to automatically run app for sharing whenever window.plugins.socialsharing.share() is called? For instance, I would only want to call Facebook everytime. Because currently, Android still lets me choose what app to run to share.

Does this work with Cordova?

I know this says it's a phonegap plugin but will it work for Cordova too? It doesn't seem to for me.

I am using netbeans which uses Cordova!

Thank you.

Query available share providers/check if a specific provider available

First i must thank you and say its a great plugin.

I'm missing the ability to check if a specific share provider available (before actually trying to share with it) so i can modify the app's UI
or even get a list of the available share providers

I believe i can write the java code for that(most of the code is already there), but not the objective c.

Also do you think there is a way to integrate that android share UI with the plugin?
http://developer.android.com/images/ui/actionbar-shareaction.png
http://developer.android.com/training/sharing/shareaction.html

Android: facebook share does't work

Now on my Android 4.4.2 and 2.3.7 devices is possible to share only a local image via facebook. I did try all your sample commands and these don’t work for sharing via facebook. Twitter/email/etc. shares work fine.

Sharing inside a Camera callback

My first attempt at using the plugin worked easily. I then switched to using it inside a Camera callback, like so:

    navigator.camera.getPicture(function(file) {
        console.log('um....');
        window.plugins.socialsharing.share(null, null, file);
        console.log('222um....');
    },function(err) {
        console.log("poo ",err);
    }, {
        quality:75,
        destinationType:Camera.DestinationType.FILE_URI,
        sourceType:source
    });

And it doesn't work. Nor do I get any type of error. It just does... nothing. Any ideas?

Callbacks

Hello,

I am using the plugin and have the following code in my JS.

window.plugins.socialsharing.share(message, null, image, url,
    function(d) {
      console.log(d);
    }, function(e) {
      console.log(e);
    });

In my iOS I have removed all of the UIActivities that I do not want. That is working fine, but I am not seeing my callbacks (or perhaps I am expecting something different).

I was hoping to be able to detect HOW the user has shared the post, be it to Facebook, Twitter, etc.

Is this possible? I have just updated to the most recent version of the plugin, using Cordova 3.2.0

Thanks,

--d

No facebook / twitter icons

I followed the steps mentioned in the documentation and the plugin works with Cordova 3.1 on IOS 6.

I only see the mail icon. The facebook and twitter icons are not available. Am I missing something?

Cordova 3.3.0 throws an error

02-23 13:32:46.663: E/Web Console(21344): Uncaught TypeError: Converting circular structure to JSON at file:///android_asset/www/cordova.js:904

That's the error I've when trying to use this plugin. Others plugins are working just fine.

Android share with "always" or "just now"

Hi.
In my android the plugin show a window with all the app to share with. At the bottom there are two button "always" and "just now".
The problem should be that the button "always" bind the share action to the application.
There is a way to open the share windows without these buttons?

Thank you

iOS: sharing on Facebook with link does not work

Well, I can post on Facebook when using sth. like "My text with a link: http://domain.com", but Facebook doesn't fetch the link and does fancy stuff with it (display title and image). Works on Android though.

Is there anything you can change about the way Facebook handles links within text on iOS?

Thanks!

the application quits after sharing

Hi! I'm using your plugin in my application on Cordova 3.20 and:

after sharing something on facebook the application quits
after sharing something on twitter it stays in twitter instead of going back to my app

moreover, if i try to re enter in my application i get an error.
Do you have any idea on this issue?
Thank you!

Facebook iOs7 doesn't appear

Hi!
I used this plugin with Android and it works very well, but on iOs 7, Facebook doesn't appear on the share panel, why?

Thx!

Link and Message not post on facebook

I am using phonegap build. I am facing following issue:
I am not able to sent message and link via this plugin
I have used message and link
When i click on button it shows popup box of various social sharing app. I had selected
facebook app. it did no shows any predefine message or link in post area.

Please help..
Thanks in Advance

TypeError: 'undefined' is not an object

I'm getting this error when trying to implement this plugin on iOS6+ using build.phonegap. Here is what I have:

config.xml

<gap:plugin name="nl.x-services.plugins.socialsharing"/>

index.html

function share(){
window.plugins.socialsharing.share('message',null,'image');
}

I'm sure it's something obvious but for some reason I just can't get it to work :(

some issues with Android and iOS

Android 4.03,HTC Sensational XL
Android 4.11,ASUS Transformer Pad
iOS 7.04,Ipad mini

When I use this method in Android and iOS

this is method 1

window.plugins.socialsharing.share('content', 'subject', 'https://www.google.com/images/srpr/logo4w.png', null);

this is method 2

if(navigator.userAgent.match(/(Android)/g)) { var keywords = "com.facebook.katana"; }
if(navigator.userAgent.match(/(iPad|iPhone|iPod)/g)) { var keywords = "fb://"; }
window.plugins.socialsharing.shareVia(keywords, 'content', null, null, 'https://www.google.com/images/srpr/logo4w.png', alert('su'), function(msg) { alert('nok: ' + msg); });

Android method 1 (the pic look like normal,and when I press the back button,it will show the confirm window)
http://www.littlebau.com/social/01.jpg
http://www.littlebau.com/social/back.jpg

Android method 2 (the pic had been Widening,and when I press the back button,it will not show the confirm window,I know it could be Android Facebook app problem,but how to as same as method 1 ?)
http://www.littlebau.com/social/02.jpg

ios method 1 (can't see the facebook app,so I can't do other testing...)
http://www.littlebau.com/social/ios.png

ios method 2 (it will alert "nok:not supported")

Finally,please look at the Android method 1 and method 2 facebook's pic
http://www.littlebau.com/social/fb.gif

Android screenshot

Hi,
I think an Android screenshot is necessary in the readme.

Just because "pic or it did not happen" :)

Best regards

Cannot invoke ShareDialog with iFrame

If the SRC of iFrame contain any value, the Share Dialog cannot display.

If the sharing content does not contain iFrame or contains iframe with SRC = empty or null - The Share Dialog display perfectly.

share via sms?

Hi,
Is it possible to directly open the sms dialog? same as shareViaWhatsApp, only shareViaSMS?

Thanks,
Doron

Confusion with the link not being included in Twitter Preview.

When I want to share a link in Twitter via this plugin, in the preview of what I'm about to share, the link is hidden. I can see the image and the message but the link is not visible. This is fine for me, because I'm the developer and I know that the link is safely included, but...
...this is quite confusing for the end user because even though the link is already included, they won't be able to see the link (not until they have already shared the tweet) and in some cases they will try to add a link on their own, disregarding that there is already a link included.

So is it possible to add the link in the preview of Twitter share as part of the message (at the end of the message)?

Share message on Android

Hi Eddy,

Why is not possible to share a message or text in Android? When you do share is essential to share text, especially on Facebook. What are the alternatives to solve this? What plans are there to add this functionality?

Thanks in advance,
Alejandro

issue with Facebook and twitter sharing on iOS7

I implemented this. I’m using cordova (phonegap) 3.0.

It works good in iOS6.

In iOS7 the sharing view is not showing the Facebook and twitter icon. If I try to share directly with Facebook, for example:

<button onclick="window.plugins.socialsharing.shareViaFacebook('Message via Facebook', null, null, console.log('share ok'), function(errormsg){alert(errormsg)})">msg via Facebook (with errcallback)</button>

I get back the message error that “is not available”. I’m guessing from this part of the code of the socialsharing.m class:
(void)share:(CDVInvokedUrlCommand*)command {

if (!NSClassFromString(@”UIActivityViewController”)) {
CDVPluginResult * pluginResult = [CDVPluginResult resultWithStatus:CDVCommandStatus_ERROR messageAsString:@"not available"];

Has anyone experience this issue with iOS7 implementation of this component and the Facebook and twitter sharing functionality?

Base64 file parameter

I would like to suggest the attachment of the base64 encoded files directly as a parameter. It might be useful when the file to attach and share is the canvas content.

Does this work with Pinterest?

Never know where to ask these questions. Github needs a question forum. Also looks like you just added the ability to share directly with out the middleman dialog. That's exactly what I was looking for.

Android 4.4.2 Kitkat and Android 4.3 JellyBean

Dont work the plugin in these platforms. You know why? the Log displayed me on Eclipse is this:

Failed to ensure directory: /storage/sdcard/Android/data/como.example.socialsharing/files

Unable to find application to perform this function

Thanks for a great plugin!

Manual install of plugin for phonegap 3.3, this is a local build for Android.
Testing on Galaxy S4 and Nook HD Plus.
Facebook app is installed on both devices, and appears in the share window.

The following works just fine:

       window.plugins.socialsharing.share('Message and image', null, 'https://www.google.nl/images/srpr/logo4w.png', null);

However if I try to invoke facebook only with:

   window.plugins.socialsharing.shareViaFacebook('Message via Facebook', null, null, console.log('share ok'), function(errormsg){alert(errormsg)});

OR

       window.plugins.socialsharing.shareVia('facebook', 'Message via FB', null, null, null, console.log('share ok'), function(msg) {alert('nok: ' + msg)})

I get the native sharing window showing (with heading 'Choose an action') with the message: Unable to find application to perform this action.

Any ideas?

Use of undeclared identifier '_tempStoredFile' in SocialSharing.m

When I try to build my project I get the following error:

The following build commands failed:
 CompileC build/App.build/Debug-iphonesimulator/App.build/Objects-normal/i386/SocialSharing.o App/Plugins/nl.x-services.plugins.socialsharing/SocialSharing.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)

It seems that the problem is Use of undeclared identifier '_tempStoredFile' here

I believe this to have been introduced recently, because my app built fine on Friday.

Thanks

Problem on iOS

I have a problem with the SocialSharing plugin on iOS.

In config.xml I have added the line:

<gap:plugin name="nl.x-services.plugins.socialsharing" version="2.1" />

In the index.html I have added:

<script type="text/javascript" src="SocialSharing.js"></script>

When I call the following line, I get true (the share function is available):

typeof window.plugins.socialsharing.share == 'function'

When I call this one, nothing happens:

window.plugins.socialsharing.share('My text');

I have tested it on iOS 6 as well as iOS 7. I have also tested it with the success and error callback, but I did not get any message:

window.plugins.socialsharing.share('text', 'title', '', function() {alert('success')}, function(msg) {alert('error: ' + msg)}); 

By the way I'm using PhoneGap 2.7.0 in my project.

Can you tell me what I'm doing wrong? Thank you very much in advance.
Thomas

[IOS] ERROR: Method 'share:' not defined in Plugin 'SocialSharing'

Hello,
I'm trying to use this plugin into my iOS app built with PhoneGap 3.1.0, I installed the plugin using the automatic installation.

When I try to share a content using a method like this:

window.plugins.socialsharing.share('Message, subject, image and link', 'The subject', 'https://www.google.nl/images/srpr/logo4w.png', 'http://www.x-services.nl')

into the console I see this:

<Warning>: ERROR: Method 'share:' not defined in Plugin 'SocialSharing'
<Warning>: -[CDVCommandQueue executePending] [Line 117] FAILED pluginJSON = ["http:\/\/www.x-services.nl"

and obviously I can't share anything.

any ideas?
thank you :)

The default content question

I am using PGB 3.3 with 3.8.1 plugin
when I use this method

window.plugins.socialsharing.shareVia('facebook', 'Message via FB', null, null, null, console.log('share ok'), function(msg) {alert('nok: ' + msg)})

window.plugins.socialsharing.share(....)

the default content "Message via FB"
in Android 4.0.3,the default word can't appear
http://www.littlebau.com/social2/android.png
in iOS 7.0.6,the default word appear
http://www.littlebau.com/social2/ios.png

is it a native Facebook app limit by Android and iOS?

Tweeting a base64 image

I'm trying to achieving tweeting a screenshot of the app page. I.e. let someone share a snapshot of the html on the page. I've managed to work out the first bit by generating a canvas of some html, converting the canvas to an image.

I just need to attach that image to the tweet.

Do you think this is achievable?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.