How-to: Application identifier & application signature

The application identifier

The Application Identifier (or Application ID) refers to a string that uniquely identifies the application.

In case of iOS, it is the so called Bundle identifier, while on Android it is the application package name declared in AndroidManifest:

Application package name in Android

From the Android developer guide

A full Java-language-style package name for the application. The name should be unique. [...]

To avoid conflicts with other developers, you should use Internet domain ownership as the basis for your package names (in reverse). For example, applications published by Google start with com.google. You should also never use the com.example namespace when publishing your applications. [...]

Caution: Once you publish your application, you cannot change the package name. The package name defines your application's identity, so if you change it, then it is considered to be a different application and users of the previous version cannot update to the new version.

Where to place the application package name in the AndroidManifest .xml

Bundle identifier in iOS

From the iOS developer guidelines

A bundle identifier is a string you create for an application (such as com.myCompany.myCoolGame). The bundle identifier is used throughout the application development process to uniquely identify an application. For example, the bundle identifier is used to match the application you built in Xcode to the data you configured in iTunes Connect. [...]

For more information on setting the bundle identifier, see Information Property List Key Reference.

Where to place the Bundle identifier in iOS development

app_ident_ios.png

The application signature

The Application Signature refers to a string that correspondes to the Application Identifier. Any application that is using metaio Mobile SDK needs to provide an Application Signature string which has to match the Application Identifier.

Important: If the Application Identifier is changed, the corresponding Application Signature has to be changed as well.

Create an application signature

Creating an Application Signature is free of charge. The following steps are required:

  1. Register at the Mobile SDK Developer Portal
  2. Add the Application Identifier (i.e. Application ID / package name) of your application. This will instantly create an according signature that corresponds to the Application ID. You will receive it via email or you can use it directly from the developer portal.
  3. Copy & paste the signature into your application for using it with the function CreateUnifeyeMobileIPhone() or CreateUnifeyeMobileAndroid() (depending on the according platform).

The steps in detail

Below we explain the steps to create an application signature in greater detail.

Register as a developer & login

Before using the developer portal, you have to register as a developer fore free. Please use a valid eMail address for registering, anonymous eMail accounts won't work. Before clicking on "Register", enter the captcha code (2) into the "Enter text" field. This is to make sure you are a human and no bot. Please note: You will not receive a confirmation eMail after registering.

register_as_dev.png

After the registration, you can login:

login.png

Add your application identifier (ID) to your app pool

After logging in, you can add (1) & (2) a new application identifier to your pool of apps. Ater adding an Application ID, the signature is shown in your list of apps. Here marked in red and with point (3).

create_app_sig.png

After adding an application ID, you'll receive an email with the Signature as well.

email_sig.png

Optional: Add your "custom branding option" key to remove metaio branding from your apps

If you have purchased the custom branding option (CBO), you can enter it's key in "Licenses" in the developer portal to remove all mandatory metaio branding (watermark & splash screen) from your mobile apps.

activate_cbo.png

Enter the Application signature

In general: Use search

Search for either CreateUnifeyeMobileAndroid or CreateUnifeyeMobileiPhone in your project, depending on the OS you are developing for. This variable takes one argument, which is your Application signature you created in the prior steps.

Other option for iOS

Look for UNIFEYE_LICENSE at the top of the UnifeyeMobileViewController.mm file, pass it your Application signature.

Other option for Android

Look for signature at the top of the Configuration.java file, pass it your Application signature.

Topic attachments
I Attachment Action Size Date Who Comment
pngpng activate_cbo.png manage 22.6 K 2011-12-14 - 13:26 SupportMetaio  
pngpng androidmanifest_buuble.png manage 32.4 K 2011-12-13 - 15:48 SupportMetaio  
pngpng app_ident_ios.png manage 144.3 K 2011-12-14 - 16:45 SupportMetaio  
pngpng create_app_sig.png manage 41.4 K 2011-12-14 - 13:20 SupportMetaio  
pngpng email_sig.png manage 15.1 K 2011-12-14 - 13:24 SupportMetaio  
pngpng login.png manage 7.5 K 2011-12-14 - 13:17 SupportMetaio  
pngpng package_manifest_android.png manage 51.1 K 2011-12-13 - 15:46 SupportMetaio  
pngpng register_as_dev.png manage 26.9 K 2011-12-14 - 13:17 SupportMetaio  
Topic revision: r3 - 2011-12-14 - 16:53:26 - SupportMetaio
 
This site is powered by the TWiki collaboration platformCopyright &© by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback