Hi David,
Yes, I did have this working on iOS.
... unfortunately that's all I've got to offer!
It's a couple of years since I worked on this project, and it was an internal
app only - not distributed to the app store.
I'm actually currently disbarred from testing apps on iOS - my current
profile/certificate/whatever expired last month and I had a couple of goes at
the whole dance, but failed, and since it was only for a fun personal app I
haven't had time to get back to it.
I can tell you it should work (or at least used to). My app appeared in the
list of destinations for sharing, and IIRC I had it tuned to accept either
text files or mp3 audio, and that worked as well.
Is your issue that the app doesn't launch at all; or doesn't appear as a
sharing destination; or does both those things but doesn't respond when
something is shared to it?
Ben
On 02/09/2020 15:59, David Bovill wrote:
I’m still having no joy figuring our how to make a sharing extension for a
Livecode app. Has anyone ever done this?
On 25 Jun 2020, 21:05 +0100, David Bovill <david.bov...@gmail.com>, wrote:
Having another go at creating an iOS Share extension in Livecode.
Ben I had a go with the code snippets you supplied, but I’m not getting my
app appearing in the list of apps available to share. I had a bit of a goose
around and tried a bunch of options for the info.plist file without result -
well in fact I’m getting the app launching with a black screen and then
crashing if I use the following style recipe:
<key>NSExtension</key>
<dict>
<key>NSExtensionAttributes</key>
<dict>
<key>NSExtensionActivationRule</key>
<string>TRUEPREDICATE</string>
</dict>
<key>NSExtensionMainStoryboard</key>
<string>MainInterface</string>
<key>NSExtensionPointIdentifier</key>
<string>com.apple.share-services</string>
</dict>
This type of plist addition:
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeName</key>
<string>Sound Garden</string>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>LSItemContentTypes</key>
<array>
<string>public.plain-text</string>
</array>
<key>LSHandlerRank</key>
<string>Alternate</string>
</dict>
<dict>
<key>CFBundleTypeName</key>
<string>Audio</string>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>LSItemContentTypes</key>
<array>
<string>public.audio</string>
</array>
<key>LSHandlerRank</key>
<string>Alternate</string>
</dict>
</array>
Does not crash the app - but appears to do nothing? The following lesson
appears related -
http://lessons.livecode.com/m/4069/l/1069016-associating-a-file-type-file-extension-with-an-lc-ios-app and
I note there are / were issues with iPhone X and this lesson.
My basic question is how do I get an iOS app to work with as an iOS sharing
extension such that in any app (say a web browser) where I select the share
icon I can use my Livecode app as something that handles the share?
On 20 Nov 2018, 18:40 +0000, Ben Rubinstein via use-livecode
<use-livecode@lists.runrev.com>, wrote:
You need to do two things:
- add code in your app to handle the "urlWakeUp" message, see the dictionary
entry and
http://lessons.livecode.com/m/4069/l/58672-using-custom-url-schemes
- add entries in the app's plist to tell the operating system what file types
your app can handle, see
https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html#//apple_ref/doc/uid/20001431-101685
The latter is the bit you need to do for iOS - not sure what the Android
equivalent is.
On 19/11/2018 20:35, David Bovill via use-livecode wrote:
How could I create the ability for Livecode mobile apps - say iOS but
ideally also on Android) to add the ability for other apps to share to them?
-
https://developer.apple.com/library/archive/documentation/General/Conceptual/ExtensibilityPG/Share.html
I can't find any thread here or in the forums?
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode