The iOS App Group Container is a protected folder for sharing content with trusted apps. The most common use it to exchange information between the main App and a shared extension.
Questions tagged [ios-app-group]
232 questions
0
votes
1 answer
iOS can't visit the app group folder with FileManager
I use the following code to write a png file to the App Group folder to share between my share extention and App , and i found that the write to file can be succeed (i can find the file in my terminal) , but after the writing , I use the…

ximmyxiao
- 2,622
- 3
- 20
- 35
0
votes
1 answer
Passing data and variables between targets
Overview
I'm trying tot understand app groups so that I can pass data and variables from my main app to my extension and viceversa.
What I found
It's very hard for me to understand a few concepts because all I could find were other SO questions that…

crost
- 165
- 1
- 13
0
votes
1 answer
is possible send data from an existing iOS App to a Watch OS 6 Independent App member of an app group?
I have an iOS app without their companion watch app, I tried to read data stored in the iOS app from my new watchOS 6 independent app.
Is there any option like:
var userDefaults = NSUserDefaults(suiteName: "group.com.myApp")!
but with WCSession or…

Fernando Valenzuela
- 39
- 6
0
votes
1 answer
Settings.bundle not respecting app group on iOS simulator or device
I had been using standardUserDefaults until recently but decided to use shared app groups because I created a watch extension. I have set up an app group and also added the ApplicationGroupContainerIdentifier to the settings bundle.
I have spent…

Training55
- 1
- 2
0
votes
1 answer
How can I install an iOS app in iOS device without Macbook?
I have got an iOS app to be tested as a Beta user but it is placed at some location of Google drive. I don't have Macbook. How can that app be installed in an iOS device

viz
- 51
- 8
0
votes
1 answer
Xamarin.iOS Cannot display photo in Push Notification
I have a Notification Service Extension and an AppGroup. I save a photo from camera in the PCL project and copy it to the App Group Container (shared folder).
In the Notification Service Extension I try to download the photo from the App Group…

Razvan Emil
- 533
- 9
- 25
0
votes
1 answer
AppGroups in iOS analogy
We can share data between enterprise applications in iOS using AppGroup feature. How we can achieve the same functionality in android.
I have tried using sharedpreferences but MULTI PROCESS MODE is deprecated in API level 23 or higher.…

Mobile Developer iOS Android
- 6,005
- 5
- 34
- 58
0
votes
2 answers
App groups are not working after deployment in release mode
I am working on an ionic iOS application. I have a shared extension in the application, to share information between ionic application and my iOS shared extension I have been using app groups to retrieve the values.
The application works expected…

K.S
- 395
- 3
- 14
0
votes
1 answer
Sharing Data between App Groups not working on real device instead working on simulator
Hello I'm working on something where I need to pass some data from a target to another (basically an app to another) and I red that App Groups is the way to do it .
I've made a class to manage that .
class PaywallHelper {
static let sharedDefaults =…

Mohamed Lee
- 267
- 1
- 3
- 18
0
votes
0 answers
Whats the best practice to share user information across apps. Shared user defaults via App Groups or Shared Keychain?
Need to know the preferred way to share user information across apps.
The options I see are:
1) Shared user defaults via App Groups
2) Shared Keychain
Not sure which one is appropriate.

user1398615
- 289
- 1
- 7
0
votes
1 answer
Set notifications from iOS extension
i've tried using
UNUserNotificationCenter.current().add(request, withCompletionHandler: nil)
but it doesn't return anything. An alternative would be to send a message to the main app so it can set a notification, but this would mean that my app…

pguzman
- 141
- 1
- 7
0
votes
0 answers
iPhone X backward compatibility to cater devices below iOS 8 versions and future compatibility
I am trying to make my iOS app iPhone X compatible by using Safe Area, but in this process it is only running when I check iOS 9 and above to build. This means other devices with iOS versions 8 and below wont get support.
Is there any way to make…

victorious
- 309
- 4
- 13
0
votes
1 answer
NSUser default with app group not working in IOS 10 & above
We are successfully integrated two application with app group enablement.
However when trying to retrieve the date from the Userdefault in IOS version 10 and above we are getting the following error :
Failed to read values in…
0
votes
1 answer
How to initialise an OutputStream with a Url?
I try to create an OutputStream to an app group folder, which is created as follows:
func createProjectDirectoryPath(path:String) -> String
{
let containerURL = FileManager.default.containerURL(forSecurityApplicationGroupIdentifier:…

student96
- 345
- 1
- 4
- 14
0
votes
0 answers
An App ID Identifier is not available xCode 8.3.2
It seems like after updating the xCode(8.3.2), when trying to enable AppGroup to share data between an App and my widget, I get an error:"An App ID with Identitifier 'il.co.xxxx.xxx' is not available.Please enter a differnt string". I've been…

Vitali
- 341
- 1
- 5
- 19