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

83 Posts
Sort by:
Post not yet marked as solved
0 Replies
35 Views
I'm building a third party SMS filter. I want to know if there's any documentaion about what types of messages are supposed to go int each of the categories: "Junk", "Promotions", "Transactions". If there isn't documentation, does anyone here know?
Posted
by
Post not yet marked as solved
1 Replies
104 Views
Hi Everybody, I would like to see the feature, that allows us to limit the access for selected apps to get access to our Contacts. Especially apps like WhatsApp cannot be trusted, in my opinion, so I would love to see the possibility to prevent, that they just analyse our full Contact book and sell the data. With a limited access feature, we can at least decide, which information we wanna share with suspicious companys. What do you think and how could we reach the developers attention to get this with the next major update. Greetings from Europe
Posted
by
Post not yet marked as solved
0 Replies
80 Views
I am generating link previews with Open Graph specification and my server is returning a meta tag og:image with an image that is a shortlived signed S3 url. This signed URL works in every other platform that supports open graph however iMessage does not display the image. Is there documentation on why it would or would not support a long signed url?
Posted
by
Post not yet marked as solved
0 Replies
131 Views
Hello, I'm trying to enroll on the trader account program but after filling out the form, then entering the email verification code that was sent I don't ever receive the phone OTP code that I'm supposed to receive. I'm not from the US, my country code is +51 so I select that on the dial code combo-box then enter my number that is 9 digits long. However, I tried with a US phone from a friend and it works just fine, he does receive the confirmation code. How can I fix this? I already have an app stuck for over 1 week because of this. I've called apple support multiple times and they send me to send evidence via email which I have. They've told me it was "scaled" to the engineering them but of course that's gonna take a long while for it to be fixed. Has anyone encountered a similar problem? I believe there's gotta be a quirk or something in that form that will actually get the system to work.
Posted
by
Post not yet marked as solved
1 Replies
103 Views
Is there a way to retrieve an older backup to retrieve some lost text messages that I really need from 2022 with it being 2024? I really need some help. I have backed up and erased all content and settings to see if I could restore back to an older backup but I am only able to restore to today's backup 4/5/2024. Can anyone help me out please?
Posted
by
Post not yet marked as solved
0 Replies
93 Views
I am using MFMailComposeViewController to allow users to share in my app. Now my app is swiftUI so I had to wrap it in UIViewRepresentable. I have tied my mailComposeDelegate for dismissing as well. struct MailComposerView: UIViewControllerRepresentable { @Environment(\.presentationMode) var presentation @Binding var result: Result<MFMailComposeResult, Error>? var mailControllerWrapperBuilder: () -> MFMailComposerControllerWrappable = { MFMailComposeViewController() } let subject: String let body: String class Coordinator: NSObject, MFMailComposeViewControllerDelegate { @Binding var presentation: PresentationMode @Binding var result: Result<MFMailComposeResult, Error>? init(presentation: Binding<PresentationMode>, result: Binding<Result<MFMailComposeResult, Error>?>) { _presentation = presentation _result = result } func mailComposeController(_ controller: MFMailComposeViewController, didFinishWith result: MFMailComposeResult, error: Error?) { defer { $presentation.wrappedValue.dismiss() } guard error == nil else { if let error = error { self.result = .failure(error) } else { self.result = .failure(NSError()) } return } self.result = .success(result) } } func makeCoordinator() -> Coordinator { return Coordinator(presentation: presentation, result: $result) } func makeUIViewController(context: UIViewControllerRepresentableContext<MailComposerView>) -> UIViewController { var mailComposer = mailControllerWrapperBuilder() mailComposer.setSubject(subject) mailComposer.setMessageBody(body, isHTML: false) mailComposer.mailComposeDelegate = context.coordinator return mailComposer.getUIViewController() } func updateUIViewController(_ uiViewController: UIViewController, context: UIViewControllerRepresentableContext<MailComposerView>) { } } protocol MFMailComposerControllerWrappable { var mailComposeDelegate: MFMailComposeViewControllerDelegate? { get set } var delegate: UINavigationControllerDelegate? { get set } func setSubject(_ subject: String) func setMessageBody(_ body: String, isHTML: Bool) func getUIViewController() -> UIViewController } extension MFMailComposeViewController: MFMailComposerControllerWrappable { func getUIViewController() -> UIViewController { self } } On my main view, which is a swiftui sheet, I present mail composer as a sheet. @State var showMail = false var body: some View { VStack { Button("Mail", action: { showMail = true }) } .sheet(isPresented: $showMail, content: { MailComposerView(result: $viewModel.mailResult, subject: "subject", body: "body") .presentationDetents([.large]) }) } On iOS 17 when swiping down, interactive dismiss is activated and shows user if they want to cancel sending mail. While on iOS16 this behaviour is not observed. I have tried following A custom swiftui view in sheet has interactive dismiss UIViewRespresentable of custom uiview has interactive dismiss Seems like this bug has to do with MFMailComposeViewController itself. Is there a known issue that was fixed in iOS 17? On other apple apps, this behaviour is not observed. One fix that I have on my mind is to present mailcomposer via rootcontroller and not rely on swiftui sheet.
Posted
by
Post not yet marked as solved
0 Replies
159 Views
Ours is a mobile banking application which contains UPI facility provided by NPCI. For registering in UPI service customer need to complete SIM binding. But our customers who are using iPhone 14 and above with iOS version 17.2.1 and above are unable to complete their SIM binding process during registration process and thereby registration is failing which is causing dismay among our customers. In addition the customers are having enough SMS pack. We have cross checked with the service providers as well but they are also not getting any hits at their end. Kindly help us to resolve the issue so that the users can register without any hassle.
Posted
by
Post not yet marked as solved
0 Replies
157 Views
Hello, I am new to app development. I am trying to make an iMessage app. I created it and then added a SwiftUI view. It builds just fine and the view is visible on the storyboard, but the app is not present in iMessage on Simulator or on an actual device. What's wrong? Thanks for any help. import UIKit import Messages import SwiftUI class MessagesViewController: MSMessagesAppViewController { var hostingController: UIHostingController<CalendarView>? override func viewDidLoad() { super.viewDidLoad() } override func willBecomeActive(with conversation: MSConversation) { super.willBecomeActive(with: conversation) let swiftUIView = CalendarView() let hostingController = UIHostingController(rootView: swiftUIView) addChild(hostingController) view.addSubview(hostingController.view) hostingController.view.translatesAutoresizingMaskIntoConstraints = false NSLayoutConstraint.activate([hostingController.view.leadingAnchor.constraint(equalTo: view.leadingAnchor), hostingController.view.trailingAnchor.constraint(equalTo: view.trailingAnchor), hostingController.view.topAnchor.constraint(equalTo: view.topAnchor), hostingController.view.bottomAnchor.constraint(equalTo: view.bottomAnchor)]) hostingController.didMove(toParent: self) self.hostingController = hostingController } override func didResignActive(with conversation: MSConversation) {} override func didReceive(_ message: MSMessage, conversation: MSConversation) {} override func didStartSending(_ message: MSMessage, conversation: MSConversation) {} override func didCancelSending(_ message: MSMessage, conversation: MSConversation) {} override func willTransition(to presentationStyle: MSMessagesAppPresentationStyle) {} override func didTransition(to presentationStyle: MSMessagesAppPresentationStyle) {} }
Posted
by
Post not yet marked as solved
1 Replies
187 Views
My requirement is here- 1- We need to implement functionality in my iOS app to do call (cellular call) without user interaction. 2- We need to implement functionality in my iOS app to send normal message to particular phone number without user interaction. 3- Fetch OS log (NOT MY APPLICATION LOG). we need to fetch OS log when cellular call going on in device this log need to collect in my iOS app for identify the network strength and other things like call is connected and disconnect etc. Thanks
Posted
by
Post not yet marked as solved
2 Replies
319 Views
I am on a fresh install of Xcode 15.3 on macOS 14.4 (23E214). I created an iMessage App template and signed it with my personal team's certificate. When I click the run button, it successfully builds and opens the simulator to the Messages app but does not open the compact extension view (or install the extension such that it shows up in the More messages extension list). This reproduces on my older laptop (same version of Xcode) as well as my friend's (also same version of Xcode). Of note: The IceCreamBuilder app installs and runs correctly with no modifications I have not provided any icons for the messages extension The iMessage App template comes with an empty main app that does not install on the home screen The only console output that seems to differ from when I run the IceCreamBuilder is this message, which appears after a couple seconds of running the project: unhandled process MobileSMS Type: Error | Timestamp: 2024-03-09 00:41:07.763631-05:00 | Process: MobileSMS | Library: CoreParsec | Subsystem: com.apple.parsec | Category: CoreParsec | TID: 0xff097
Posted
by
Post not yet marked as solved
1 Replies
198 Views
Dear Appple Dev Team, we have developed an app to identify incoming phone calls via CallKit (https://developer.apple.com/documentation/callkit/cxcalldirectoryextensioncontext). This function works great. However, we are missing a similar function for SMS/iMessage sender identification. Is it possible to integrate this function into iOS. Thanks Markus
Posted
by
Post not yet marked as solved
0 Replies
279 Views
I'm trying to make a simple iMessage app, which I haven't done before so I'm not super familiar with the process. I created a new project following the "iMessage App" template. I have an icon set named "iMessage App Icon" in the *MessagesExtension Assets catalog (and it says "Stickers Icon" in the top right corner). This is what was created by default with the project. I have filled out all of the icons in the iconset, and none of them have warnings. When I install the app into an iOS 16 simulator and open iMessage, the icon appears exactly as expected. However, when I install the app into an iOS 17 simulator, or onto my iPhone 15 Pro running 17.3.1, and scroll through the new iMessage app interface, my app still has the default white grid-lines styled icon. On basically every forum post I've read trying to solve this issue, I see people referring to "App Icon source in Target -> General", and in a normal app I would have that, however neither the host app target or the messages extension target have an "App Icons and Launch Screen" section. The only sections I have are "Supported Destinations", "Minimum Deployments", "Frameworks and Libraries", and "Development Assets". I'm not sure if this missing section is due to different versions of Xcode? (I am using 15.2) or if this indicates some larger problem with my project / the iMessage app template. Any leads as to solve this would be greatly appreciated.
Posted
by
Post not yet marked as solved
0 Replies
227 Views
Just released iOS 17.4 beta 3 and they say: Messages Resolved Issues Fixed: Stickers (Memoji and 3rd party) might appear blank. (120994483) But it didn't work for me (( old stickers not showing up in stickers, new keep on disappearing
Posted
by
Post not yet marked as solved
0 Replies
360 Views
Memoji not working with iOS 17.4 (21E5184k)download. I have tried resetting everything; toggling off / on to no avail. Any insight to resolve this? or just wait for the next update?
Posted
by
Post not yet marked as solved
0 Replies
312 Views
I created a message filter extension, then edited only a few lines from the template source code (for example to return something in the capabilities query). However no matter what I do, I just cannot get the app to appear in the Settings app - when I turn on "Filter Unknown Senders" there's nothing that appears to select my app. I've tried rebuilding, deleting/reinstalling the app, restarting the phone, it just won't appear. But then I switched to another phone, and with this phone, when I turn on "Filter Unknown Senders" my app does appear and can be selected and enabled. But I still cannot get this to happen on the first phone. Why does the exact same app, exact same build of the app to be precise, appear on one phone but not the other? The phone it works on has iOS 17.2.1 and the phone it doesn't work on has iOS 17.1.1
Posted
by
Post not yet marked as solved
0 Replies
234 Views
I've apple developer account, i already agreed all agreements, tax, and banking in appstore connect. I'm trying to create an imessage app that support in app purchase, but I'm unable to find the In app purchase in the list of capabilities, in both the main target and MessageExtension target. step to reproduce: new project -> imessage app -> choose MessageExtension target, try to add capability.
Posted
by
Post not yet marked as solved
0 Replies
250 Views
iMessage apps built in Xcode 15.2 fail to display on the simulator or real devices. No views are displayed. Steps to reproduce: Create a brand new iMessage app (New Project -> iMessage App) Run the app on simulator or a real device. You should see “Hello World” as displayed in the MainInterface.storyboard default UI. However nothing appears.
Posted
by
Post not yet marked as solved
2 Replies
343 Views
I have 5 sticker packs in the App Store. I had an older Mac and it finally was too old for more MacOS updates and therefore too old to update xCode, so I haven't done any updates to my packs or looked at xCode in nearly 3 years. I FINALLY got a new Mac. I've got xCode 15 installed and with latest updates - and it looks so foreign! Things I can't find: Where in xCode can I change the version and build #? This used to be so obvious. I decided to start from scratch with my project. Clicked on new Sticker Pack App. Dragged in my icons and stickers and new updates I've created. When I went to archive, it says it can't because it already exists. Oh boy. In addition to this, I'm also lost on how to put in ALT tags for accessibility. This was also super obvious in the version of xCode I was using 3 years ago - I could click on each sticker and in the right pane I could put in the words for voice over for visually impaired. Now that is gone. One of my reviews thanked me for making my sticker pack accessible. I don't want to lose that ability - but I cannot find out where the heck it's hiding. The OnDemand Resource Tags definitely aren't it - since adding info in one puts the same tags on ALL the stickers.
Posted
by