Zom-iOS-XMPP icon indicating copy to clipboard operation
Zom-iOS-XMPP copied to clipboard

Share content (photo, audio mesage) from photostream or messages through AirDrop

Open n8fr8 opened this issue 6 years ago • 3 comments

We need to make nearby sharing of content received in Zom work more directly.

This API looks good!

https://developer.apple.com/library/content/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/Inter-AppCommunication/Inter-AppCommunication.html

n8fr8 avatar Mar 22 '18 16:03 n8fr8

@N-Pex: Could you give me some starting points, where to hook this into?

tladesignz avatar Apr 12 '18 14:04 tladesignz

@tladesignz From our meeting today it sounds like you should add a button in ZomPhotoOverlayView.xib and handle it in ZomPhotoOverlayView.swift.

N-Pex avatar Apr 18 '18 20:04 N-Pex

In testing this today, I am seeing a few different behaviors!

Sharing from Photostream:

  • It seems you can share content through AirDrop from the Photostream.

Sharing a photo from group chat:

  • If you share a photo from group chat through AirDrop it works.
  • If you share an audio message from group chat through AirDrop the audio is sent, but when you open the file you get a 404 error.
  • If however, you send an audio file (like a song) from group chat through AirDrop the audio is sent, you can open it and play it!

Sharing from one-to-one chat (messages):

  • If you tap on an audio to share you don't get an option to share through AirDrop.
  • If you tap on a photo to share you see AirDrop, choose AirDrop and it shows it's working, but no photo is actually sent.

@tladesignz I'd like to know what work you've done here, so I know what should and shouldn't be working. Let's check in on this ticket.

Device: iPhone 7 OS: 11.2.2 App version: build 133

tiffrobo avatar Jun 20 '18 16:06 tiffrobo