Questions tagged [imessage-extension]

iMessage Extensions consist of apps and sticker packs allowing for interactive and expressive experiences in iMessage conversations.

Documentation

233 questions
27
votes
2 answers

CFBundleVersion Mismatch - The CFBundleVersion value does not match the CFBundleVersion value of its containing iOS application

I'm new to the whole app world, and this is my first time using X-code (my apps I have built in the past, use Phonegap Build) Anyway - I managed to create a stick page (eventually!). Now I've made some changes to it, but I can't for the life of me…
Andrew Newby
  • 4,941
  • 6
  • 40
  • 81
17
votes
1 answer

IOS iMessage extension screenshot detection

Please use Swift 4+ NOTE: I am detecting the screenshot while I am within the iMessage extension, not in the standard iMessage view. Update - I came up with a working solution that checks the photo library during the sensitive information period…
Levi K
  • 573
  • 1
  • 4
  • 23
12
votes
1 answer

Encrypt - send - save - receive files in iOS

I have an iMessage application that send files. Data is saved in iCloud servers using CloudKit. Everything works well. Now I want to add a new level of security. I want to encrypt the data before sending it to iCloud. The problem is that using…
Red Mak
  • 1,176
  • 2
  • 25
  • 56
12
votes
0 answers

SKStoreReviewController requestReview does not work in iMessage extension

I tried calling SKStoreReviewController.requestReview() in my iMessage extension, but it never shows the UI. I know the system controls whether or not this appears, but based on the documentation…
adamF
  • 961
  • 2
  • 9
  • 23
10
votes
2 answers

iMessage App Video Message volume not working

I am sending video message in iMessage App using following code. @IBAction func didPress() { if let conversation = activeConversation { if let filePath = Bundle.main.path(forResource: "small", ofType: ".mp4") { …
Idrees Ashraf
  • 1,363
  • 21
  • 38
9
votes
2 answers

iOS UI Tests iMessage App/Extension

I'm currently using Fastlane Snapshot to automate taking screenshots for my application. It's all based on UI Tests. I'm trying to add this same functionality to an iMessage App/Extension. So currently I have a test that goes through taps buttons,…
Charlie Fish
  • 18,491
  • 19
  • 86
  • 179
8
votes
1 answer

Creating Sticker Pack programmatically, issue with casting UICollectionViewCell as MSStickerView

So, I have opted to using no storyboards in my messages extension sticker pack. The iMessage app comes with a storyboard file and a MessagesViewController.swift. I created 2 files named CollectionViewController and StickerCell. The idea is to…
7
votes
1 answer

On iOS 11, Sticker Pack extension crashes on first launch

The first time I run my Sticker Pack extension on a simulator, I get the following crash: 2017-10-25 14:56:10.513268-0700 MobileSMS[94610:5136614] *** Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: ‘attempt to scroll…
Hunter Monk
  • 1,967
  • 1
  • 14
  • 25
6
votes
1 answer

iMessageExt app Error starting application

I created my iMessage extension, when I try to open it, the first screen appears but it is totally frozen, and it does not react in any way. I've put logs in the viewDidLoad of that first view and nothing appears there, after a few seconds I can…
jose920405
  • 7,982
  • 6
  • 45
  • 71
5
votes
1 answer

iMessage Extensions: Root Navigation Controller results in all delegate methods to not get called in my MSMessagesAppViewController

I have a new iMessage Extension project where I tried 2 ways of structuring the navigation stack: In my storyboard I set the entry point to a UINavigationController that has my MSMessagesAppViewController as the root controller. Or I set my…
FranticRock
  • 3,233
  • 1
  • 31
  • 56
5
votes
1 answer

Apple iMessage Extension API. Detecting whether recipient is using iMessage

Is it possible to detect (programmatically), from an iMessage app extension: from the sender side: Whether the person you are talking to is using iMessage on their end, or they are an SMS/MMS user (Such as Android or Windows phone) Basically I need…
FranticRock
  • 3,233
  • 1
  • 31
  • 56
5
votes
2 answers

How to debug UI in iMessage Extension?

I am developing iMessage Extension, but i am facing some UI issues. But I am not able to debug UI as like iOS Application. As extension run on com.apple.MobileSMS(iMessage App Container). So, is there any way to debug UI of iMessage Extension ?
technerd
  • 14,144
  • 10
  • 61
  • 92
4
votes
2 answers

XCode11 error "open(_:options:completionHandler:) is unavailable in application extensions"

After launching Touchgram v1.0, which is 99% iMessage app extension, I tried to update to XCode11. I started getting an error open(_:options:completionHandler:) is unavailable in application extensions I confirmed this occurs even in a trivial…
Andy Dent
  • 17,578
  • 6
  • 88
  • 115
4
votes
0 answers

Open extension from parent app programmatically iOS

I want to open my app's extension(an iMessage extension) programmatically from my parent iOS app, let's say on a button tap for example. Is there any possible way to achieve this? I know we can open parent app from extension,but my requirement is…
Naresh Reddy M
  • 1,096
  • 1
  • 10
  • 27
4
votes
0 answers

How to programmatically determine if my iMessage app extension is enabled from main app?

In the iOS Messages App Store users have the ability to control which extensions are 'added' and available to use from the iMessage Extension tray. If the app extension is not 'added' the user cannot use it and does not see as an option in their…
foggzilla
  • 1,705
  • 11
  • 15
1
2 3
15 16