sebastianst / Snapshare

Share arbitrary images via Snapchat. This is an Xposed framework module.
Other
14 stars 10 forks source link

After the last Snapchat update, I can no longer use Snapshare (Galaxy S4) #5

Closed spyder91 closed 11 years ago

spyder91 commented 11 years ago

Attempting to send an image via Snapshare now opens Snapchat, but it does not load the image into the application.

Here is a logcat example:

08-16 14:53:44.869 W/ActivityManager(32645): mDVFSHelper.acquire() 08-16 14:53:47.862 W/ActivityManager(32645): mDVFSHelper.release() 08-16 14:53:59.003 W/ActivityManager(32645): mDVFSHelper.acquire() 08-16 14:53:59.153 D/Snapshare(32450): Received Media share of type image/* 08-16 14:53:59.153 D/Snapshare(32450): and URI content://media/external/images/m edia/4090 08-16 14:53:59.153 D/Snapshare(32450): Calling hooked Snapchat with same Intent.

08-16 14:53:59.203 W/ActivityManager(32645): mDVFSHelper.acquire() 08-16 14:53:59.273 D/Snapshare(24023): intent type: image/*, intent action:andro id.intent.action.SEND 08-16 14:53:59.383 D/Snapshare(24023): Original image w x h: 475 x 800 08-16 14:53:59.383 D/Snapshare(24023): Display metrics w x h: 1080 x 1920 08-16 14:53:59.383 D/Snapshare(24023): Large image? false 08-16 14:53:59.383 D/Snapshare(24023): New width after cropping left & right: 45 0 08-16 14:54:00.825 W/ActivityManager(32645): mDVFSHelper.release() 08-16 14:54:04.178 W/ActivityManager(32645): mDVFSHelper.acquire() 08-16 14:54:05.189 W/ActivityManager(32645): mDVFSHelper.release()

neoman4426 commented 11 years ago

Galaxy S, Captivate variant running SlimBean 4.3 ROM. Can confirm, rolling back to the previous version causes it to work again. Logcat launched as specified in the README started as soon as I press the share button and cut off when I see the viewfinder attached. http://paste.ubuntu.com/5995467/

sebastianst commented 11 years ago

Thanks guys! The Snapchat update for my nexus 4 was just released, I'll have a look at the smali code ASAP for what they have changed... That'll hopefully be on Sunday evening or Monday.

neoman4426 commented 11 years ago

Tried the compiled binary update posted on the bintray site, issue resolved for me.

sebastianst commented 11 years ago

Yeah, it's fixed! But I haven't properly committed and pushed the changes yet.

spyder91 commented 11 years ago

Confirmed fixed for me as well, thanks!

sebastianst commented 11 years ago

fixed with 25f062af28ee0e7cc5aba73a5f14a7346d6489f3 close.

Hopefullyworking commented 10 years ago

I can't use snapshare on samsung galaxy ace S5830i..help?

sebastianst commented 10 years ago

As of version 4.0.21, the snapchat developers started to use proguard, so there won't be any more updates from my side. I don't wanna browse through thousands of classes named a,b,c and guess the right methods ;)

neoman4426 commented 10 years ago

Would require a completely different method, and I don't know if it could work with video, but rather than interacting with Snapchat at all would it be possible to hijack the camera feed for like 30 seconds after the share button in the gallery is pushed so anything that tried to access the camera would get the shared image? Would likely be quite a bit more work initially but much harder to break if possible.

sebastianst commented 10 years ago

Good idea! This would actually lead to a new app, a camera hijacking app so to speak, which could be used with any app that directly uses the camera hardware. And instead of setting a time, one could show a notification in the notification bar with a toggle.

neoman4426 commented 10 years ago

Figured it'd be a new app since it'd have wider use than this one, though the primary one would still likely be this. Can't think of any other places you can only use the camera, closest I can think of is things like Kik where you can share from the gallery but it'll say if it's gallery or camera. Could easily be others I'm not aware of though. Good idea about the notification, I was thinking like an adjustable timer or something, but yeah manually dismissing sounds much better.

==EDIT== oh, just thought of one. The main barcode scanner people use doesn't have an option to read from a saved image from what I know, that could be another decent use case