Hi Everyone,
Thank you for the comments and ideas relating to the implementation of the Multipeer framework for local messages - definite food for thought…
Version 3.4 of Mesh Developers Toolkit is now available in the iTunes App Store.
This has a number of stability improvements when using Multipeer to communicate with other iOS devices.
A new preference “Multipeer Key” has been added.
This allows you to set a unique key to ensure that only devices with the same key appear in your list of devices and shouts will also only go to iOS devices with the same key.
If the preference is left blank you will see all devices running Mesh Developers Toolkit which don’t have a key set.
Although it should be noted that due to the restrictions on the length and encoding of the service name a long key will be truncated, this is to prevent a crash I identified if an incorrect encoding or too long key is used.
You can now share any messages received over a Multipeer connection by swiping left on the message in the “Messages” tab and selecting “Share” which will then allow you to share the message using iOS share panel.
You cannot share to a Mutlipeer connection using the iOS share panel as Apple’s Multipeer framework does not remain active when the App is in the background (and you cannot use it in a Share Extension!) but you can still share over the goTenna connection.