Messages

RSS for tag

Create app extensions that lets users send text, stickers, media files, and interactive messages using Messages.

Messages Documentation

Posts under Messages tag

81 Posts
Sort by:
Post not yet marked as solved
6 Replies
2.9k Views
Greetings,I've been struggling some time with this issue. I have this App which I'm developing a Messages App Extension. App works fine but I can't debug it. I can add NSLog sentences to check for workflow but when I try to add a breakpoint it won't stop there, even if the NSLog nearby is triggered (i.e. It doesn't stop on a breakpoint in viewDidLoad from my MSMessagesAppViewController subclass). I've tried to create a project from scratch and it works fine. It's just with this project (created from XCode 7) that I'm not able to hit any breakpoint. I've tried deleting the extension and recreating a new one with no success. When I try to debug the App target It works just fine, it's this extension target I cannot reach any breakpointAny ideas?
Posted
by
Post marked as solved
11 Replies
7.8k Views
Anyone see something like this on app submission?We are developing an iMessage app with SpriteKit. The message we received from App Review was:"We were unable to install the app on iPhone. The UIRequiredDeviceCapabilities key in the Info.plist is set in such a way that the app will not install on an iPhone. Specifically, the app fails to appear in Messages."We are not having any issues on test devices on our end.Our app plist contains only one UIRequiredDeviceCapabilities key: "armv7"The extension does not include any UIRequiredDeviceCapabilities.
Posted
by
Post not yet marked as solved
26 Replies
60k Views
Hi Team,We are facing an issue with iMessage app on iOS versions greater than 10.2.Sometimes, URL links in received messages are not clickable. Since it's hampering our business, we request you to look into the reported issue and suggest us with a possible solution or workaround.Scenario: In the first message, URL was not detected as hyperlink while receiving the same message second time from same sender did make the URL underlined and clickable.Thank you!
Posted
by
Post not yet marked as solved
4 Replies
2.7k Views
Hello,My name is Dylan and I made some animated stickers in Motion following these instructions: https://developer.apple.com/support/stickers/motion/.At first I made medium sized stickers but I got a warning message that "The sticker sequence "SEQUENCE NAME" cannot be larger than 512000 bytes, but it's XXXXXX bytes."I changed to small size and one sticker sequence is fine (SA) while the other (SB) still generates the same error as above.In SA, the individual files are 266 KB each and in SB they are 230 KB each.Any ideas why one sequence works while the other does not?
Posted
by
Post not yet marked as solved
2 Replies
3.1k Views
This code sends a text message from the command line on run {targetBuddyPhone, targetMessage}   tell application "Messages"     set targetService to 1st service whose service type = SMS      set targetBuddy to buddy targetBuddyPhone of targetService     send targetMessage to targetBuddy   end tell end run  And this code sends an iMessage from the command line on run {targetBuddyPhone, targetMessage}   tell application "Messages"     set targetService to 1st service whose service type = iMessage     set targetBuddy to buddy targetBuddyPhone of targetService     send targetMessage to targetBuddy   end tell end run  I’m looking for a solution to combine this code into a single snippet that will try to send an iMessage if the recipient has iMessages, but if they do not, then the code will send a SMS message.
Posted
by
Post not yet marked as solved
2 Replies
2.0k Views
I would like to perform certain actions when I receive messages from the Bank. There is an option in shortcuts to run the automation when receiving messages from certain contacts. The problem is that I can't store the bank in my contacts as they do not have a phone number or something. I want to achieve this goal in any possible way. What I have tried is to store - their contact - in my contacts so that I will be able to set up the automation. When I tried to store iPhone just shows me the prompt to create a contact with NO values whatsoever. SO it will just be an empty contact. Any ideas how on how I can achieve that?
Posted
by
Post not yet marked as solved
1 Replies
1.4k Views
Does apple expose any apis to manipulate a Memoji programatically? I find Apple's way of creating memojis extremely unpleasant to use - and would like to create an alternative. So I'd essentially be looking at some way of listing the parameters available (eye colour, hair style etc) - listing the set of choices for each parameter, and producing a Memoji from a set of parameters. (And for extra credit, taking a picture of said memoji, or reading an existing emoji as a set of parameters). Thanks, Darren
Posted
by
Post not yet marked as solved
1 Replies
803 Views
We have been having problems with our app clip not working when sharing through iMessage. The app and app clip are published and work correctly when scanning a QR code that points to the URL: https://www.coderus.com/locations?loc=1 however if this same URL is shared through the iMessage app, a link to the website displays and not the app clip card. We have confirmed that: AASA file is available and has the type application/json Both devices are above iOS 14 Both devices are in each other's contacts The website has the meta tag for the smart app clip banner The website has a meta tag for the og:image Launch experiences have been configured on AppStoreConnect - as said before, the QR codes work correctly The link leads to a 404 page, I wasn't sure if there needs to be an actual page that the link points to as app clips seem to work fine without when scanning the QR code through the camera app.
Post not yet marked as solved
2 Replies
1.2k Views
I am putting a stand-alone iMessage extension sticker pack together and can't seem to get my icons to display when I run on my physical device. I have followed every thread and ran the gamut on the different solutions. I am still lost with this one and need some help. I am attaching some screenshots of how they display on my physical devices. My code runs great and I do not get any build errors. to my knowledge (and I'm a newbie): All icon assets have been correctly sized and attributed to the correct targets Target memberships have been correctly attributed as well From the Info.plist I have deleted the CFBundleicons~ipad and Icon files (iOS 5) as per recommendations from previous solutions. (I tried running with and without these auto attributional add ons) deleted or not, still doesn't solve the issues. Thanks in advance, hopefully, it helps me and others in the future :) Ps. I didn't want to flood the post with too many screenshots, but if there is anything you need to see to help me solve this one, let me know and I'll try to follow up.
Posted
by
Post not yet marked as solved
1 Replies
692 Views
Hello everyone, I am currently developing an iMessage app extension using SwiftUI, and I'm experiencing a crash after successfully inserting text into the conversation. I've checked the console, and it prints "Text inserted successfully" before the crash occurs. However, I cannot find the cause of the crash, and I would appreciate any help in identifying and resolving the issue. Here's the relevant code snippet for inserting text into the conversation: private func insertMessage(withText text: String) { self.activeConversation?.insertText(text, completionHandler: { error in if let error = error { print("Error inserting text: \(error)") } else { print("Text inserted successfully") } }) } Additionally I am getting a crash report which I will attach bellow: crash report If anyone has encountered a similar issue or has any suggestions, please let me know. Thank you in advance for your help!
Posted
by
Post not yet marked as solved
1 Replies
702 Views
Using quicktime play mp4 file, an error occurred and the document "XX. mp4" could not be opened. An unknown error occurred (-12842), and with Safari browser, only the first keyframe can be played and the video will become stuck. Both Chrome and Firefox can play [normally]
Posted
by
Post not yet marked as solved
2 Replies
688 Views
I have an iOS App with an iMessages extension Since upgrading to Xcode 14.3 and iOS 16.4.1 the icon set for the messages extension does not appear on the device; instead showing the no icon placeholder The icons still appear on the simulator, it seems to be just physical devices When I create a new iMessage extension project and use the exact same image assets configured in the same way, the icons appear fine I've noticed a few funny things happening since upgrading to Xcode 14.3, so my best guess is that it's doing something funky behind the scenes. Has anyone experienced something similar / know the root cause for this issue? Note: I've included a reference to both Xcode 14.3 and iOS 16.4.1 as both upgrades happened at the same time so I don't know which, if any are responsible for the issue I'm experiencing.
Posted
by
Post not yet marked as solved
1 Replies
340 Views
My company is developing an application that will in part interpret information from a single-sourced SMS message which is a "job opportunity" for users. These messages are sent through either Android or iOS phone numbers to a listening service server for further interpretation. We are not having any issues with Android phone numbers following through this process, but we are having issues with iOS phone numbers, as it is our understanding that those SMS messages must go to the iOS phone first, and then can be forwarded to the final destination. For us, this is an issue in which we cannot ask our users to do this every time they receive a notification of a job opportunity. Can we please confirm the iOS issue? Is there any way around this? This is greatly impacting my application development and will also hurt my business and my user's ability to take advantage of my services if this is the case if we can't find a workaround. I appreciate any help you can provide me. Thank you - Jeff Phone: 508-257-1379
Posted
by
Post not yet marked as solved
1 Replies
662 Views
Texts from important people like lawyers and doctors started coming in like this.. with an @ symbol in between each letter within the text message. I have had problems in the past being hacked, and I also have some problems with battery life and receiving phone calls, emails and texts. also my Apple Cash won’t work it says there is a problem with my social security number. I don’t think the image worked.. but I was trying to post a screenshot of this. It looks like this :” H@i D@a@n@ d@i@d@ y@o@u …” the entire text comes in this way from both iPhones and androids. can’t find anything online any help is greatly appreciated! thanks
Posted
by
Post not yet marked as solved
1 Replies
711 Views
Greetings! I am currently working on Message Filtering iOS App extension: https://developer.apple.com/documentation/sms_and_call_reporting/sms_and_mms_message_filtering We are using the approach to defer the query to an associated server: https://developer.apple.com/documentation/sms_and_call_reporting/ilmessagefilterextensioncontext/2880240-deferqueryrequesttonetwork Although iOS ensures that no other app extension can make these requests to the server via associated domains feature, the security team is concerned a lot about creating an endpoint which has no client-server authentication at all (OAuth or bearer token authentication). It means that the endpoint may potentially be used by some thirdparty scripts, apps, etc, and we won't be able to distinguish this from valid clients on the backend. I am aware of the note in documentation saying For privacy reasons, the system handles all communication with your associated server; your Message Filter app extension can’t access the network directly. Your app extension also can’t write data to containers shared with the containing app. But maybe there is a way to add any client-server network authentication to requests made by deferring the message filter query to our server? Thanks in advance, Konstantin
Post not yet marked as solved
2 Replies
987 Views
Touchgram provides interactive messages as an iMessage App extension, adding gesture recognition and logic on top of SpriteKit. When you play a message, either composing it or when received, the extension goes into expanded sheet mode which is mostly filled with an SKView. I’ve just installed the iOS 17 beta. Running the current (1.3.3) version of the app inside Messages, touches are not being captured inside SpriteKit. Instead, vertical touches are interpreted as attempts to drag the sheet from expanded down to compact mode. Horizontal touches still work. This breaks the app utterly. At the very least, I need a fix and to ship a new version by the time 17.0 goes live. Alternatively, this may be a beta bug in Messages. To replicate: Launch the extension inside Messages Tap Favorites (star) Choose the “Foot tickle lots with hearts” Press the Play (triangle) button Move your finger rapidly back and forth - you should see hearts being drawn following your path - horizontally and vertically, any angle. On iOS17, vertical movement in step 5 fails, instead shrinking the sheet.
Posted
by
Post not yet marked as solved
0 Replies
830 Views
Hi according to the documentation we can have Message extensions in Mac Catalyst 14+, and that the MSStickerBrowserView is supported from Mac Catalyst 13.1+. But it doesn't seem possible to actually build an extension app, or Sticker extension, embedded in a Mac Catalyst app and have it appear in macOS messages. Error: iMessage Applications are not available when building for Mac Catalyst. and error: iMessage / Sticker Pack extensions are not available when building for Mac Catalyst. With the announcement for macOS Sonoma that the Stickers will be available in Mac Messages, is this finally going to be possible? If this isn't possible, why is there support for Mac Catalyst?
Posted
by
Post not yet marked as solved
0 Replies
525 Views
Hello, I'm planning on building an app that provides instructions on how to implement Automation for a shortcut that will look for specific message content in messages, and forward it to my app. I want to understand if this method isn't a breach of Apple's terms of use, considering that I intend to have this used in scale (e.g. ~50k app users). Some things to clarify: The content that will be searched in the Messages app will be reviewed and approved by the iPhone user. The iPhone user will be required to manually approve every automation action that occurs The iPhone user will have control to remove any forwarded messages that were approved by mistake or in any case of regret. The iPhone user will be well aware of the actions he makes, and approves in terms of the process and usage of the content by app. Thank you!
Posted
by