Zom-iOS-XMPP
Zom-iOS-XMPP copied to clipboard
Share content (photo, audio mesage) from photostream or messages through AirDrop
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
@N-Pex: Could you give me some starting points, where to hook this into?
@tladesignz From our meeting today it sounds like you should add a button in ZomPhotoOverlayView.xib and handle it in ZomPhotoOverlayView.swift.
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