Get Bundle Installer Name

Hey Guys, I wanted to know if there is a way for me to access the installer "name" for an app? I am currently working on a game using Unity3d and in order for me to get the apps installer name, I have to create a Native IOS plugin-in (Objective-C) in order to retrieve this info. Can anyone point me to what Object/Class that can send me the installer name as a String?


-Thanks

It’s hard to answer your question because “installer name” isn’t a term that we use on iOS. I presume you’re looking to get a value that matches some string in the iOS UI. What part of the UI is that?

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

Hi Eskimo and thanks for responding. In regards to the "installer name" I am referring to the Apple Store's installer program that is used to install the app on a user's device. For instance, I recently developed a game on Android and thru a Native Andriod plug-in i wrote (game is written in C#), I was able to access the name of Google Play's installer program which is "com.android.vending" via a string method called "

getInstallerPackageName
(String packageName)". Does Objective-C have any string methods that can return the App Store's Installer Program Name?


FYI:

Android Method Example

abstract String

getInstallerPackageName(String packageName)

Retrieve the package name of the application that installed a package.


-Thanks Again

For my own learning purposes, why?

Hi Bruce, I am trying to implement some extra app validity measures along with receipt validation. I know you cant fully stop piracy, but I also don't want to keep the door wide open either.

Given that description it seems like you’re trying to get the bundle identifier (

com.apple.foo.bar
) of the system component that installs apps on iOS. If so, then, no, there’s no supported way to get that.

Even if you could, I’m not sure what you’re do with it. What were you thinking of?

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

I am trying to create an extra layer of app verification on top of reciept verification. So if there is no way for me to access that particular bundle id and receipt verification is the only way for me to verify my apps validity, what if the user downloads my app, rips it, and requests a refund; does the receipt get deleted along with the app or does it stays on the system? I know you cant prevent all piracy, but I dont want to just leave the door open if you know what I mean..

Blockchain app store distribution is overdue...


If IBM can use it to track a tomato from farm to table, Apple can use it to track an app from dev to user.

I have two bits of advice for you here:

  • I generally recommend against adding app-specific DRM systems. This post has some details as to why.

  • As with all security code, I think you’ll want to understand the threat model before you start writing code to counter those threats.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"
Get Bundle Installer Name
 
 
Q