I am creating an iMessage extension. When the user sends the sticker from my app in iMessage it(sticker) becomes available as an attachment(i button in iMessage conversation -> Images section). I do not want users to be able to download a sent sticker.
I have tried different ways to send a sticker:
iMessage app using StickerView
Send a sticker with MSConversation.insert using MSMessages, MSStickers, Attachments. Only MSMessages don't allow the users to downloaded the sticker.
But I also need to be able to send a gif(it is not possible using MSMessages.MSMessagesTempletaLayout).
I have seen that the gifs without ability to download them work in Crossy Road iMessage extension so it is possible
Please give me some advise how can I do that?
As I told since I’m using MSConversation I cannot use MSStickerView. While investigating the issue I have tried all possible ways to send this gif via MSConversation, but they didn’t work. The gif was sent but it was available to download.
The answer:
I was really shocked and disappointed when found the problem.
All the time I was using simulator to test this. When I launched the app on my device - it worked! Have no idea why Apple made the stickers available to download in simulator. So actually the answer is - Test iMessage Apps only on a device.
P.S. It doesn’t look like a real answer but I hope it will be helpful for someone
Related
knowing that the review process for apps seems to be rather rigid to some extend I would like to ask if there are any special requrements for an app that is targeted to work with certain Midi interfaces only. The particular reason I ask is that this app can not really be tested when not connected to such an interface. Thanks
There is no specific rule regarding this.
App Store Review Guidelines
To be on the safe side, describe this when submitting the app, there is a text field to add a message to the reviewers.
In the meanwhile I submitted my app and it got rejected in the first phase because I did not include a demo video. So after I created one and put it on YouTube, provided Apple with the link, everything went well.
So as a definite advice not to loose time until Apple comes back after a week or two to just tell you to provide a video - include it right from the beginning....
I'm building a web-application where users can upload their images. What I know is that it's "impossible" to do a file upload from an iPhone. Is it possible to achieve the same thing by letting the users e-mail their images to an adress on the same domain and the upload from there?
It's not impossible, but you will need to write some code to do so and get it deployed on the app store. If you google for something like iphone http fille upload you'll come across loads of code examples.
It's quite possible there is already an app to upload to arbitrary web hosts, I've never looked.
Why not go with an MMS online supplier with an api? and then get the image from the api.
http://www.routomessaging.com/sms/sweden.php
If not then you could probably do what you want with an open mail client and some rules, or you could build a simple mailserver from one of the libraries on the web, should not be too hard...
I'm pretty sure that due to the Application Sandbox, none of this is possible, but...
I am working on an application that operates on text that the user inputs. Aside from forcing the user to copy and paste from another application or type in text, what other options exist for getting text? To be more specific:
Is there any way to get the user to "pass" an email to my app? I can imagine a hacky solution where I have the user mail it to a server on the Net, and then I expose the mail from a server-side application, but I'd like something a bit more direct.
Is there any way to get to the user's mail inbox without asking them to put in their credentials?
Is there any way to plug-in to Safari, so that I can send web pages "over" to the app? I don't mean a full plugin, which I know is impossible.
I'm trying to think of creative ways to solve this problem of how to get text into my app, so any ideas would help.
From the Iphone SDK Forum: "Apps can't read each others files - but you could use a URL scheme to launch one app from another. Any parameters in the URL would be passed."
It's what my gut was telling me, but i wanted to go verify before saying..officially, no. The Sandbox isolates each program..
You can pass via URL text strings, but that's about it. I haven't seen any app which hacks around this limitation, but that just may be none of them surviving the app submission process.
http://www.iphonedevsdk.com/forum/iphone-sdk-development/21099-sharing-data-between-applications.html
I'm trying to implement an app that can read received SMS and email out. I mean convert the text content to voice. So I need to access to SMS and email first. As far as I know, there is no such API provided in the default SDK. Is there any other way to realize it?
Are the SMS messages stored in database(sms.db)? How to access to them? Is it only possible on jailbroken iphones?
And what about emails? Are they only stored in mail servers? How can I get them in my app?
Sorry for asking so many questions. I have spent many days on this problem, but havn't found any solutions...
You can't. According to the Device Features Programming Guide: Sending an SMS Message:
In iPhone OS 4.0 and later, you can send text messages from within your application. This feature is strictly for sending messages. Incoming SMS messages go to the built-in Messages app.
There are serious privacy and security concerns with enabling app access to emails and SMS, and I am glad Apple choose not to do it.
Yes, you can, (at least with SMS) but only in a jailbreak app (which you suggest is ok in your comments).
The sms.db file can be read by apps that aren't sandboxed.
See my answer to a similar question for how to get SMS content. That answer just shows how to get the most recent SMS, but if you just use the commented out while loop, you can iterate through all SMS.
i have implemening image sharing functionality in my application.
I have implemented email sharing functionality but i dont know MMS functionality.Please advice me how to implement MMS functionality.
It's impossible with current API.
I've seen a workaround in SMS-box application: it copies text and image to clipboard and then asks user to paste it in standard sms app.
You can see it in http://www.youtube.com/watch?v=M2gY5w1QUnY (from 2:15)