0

I'm currently making two iOS apps(technically, a library for two apps) that uses the AppGroups that shares UserDefaults data between the apps using the same App Group ID. The problem is I don't know how to get the bundleIDs of the apps in the AppGroups.

Background:I want to know whether the app is uninstalled or not, so decided to check the bundleIDs lists(if exists)that uses AppGroups, but haven't come across any solution after a couple of days.

Notes: I am currently building a library that controls all the appgroup information, so it would be better to have a solution without the need to configure sth in the info.plist file.

Both Objective-C and Swift solutions are fine.I'd appreciate your help. Thank you.

taikichi
  • 21
  • 2

1 Answers1

0

I am not sure about checking the bundle IDs but if you want to check if another app is installed you can follow this link

Swami Nathan
  • 411
  • 2
  • 8
  • Thank you very much, I've thought about this solution but unfortunately I'm building a library now to import in the app later on. Would be be nice if it there is a solution without having to edit the info.plist ... – taikichi Sep 16 '21 at 07:40