Messages

RSS for tag

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

Posts under Messages tag

87 Posts
Sort by:

Post

Replies

Boosts

Views

Activity

iMessage stickers one size?
I developed a couple of iMessage sticker apps, one of which has medium size stickers and the other has large stickers. Since the iOS 17 update all of the stickers are showing as small size when sent in a message. I don't see a setting in Xcode for 1-column, 2-column, 3-column anymore. How can I get my stickers to show at the correct size again when sending/receiving in iMessage? Edited to add: I have discovered that although the stickers show as small when I send them, they are still receiving in the correct size. I still don‘t see the column setting in Xcode, so it would be useful to know how to set the desired sticker size. (perhaps it is now automatic based on image size?)
0
0
843
Sep ’23
Messages don't show up when I try to manually transfer messages files and folders into new computer's library folder (chat.db)
Hey everyone, please help!! I'm desperately trying to figure out how to get my old messages to appear in Messages after doing a hard erase of my MacBook Pro running Ventura 13.6. I have done the manual messages file transfer manually many times in the past with no issues, copying the proper files from the old computer to the new one's appropriate folders. This time however I cannot for the life of me get this to work. For clarity, here's what I have done: On the old OS, I copied the entire Messages folder (Users/username/Library/Messages) to an external hard drive I erased my MacBook completely and reinstalled the OS so it was a now a brand new install I ensured that all of my permissions were set and that I am marked as the 'owner' of all files and folders in question (via Get Info) Re-installed the MacOS (Ventura 13.6), and then dragged old Messages folder from my external hard drive onto the desktop While having not het opened Messages app, I navigated to the new OS's messages folder (via the hidden library tab), and replaced (not merged) the entire folder's contents with my backup Messages folder that was copied from old OS Once it was replaced, I rebooted MacBook and then tried opening Messages, but there are no archived messages there, all you can do is start a new chat As far as I can tell, the system seems to reject the three chat files (chat.db, chat.db-shm, and chat.db-wal) that I copied into the messages folder. As soon as I check the folder once I've rebooted or tried to open messages, I see that instead of replacing the files that were in the messages folder by default, it instead renamed them (chat.db.incompatible.v17008.sqlitedb et al in my case) and created another set of default files. As mentioned above, I've tried making sure that all files and enclosed folders have me as the owner (via Get Info) I tried redoing the 'drag and drop' step, first trying to 'replace' the messages folder, then trying to delete the default messages folder and then drag the new one in its place, and lastly trying to open the messages folder and delete all its contents (but keeping the messages folder) and then dragging the old messages files into that folder. None of these options worked either I also read in the forums that the issue could be coming from the fact that both installs share the same user name, so I tried setting up a new install with a different username, but this did not solve the issue I have scoured the forums for an answer and tried all the methods that have been recommended to bypass this, but the problem persists. I've since tried wiping my MacBook again and starting from scratch, but to no avail. If anyone has any possible suggestions I would very much appreciate it. Thanks all!
2
1
428
Oct ’23
Can you force Messages to offload old, stuck attachments on macOS?
It appears that some attachments get stuck and aren't offloaded like they are on iOS. I have 200-300 attachments, all dated 5/3/2021 (perhaps that's when I last formatted this Mac and downloaded from iCloud), and then it keeps 1-10 attachments from every month after that. I don't want to delete the attachments because I want them to stay in iCloud. Is there a terminal command to offload or set the maximum space Messages may use or something? Signing out and signing back in does nothing. They stay on the hard drive. Messages on my phone with the same synced conversations stay around 21GB.
0
0
526
Oct ’23
What classifies an app as a Sticker app?
Hi, I have an app with an accompanying iMessage extension that lets users send stickers. The iMessage extension however is not included in the iMessage 'Stickers' list but instead in the 'More' section despite the fact that it is used to send stickers. (iOS 17+) I also cannot select 'Sticker' as a category for my app (even after uploading the build). Is there any way for me to classify my app's iMessage extension as a Sticker? Would appreciate any help and thank you!
1
1
329
Oct ’23
how to solve LSApplicationLaunchProhibited?
LSApplicationLaunchProhibited Info.plist key Apps that contain the LSApplicationLaunchProhibited Info.plist key won't be available on Apple Vision Pro. This may be because the app is built only for watchOS or Messages. If you choose to adjust your app to make it available, please submit a new version. 卧龙仔表情包 (version 1.0.2)
0
0
320
Oct ’23
Sending MSMessage in iOS 17 Simulator Fails
Using iOS 17 I notice when I compose an MSMessage and insert it into the active conversation and send it in the simulator the message does not appear in the the message thread. The didStartSending(_ message: MSMessage, conversation: MSConversation) function is called when the message is sent, but there are no errors. I'm expecting there is an error with iOS 17 Simulator and sending messages. Also, being able to debug sending a message and going to the receiver to open the message still crashes. I hope this gets solved as well as it makes it very hard to test iMessage apps.
2
0
664
Nov ’23
iMessages syncing paused
iPhone 15 Pro Max. On iOS Beta 17.2. After i updated to this version, iMessages has a message at the bottom saying Syncing paused. I turned on and off iMessage syncing, rebooted the phone, turned on and off wifi and I have plenty of storage on my iCloud. Used 30 gig out of 200 gig of storage. I can't get the message to go away. Attached is a screenshot of the message. Thank you for any help!
4
4
2.5k
Nov ’23
Trigger push messages
Hey everyone, I'm currently programming a chat app with SwiftUI, Firestore & optionally OneSignal. But I'm currently having the problem that I don't receive push notifications when I'm not in the app. External push messages that are triggered, for example, via the OneSignal website are also displayed in the backround. I just can't get it triggered in the app, does anyone have a code or a suggestion for me? Best regards Max
0
0
354
Nov ’23
iMessage syncing paused on MacOS
I have multiple Apple devices: an iPhone 15 Pro Max, iPad mini, iPad Pro, MacBook Air and MacBook Pro all of which are running iOS 17 public beta software 3 for iOS/iPad OS, and the Macs too are running public beta software 3 of macOS Sonoma. For some reason, all of my devices but 1 (the MacBook Pro) isn't syncing my messages. I've tried signing out of iMessages of my MBP. I then tried to disable iMessage syncing just on my MBP, which didn't work, and I was brave enough to just disable the syncing on ALL my devices, for the sake of losing them, and yet it still says "syncing paused." I don't know if I have to sign out of my AppleID all together on my MBP? That's my last resort. I don't know what else to do. At first I thought maybe it's because I'm running beta software, but why is my MacBook Air fine?
1
1
1.5k
Nov ’23
[iOS 17.1.1 issue] MSMessageLiveLayout not rendering after MSMessagesAppViewController.willBecomeActive in iOS 17.1.1
Hello dear community, I have an iMessage extension running perfectly on iOS 16.4, but on 17.0.1 and 17.1.1 it's having real issues. Messaging in iMessage on the iOS 17.0.1 simulator isn't working at all. MSMessageLiveLayout works perfectly on iOS 16.4, but on iOS 17.1.1 (physical iPhone 15, 14, 13, 12, SE 2020) the MSMessagesAppViewController won't render after didStartSending and subsequent willBecomeActive. The iPhones will just show "Loading...". I debugged through it, couldn't find any issues and works perfectly fine on iOS 16.4 both in the simulator and on a physical device. I'm debugging through the physical devices with XCode, but couldn't find any root cause on why. Has anyone experienced similar issues with MSMessagesAppViewController in iOS 17.1.1? Any ideas on how to fix this? Thanks, Jan
1
0
388
Nov ’23
messages-auth:// schema is not working
We are following the step listed in the documentation below to redirect the authentication request to messages-auth://?status=success https://register.apple.com/resources/messages/msp-rest-api/type-interactive#url-scheme However on both iOS and macOS (latest versions) messages-auth:// is not a recognised endpoint to open the messages app again. For example messages:// is working to open the messages app.
0
0
441
Nov ’23
OpenGraph iMessage Recommended Image Dimensions Change (iOS 16 & 17)
Has anyone else noticed that as of iOS 16, the prevailing image size minimum recommendation of 1200 x 628 (1.91:1) no longer outputs an image in iMessage? Since iOS 16, we've found we need to at least double that to 2400 x 1256 for an image to display correctly horizontally. As of iOS 17, this appears to still be the case, however, we are seeing it cropped to more of a square preview. Is this expected, or could this be indicative of something wrong with the Open Graph properties in place?
1
0
580
Nov ’23
MFMessageComposeViewController cannot send special characters via iOS 17
I have a text in the application that comes with special characters (the text is written in French) that I want to send using MFMessageComposeViewController. I define the text in the body field: messageComposeVC.body = body and call to present the message compose like that : UIApplication.topViewController()?.present(messageComposeVC, animated: true, completion: nil) The message/imessage open and display the preview with the text i defined. But, since the upgrade of the iPhone to ios 17 it stopped working, when i send the message the message was not send and I received a message that the message failed. I also tested on ios 16 - it works great. Any idea how i can fix it?
0
0
757
Dec ’23
MFMessageComposeViewController not generating link preview if message body is not edited
I am using MFMessageComposeViewController with pre-filled recipients and message. This message ends with a unique URL, e.g.: I made a card for you! https://my.domain.com/unique-card-url The user can edit this message, of course, but if the message is not modified then the link preview is not generated. (Subsequent messages with the same link are generated.) When sending same message (each time with a new unique url) in iMessage the link previews are generated properly. This appears to be an edge case when pre-populating the message body. Because the body is never edited in the MFMessageComposeViewController itself, it never generates the link preview before sending.
1
0
362
Dec ’23
Confusion between whether to use iOS message APIs, messages for business APIs, or APIs from 3rd party like Telnyx/Twilio/LoopMessage etc
I am trying to build a project. The service it provides is that it allows businesses to create configurable messages to send to users over iMessages, and receive their response and businesses can also set what response to send to each type of user response, receive payments and so on. It basically removes the headache of coding an automated chat based service for businesses by giving them a configurable platform where they can create such a service using simple UI.I'm not sure which APIs (iMessages APIs, Messages for Business APIs, or 3rd Party APIs) I have to use for my case. Now I looked up how something like this is possible. One thing I found was apple message for businesses APIs, as per my understanding of it, businesses can communicate using MSPs. But what I don't get is, are the businesses creating their own automated chat experience and MSP is just something that provides IT support as a security? Something like [Ntiva] has me guessing that line of thinking, but the documentation says MSP is supposed to provide messaging APIs, I don't see that on Ntiva. So if the MSP is supposed to provide APIs, then would my project be an MSP? I also checked out apple's iMessages APIs to send iMesssages, but as per my understanding, it can only be used if an extension is created by the developer and then downloaded by the user to add the specific chat automation, that is obviously not how businesses do it. Then I also found these 3rd party APIs that can send blue iMessages, like [loop message], [send blue] or [Telnyx]. So is my understanding that my project architecture should be an application that takes configuration from businesses, generates the respective messsage and then use Telnyx APIs to send those messages, receive their responses, make a response to it and use Telnyx APIs again and so on, correct? If so, what is the whole deal with messages for business thing? Is using third party APIs like loop message or telnyx a way to bypass those MSPs and stuff, or are these 3rd party party APIs taking care of the whole message for business and MSP stuff on their end and just provide us with the end APIs? I would really love to understand how this works, thank you so much
0
0
484
Dec ’23