Messages

RSS for tag

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

Posts under Messages tag

200 Posts

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
1.7k
Sep ’23
create memoji programatically
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
1
0
1.9k
Sep ’23
How Can I run an automation on SMS messages that are coming from my Bank
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?
3
2
4.4k
Sep ’23
How to preview AppClip via Message without recipient adding sender as contact
Hi there! We're working on building an AppClip, and would like to promote it by sending it via SMS message to our users. We'll be sending these SMS messages via Twillio, using an approved Toll Free phone number. We have just found out here (https://developer.apple.com/forums/thread/665827?answerId=644691022#644691022) that the recipients of AppClip URL have to have the sender saved in contact in order to see the preview of AppClip on iMessage (a photo with "open" button) and open AppClip directly from iMessage (as opposed to be led to our website where they can click another button to open the AppClip). That pretty much defeats the purpose of this AppClip, since most users, who wouldn't have saved our marketing number as contact, would receive a text message with an URL string and no image - suspicious looking. Would anyone know: Is there any way we could promote AppClip via marketing SMS messages, that would lead to a smoother user experience? Would a 10DLC number (instead of Toll Free phone number) help? Would Apple Messages for Business (https://register.apple.com/resources/messages/messaging-documentation/) be able send AppClip previews and direct open, without recipients having to save the sender as a contact? Thank you! Liz
1
0
1k
Aug ’23
Is there a way to use any kind of server authentication in Message Filtering iOS App extension?
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
1
0
1k
Aug ’23
Messages showing old Link Preview title and image, despite long updated meta/og tags
About 8 or 9 months ago now, we changed our open graph meta tags on https://www.jabraenhance.com, but since then, the Messages and Mail apps have been showing our old og:image and og:title values, which points to our old company name / brand. Any suggestions on what could be causing this? As far as I can tell, everything is setup correctly, best practices are being followed, etc, but Apple's bot scraper hasn't picked up these changes (for a long time). What is expected? Open https://developers.facebook.com/tools/debug/?q=https%3A%2F%2Fwww.jabraenhance.com The Link Preview shown in that tool is how it SHOULD look. What we've confirmed / debugged so far: These meta tags are served as static html from our server, no javascript is needed to generate them. We have followed the advice on Apple's Best Practices site, according to this doc, everything should work: https://developer.apple.com/library/archive/technotes/tn2444/_index.html We have confirmed correct behavior using facebooks debug tool https://developers.facebook.com/tools/debug Our meta tags <!DOCTYPE html> <html lang="en" prefix="og: https://ogp.me/ns#"> <head> <meta property="og:title" content="High-quality hearing aids with expert care." /> <meta property="og:image" content="https://cdn.jabraenhance.com/web/meta/meta_jabra_enhance.jpg?cache=1" /> </head>
1
0
1.6k
Aug ’23
Cannot select sticker as a category for my app
Hi, I am unable to select Sticker as either a primary or secondary category for my app on the appstoreconnect. My app has a main app and an iMessage extension that revolves around the use of stickers (for iMessage). Looks like the person in the thread below was able to solve their issue by uploading their build first before selecting a category but that did not work for me. I assume their issue was fixed from the solution because they submitted an app that was just an iMessage sticker pack while my app has a main app and my iMessage sticker portion is not the templated iMessage sticker pack but an iMessage extension that sends stickers. Any help would be amazing, thanks! https://developer.apple.com/forums/thread/726764
1
1
672
Aug ’23
support and guidence
Subject: In Search of Swift Mentorship Hello Community, I'm Abdallah, a self-taught iOS developer with a solid understanding of the basics. However, I'm at a point in my learning where I need some real-world experience to truly refine my skills. I'm seeking an experienced Swift developer for personalized mentorship and guidance. I'm ready to invest my time, and I'm open to compensating for yours. I believe this will be a significant step for my growth as an IOS developer. If you're interested or can recommend someone, please let me know. I'm excited about this next phase of my journey and eager to contribute to actual projects. Best, Abdallah
1
0
766
Aug ’23
Send iMessage AND Text (SMS) from the Command Line
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.
2
0
4.1k
Jul ’23
Quick Reply payload giving error
When trying to trigger Quick reply payload, Apple is returning 400 response without any info what is missing. I have followed the documentation given so cannot find what attribute is missing. Can anyone help share a working payload for: Quick reply Payload 2.Agent-To-User Typing Payload I was using "sourceId": "{{source-id}}", "destinationId": "{{urn-id}}", "v": 1, "type": "interactive", "id": "49384592-0742-481b-b072-a8b66e4336a1", "interactiveData": { "bid": "com.apple.messages.MSMessageExtensionBalloonPlugin:0000000000:com.apple.icloud.apps.messages.business.extension", "data": { "mspVersion": "1.0", "requestIdentifier": "aae65b3f-9e5d-4ac8-a99a-4708d841524f", "quick-reply": { "summaryText": " What can I help you with?", "items": [ { "identifier": "1", "title": "Watch our video" }, { "identifier": "2", "title": "Watch video" } ] } }, "receivedMessage": { "style": "large", "subtitle": "Farm fresh to you", "title": "Select Produce", "imageIdentifier": "101" }, "replyMessage": { "style": "small", "title": "this is title", "subtitle": "Subtitle to be displayed under title", "imageIdentifier": "2" } } }
0
0
685
Jul ’23
Unable to register custom URL for MessagesExtension app
I'm trying to authenticate with a OAuth2.0 service when my MessagesExtension app loads. I see that one of the parameters the service requires is a redirect_uri, which will pass back an authorization code to my application through the redirect callback. However, I'm unable to provide a redirect_uri that will invoke my application since MessagesExtension applications do not have an appDelegate. Is it just not possible to authenticate with services requiring a redirect_uri with a MessagesExtension application?
0
0
540
Jul ’23
Can I manipulate Messages App UI Using AppExtensions or from other iOS Apps?
Hi, I want to manipulate the Messages App UI and render some information by Using other iOS Apps or AppExtensions. My queries are below mentioned: For messages received from unknown sender, I want to replace the person avatar with some logo. Screenshot1 attached for reference. I want to customise the unknown message sender mobile number with some text e.g. +91-xxxxxxx74 with some company name like Apple without intervening and registering with operators. Screenshot2 attached for reference. Last, After filtering with MessageFilterExtension when we open a message, just below the message I want to show some information like Unsafe or Suspicious. Screenshot3 attached for reference. If there is any other way to show the information to user that message received is not safe or suspicious.
1
0
966
Jul ’23
for what top level domains does Apple Messages automatically create links for besides .com?
There are so many top-level domains now and my app is using the top-level domain ".sh". Unfortunately, I cannot get iOS to link these URLs when my clients send texts to their users. myapp.sh/login <- this is not linked and is pretty much useless myapp.com/login <- this would work fine, but I do not use .com https://myapp.sh/login <- this URL is linked, but takes up precious SMS characters Is there a way to petition to have new top-level domains linked in Messages such as .app, .sh. or others?
0
1
495
Jul ’23
Messages Check in Dev Beta vs Public Beta
Does anyone know if the check in feature of messages works for public beta? Im running dev beta 3, a friend has public beta 1 running of 17. She can send me a check in, but when I try to send her a check in, it says Check In is not available to send to this recipient. I have my location services on for messages, she did not, but does now, but I still cant send one to her
1
0
622
Jul ’23
Apple terms of use for Automation/Shortcuts regarding messages
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!
0
0
866
Jul ’23
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?)
Replies
0
Boosts
0
Views
1.7k
Activity
Sep ’23
create memoji programatically
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
Replies
1
Boosts
0
Views
1.9k
Activity
Sep ’23
How Can I run an automation on SMS messages that are coming from my Bank
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?
Replies
3
Boosts
2
Views
4.4k
Activity
Sep ’23
Clone Mail or Gmail UI app?
Hi Team, Is there a way to clone the entire mail app like listing the email, details view with attachment and thread emails?
Replies
2
Boosts
0
Views
1.8k
Activity
Sep ’23
How to preview AppClip via Message without recipient adding sender as contact
Hi there! We're working on building an AppClip, and would like to promote it by sending it via SMS message to our users. We'll be sending these SMS messages via Twillio, using an approved Toll Free phone number. We have just found out here (https://developer.apple.com/forums/thread/665827?answerId=644691022#644691022) that the recipients of AppClip URL have to have the sender saved in contact in order to see the preview of AppClip on iMessage (a photo with "open" button) and open AppClip directly from iMessage (as opposed to be led to our website where they can click another button to open the AppClip). That pretty much defeats the purpose of this AppClip, since most users, who wouldn't have saved our marketing number as contact, would receive a text message with an URL string and no image - suspicious looking. Would anyone know: Is there any way we could promote AppClip via marketing SMS messages, that would lead to a smoother user experience? Would a 10DLC number (instead of Toll Free phone number) help? Would Apple Messages for Business (https://register.apple.com/resources/messages/messaging-documentation/) be able send AppClip previews and direct open, without recipients having to save the sender as a contact? Thank you! Liz
Replies
1
Boosts
0
Views
1k
Activity
Aug ’23
Is there a way to use any kind of server authentication in Message Filtering iOS App extension?
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
Replies
1
Boosts
0
Views
1k
Activity
Aug ’23
iOS 16.4 can't show appclips smart banner in iMessage.
iOS 16.4 can't show appclips smart banner in iMessage.
Replies
0
Boosts
0
Views
611
Activity
Aug ’23
Unable to send a text on secondary line with new 17 public beta
The new beta won't let me respond with my 2nd line in a previous text message. It changes to my primary line
Replies
0
Boosts
0
Views
506
Activity
Aug ’23
Messages showing old Link Preview title and image, despite long updated meta/og tags
About 8 or 9 months ago now, we changed our open graph meta tags on https://www.jabraenhance.com, but since then, the Messages and Mail apps have been showing our old og:image and og:title values, which points to our old company name / brand. Any suggestions on what could be causing this? As far as I can tell, everything is setup correctly, best practices are being followed, etc, but Apple's bot scraper hasn't picked up these changes (for a long time). What is expected? Open https://developers.facebook.com/tools/debug/?q=https%3A%2F%2Fwww.jabraenhance.com The Link Preview shown in that tool is how it SHOULD look. What we've confirmed / debugged so far: These meta tags are served as static html from our server, no javascript is needed to generate them. We have followed the advice on Apple's Best Practices site, according to this doc, everything should work: https://developer.apple.com/library/archive/technotes/tn2444/_index.html We have confirmed correct behavior using facebooks debug tool https://developers.facebook.com/tools/debug Our meta tags <!DOCTYPE html> <html lang="en" prefix="og: https://ogp.me/ns#"> <head> <meta property="og:title" content="High-quality hearing aids with expert care." /> <meta property="og:image" content="https://cdn.jabraenhance.com/web/meta/meta_jabra_enhance.jpg?cache=1" /> </head>
Replies
1
Boosts
0
Views
1.6k
Activity
Aug ’23
Cannot select sticker as a category for my app
Hi, I am unable to select Sticker as either a primary or secondary category for my app on the appstoreconnect. My app has a main app and an iMessage extension that revolves around the use of stickers (for iMessage). Looks like the person in the thread below was able to solve their issue by uploading their build first before selecting a category but that did not work for me. I assume their issue was fixed from the solution because they submitted an app that was just an iMessage sticker pack while my app has a main app and my iMessage sticker portion is not the templated iMessage sticker pack but an iMessage extension that sends stickers. Any help would be amazing, thanks! https://developer.apple.com/forums/thread/726764
Replies
1
Boosts
1
Views
672
Activity
Aug ’23
Action Extension for pages, keynote and numbers
Hi All I am newbie to the action extension development. Is it possible to write action extension for pages, keynote and numbers. Is there a sample action extension available for the above apps? Thanks Hyder
Replies
1
Boosts
0
Views
676
Activity
Aug ’23
support and guidence
Subject: In Search of Swift Mentorship Hello Community, I'm Abdallah, a self-taught iOS developer with a solid understanding of the basics. However, I'm at a point in my learning where I need some real-world experience to truly refine my skills. I'm seeking an experienced Swift developer for personalized mentorship and guidance. I'm ready to invest my time, and I'm open to compensating for yours. I believe this will be a significant step for my growth as an IOS developer. If you're interested or can recommend someone, please let me know. I'm excited about this next phase of my journey and eager to contribute to actual projects. Best, Abdallah
Replies
1
Boosts
0
Views
766
Activity
Aug ’23
Send iMessage AND Text (SMS) from the Command Line
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.
Replies
2
Boosts
0
Views
4.1k
Activity
Jul ’23
Quick Reply payload giving error
When trying to trigger Quick reply payload, Apple is returning 400 response without any info what is missing. I have followed the documentation given so cannot find what attribute is missing. Can anyone help share a working payload for: Quick reply Payload 2.Agent-To-User Typing Payload I was using "sourceId": "{{source-id}}", "destinationId": "{{urn-id}}", "v": 1, "type": "interactive", "id": "49384592-0742-481b-b072-a8b66e4336a1", "interactiveData": { "bid": "com.apple.messages.MSMessageExtensionBalloonPlugin:0000000000:com.apple.icloud.apps.messages.business.extension", "data": { "mspVersion": "1.0", "requestIdentifier": "aae65b3f-9e5d-4ac8-a99a-4708d841524f", "quick-reply": { "summaryText": " What can I help you with?", "items": [ { "identifier": "1", "title": "Watch our video" }, { "identifier": "2", "title": "Watch video" } ] } }, "receivedMessage": { "style": "large", "subtitle": "Farm fresh to you", "title": "Select Produce", "imageIdentifier": "101" }, "replyMessage": { "style": "small", "title": "this is title", "subtitle": "Subtitle to be displayed under title", "imageIdentifier": "2" } } }
Replies
0
Boosts
0
Views
685
Activity
Jul ’23
Unable to register custom URL for MessagesExtension app
I'm trying to authenticate with a OAuth2.0 service when my MessagesExtension app loads. I see that one of the parameters the service requires is a redirect_uri, which will pass back an authorization code to my application through the redirect callback. However, I'm unable to provide a redirect_uri that will invoke my application since MessagesExtension applications do not have an appDelegate. Is it just not possible to authenticate with services requiring a redirect_uri with a MessagesExtension application?
Replies
0
Boosts
0
Views
540
Activity
Jul ’23
Can I manipulate Messages App UI Using AppExtensions or from other iOS Apps?
Hi, I want to manipulate the Messages App UI and render some information by Using other iOS Apps or AppExtensions. My queries are below mentioned: For messages received from unknown sender, I want to replace the person avatar with some logo. Screenshot1 attached for reference. I want to customise the unknown message sender mobile number with some text e.g. +91-xxxxxxx74 with some company name like Apple without intervening and registering with operators. Screenshot2 attached for reference. Last, After filtering with MessageFilterExtension when we open a message, just below the message I want to show some information like Unsafe or Suspicious. Screenshot3 attached for reference. If there is any other way to show the information to user that message received is not safe or suspicious.
Replies
1
Boosts
0
Views
966
Activity
Jul ’23
for what top level domains does Apple Messages automatically create links for besides .com?
There are so many top-level domains now and my app is using the top-level domain ".sh". Unfortunately, I cannot get iOS to link these URLs when my clients send texts to their users. myapp.sh/login <- this is not linked and is pretty much useless myapp.com/login <- this would work fine, but I do not use .com https://myapp.sh/login <- this URL is linked, but takes up precious SMS characters Is there a way to petition to have new top-level domains linked in Messages such as .app, .sh. or others?
Replies
0
Boosts
1
Views
495
Activity
Jul ’23
Messages Check in Dev Beta vs Public Beta
Does anyone know if the check in feature of messages works for public beta? Im running dev beta 3, a friend has public beta 1 running of 17. She can send me a check in, but when I try to send her a check in, it says Check In is not available to send to this recipient. I have my location services on for messages, she did not, but does now, but I still cant send one to her
Replies
1
Boosts
0
Views
622
Activity
Jul ’23
IMessages not working on beta 17.3
I updated my computer to 17.3, and since my m2 won't receive or send iMessages. I can't get it to connect to my phone, all of my information is the same, my settings allow for it. am I missing something? I am currently working with a new M2 I got during pre-release.
Replies
0
Boosts
0
Views
734
Activity
Jul ’23
Apple terms of use for Automation/Shortcuts regarding messages
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!
Replies
0
Boosts
0
Views
866
Activity
Jul ’23