[Bug/Missing Feature] Pythonista is missing from AirDrop
When I try to AirDrop a file to Pythonista from my phone, Pythonista does not show up in the app picker. AirDrop would be a great way to quickly share scripts between my devices. I notice that editorial does support AirDrop.
omz last edited by
This is because Pythonista doesn't support the "Open in..." menu. I had to remove this in version 1.5 to comply with Apple's review guidelines (in short: programming apps aren't allowed to import executable code from external sources). The app would otherwise have been removed from the App Store.
Huh. I thought Apple removed this restriction as part of App Extensions in iOS 8. I do remember the Open In being removed a while back though. I guess the app extension is something different.
I'm assuming Coda only gets to have airdrop support because it doesn't execute code locally?
cook last edited by
@Webmaster4o I just read this because it was linked from another post.
I also had the idea that it'd be easy to share.
It is possible to do... you have to share an url that uses the pythonista url scheme. If you have a script on the receiving device to open you just utilize the sys args.
When you send an url over airdrop, the receiving device opens it right away (no menu). So... your receiving script can just take the sent script (from sys args) and create a new file, for example.
liberty last edited by
Now that Swift Playgrounds support Airdrop, it might be worthwhile to check whether Apple will allow it again