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

71 Posts
Sort by:
Post not yet marked as solved
6 Replies
6.5k Views
Hi folks,I just started building an iMessage app onto one of our iOS 10 beta developer devices, and I've run into an issue when attempting to access NSUserDefaults which are stored in our App Group's shared container.This only occurs when building directly to a device - this doesn't happen when building onto the simulator.[User Defaults] Failed to read values in CFPrefsPlistSource (Domain: group.com.company.App, User: kCFPreferencesAnyUser, ByHost: Yes, Container: null: Using kCFPreferencesAnyUser with a container is only allowed for System Containers, detaching from cfprefsdThis is with XCode Beta 6 and iOS 10 Beta 8.Is anyone else experiencing this? I found this one SO post which seems to be what we're running into: http://stackoverflow.com/questions/38275395/failed-to-read-values-in-cfprefsplistsource-ios-10
Posted
by
Post not yet marked as solved
5 Replies
1.1k Views
Every time I try to open my iMessage app, some conversations will not open and the app immediately crashes. This problem has been on and off for approx. one month and I'm not sure how to go about fixing it. Any help or ideas would be greatly appreciated. Thank you!
Posted
by
Post not yet marked as solved
1 Replies
649 Views
My sticker pack is in the App Store. I've been playing with it and most of it works great. When you tap and send my stickers most of them display small-which is how I think I set up the file. However, some of them display too big and get cut off. I made them all the same size and uploaded them all at the same time into Xcode. Is there any reason this would be happening? I just barely got them in the App Store and haven't even started marketing them yet. Hoping to solve this before I really get the out there in case I need to make an updated version.Thanks for your help!
Posted
by
Post not yet marked as solved
21 Replies
44k 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
3 Replies
1.2k 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
3 Replies
677 Views
Hi,does anyone know if it is possible to use leaderboards in an imessage only game?I have created leaderboards and they are live with my app. But nevertheless on authentication I always get:[Error] _authenticateUsingAlert:Failed to authenticate player with existing credentials.Error: Error Domain=GKErrorDomain Code=15 "Der angeforderte Vorgang konnte nicht abgeschlossen werden, da die App vom Game Center nicht erkannt wird." UserInfo={GKServerStatusCode=5019, NSLocalizedDescription=Der angeforderte Vorgang konnte nicht abgeschlossen werden, da die App vom Game Center nicht erkannt wird., NSUnderlyingError=0x283d36d60 {Error Domain=GKServerErrorDomain Code=5019 "status = 5019, no game matching descriptor: ios:net.mygame.MessagesExtension:1.3:1+-1" UserInfo={GKServerStatusCode=5019, NSLocalizedFailureReason=status = 5019, no game matching descriptor: ios:net.mygame.MessagesExtension:1.3:1+-1}}}Is it possible that iMessage only games are not supported by GameKit? As the iMessage App has the Bundle identifier net.mygame.MessagesExtensionand it seems the Leaderboard associated with it in the appastoreconnect interface is registered to net.mygame?Or is there something I overlooked?Thanks, Jan
Posted
by
Post not yet marked as solved
2 Replies
1k Views
What is the OPAQUE-USER-ID for sending text message through api.https://developer.apple.com/documentation/businesschatapi/messages_sent/sending_text_messages
Posted
by
Post not yet marked as solved
31 Replies
15k Views
Messages won't start anymore, it tries to start (icon jumping) for long time and after that it just freezes and comes unresponsive. Is there workaround to kick it up alive again?
Posted
by
Post not yet marked as solved
5 Replies
2.1k Views
Anyone expericing problems with imessage? I have been noticing missing texts on my phone and messages not going through. Also, my airdrop was not recognizing a device that was a contact to send photos. having quite some issues with the new iphone 12 pro, very dissapointed.
Posted
by
Post not yet marked as solved
12 Replies
2.0k Views
Has anyone see an issue where certain contacts do not have a text entry field on Big Sur when selecting them in the list of conversations? I am able to get a field to send a message if I act as if I am starting a new conversation with them.
Posted
by
Post not yet marked as solved
2 Replies
2.5k Views
I recently updated to iOS 14.2 and ever since my phones iMessage has been glitching. I have the iPhone XR so it’s not that it’s a particularly old phone... however I no longer get notifications when I get iMessages. My phone also opens messages before I’ve seen them... to explain, it’ll send a read receipt before I’ve actually seen the message, and thus, “reads the message” so I get no notification. It’s hard to explain but my contacts are being told I’ve read their message- when I haven’t. I’ve tried restarting my phone and it keeps happening. Anyone got any tips? Or is this an IOS glitch? thanks!
Posted
by
Post not yet marked as solved
1 Replies
453 Views
when run from terminal I get the following error: Messages[17550:774342] Invalid absolute dimension, must be > 0.0. NOTE: This will be a hard-assert soon, please update your call site.
Posted
by
Post not yet marked as solved
1 Replies
303 Views
The didFinishWithResult delegate method of MFMessageComposeViewController shows that the message has been sent successfully, even when the device is in airplane mode or when the device has no SIM,but the message sending is failed.The delegate does not go through the failure state.Why doesnt it go to failure state?.Please give me some suggestion on this. The code is given as below: { 		MFMessageComposeViewController *picker = [[MFMessageComposeViewController alloc] init]; 		picker.messageComposeDelegate = self; 		 		// You can specify one or more preconfigured recipients.	The user has 		// the option to remove or add recipients from the message composer view 		// controller. 		/* picker.recipients = @[@"Phone number here"]; */ 		 		// You can specify the initial message text that will appear in the message 		// composer view controller. 		picker.body = @"Hello from California!"; 		 		[self presentViewController:picker animated:YES completion:NULL]; } // //	messageComposeViewController:didFinishWithResult: //	Dismisses the message composition interface when users tap Cancel or Send. //	Proceeds to update the feedback message field with the result of the //	operation. // (void)messageComposeViewController:(MFMessageComposeViewController *)controller 							didFinishWithResult:(MessageComposeResult)result { 		self.feedbackMsg.hidden = NO; 		// Notifies users about errors associated with the interface 		switch (result) 		{ 				case MessageComposeResultCancelled: 						self.feedbackMsg.text = @"Result: SMS sending canceled"; 						break; 				case MessageComposeResultSent: 						self.feedbackMsg.text = @"Result: SMS sent"; 						break; 				case MessageComposeResultFailed: 						self.feedbackMsg.text = @"Result: SMS sending failed"; 						break; 				default: 						self.feedbackMsg.text = @"Result: SMS not sent"; 						break; 		} 		 		[self dismissViewControllerAnimated:YES completion:NULL]; } For me and other multiple devices when we press "CANCEL" or "SEND" message the correct delegates are fired. But when I switch ON the AIRPLANE Mode or the device with no SIM still the MessageComposeResultSent Is fired. Can some one tell clearly when the MessageComposeResultFailed is fired? Any live steps? Please kindly help me This is my last hope. I just want know when the Status Failed gets fired with step by step procedure
Posted
by
Post marked as solved
3 Replies
700 Views
I developed App to use iMessage or Message App. I have used MessageUI.I can display message App's contents on modal, but can't press submit(send?) button of the message App on modal. It's pressed but no response. Why is that? Is there anyone who is worried about the same thing? Please help me. Content.swift-Excerpt }).sheet(isPresented: $isShowSheet) {                     SMSView(number: UserDefaults.standard.string(forKey: "key") ?? "\(text)") Message.swift import SwiftUI import MessageUI struct SMSView: UIViewControllerRepresentable {     var number : String     func makeCoordinator() -> Coordinator{         Coordinator(self)     }     func makeUIViewController(context: Context) -> UIViewController {         let composeVC = MFMessageComposeViewController()         if !MFMessageComposeViewController.canSendText() {             print("SMS services are not available")         }else {             composeVC.messageComposeDelegate = context.coordinator             composeVC.recipients = [number] //宛先             composeVC.body = "おはようございます" //本文             }             return composeVC     }     func updateUIViewController(_ uiViewController: UIViewController, context: Context) {     } } Coordinator.swift import SwiftUI import MessageUI class Coordinator: NSObject,UINavigationControllerDelegate,MFMessageComposeViewControllerDelegate {     var parent: SMSView     init(_ parent:SMSView){         self.parent = parent     } ![]("https://developer.apple.com/forums/content/attachment/e863a009-5a95-4f62-8426-a24844062c60" "title=IMG_0448.jpg;width=1242;height=2208")     func messageComposeViewController(_ controller: MFMessageComposeViewController, didFinishWith result: MessageComposeResult) {         controller.dismiss(animated: true, completion: nil)     } } on modal - 持ち主 is correct number
Posted
by
Post not yet marked as solved
1 Replies
744 Views
Installed iOS 15 and watchOS 8 beta and trying to communicate through Apple Watch, even tho the option is set ti Audio, when recording a message on the watch it gets automatically transcript and won’t allow to send an audio instead. Using the iMessage app. anyone found a solution?
Posted
by
Post not yet marked as solved
0 Replies
295 Views
So I have been having an issue on my MacBook Pro on iMessages. I put in my apple id and password and it says unknown error occurred. I have been trying this for like a month and still not getting in. Please help!
Posted
by
Post not yet marked as solved
0 Replies
344 Views
Hello guys, I am developing an application and the main functionality is that it should be able to filter SMSs based on whether they contain some links or words taken from an API or not.  Apart from message filter extension which is limited related to sending notifications and using system build-in functionalities, is there another way of reading incoming sms messages? Thank you!
Posted
by