Technology Encyclopedia Home >How to obtain the Bundle ID in the live SDK?

How to obtain the Bundle ID in the live SDK?

To obtain the Bundle ID in the live SDK, you typically need to access the configuration or settings section of the SDK where app identifiers are stored. The Bundle ID (also called Bundle Identifier) is a unique string that identifies your app in platforms like iOS.

Steps to Obtain the Bundle ID:

  1. Check the SDK Documentation: The live SDK's official documentation usually provides guidance on retrieving or setting the Bundle ID.
  2. Access App Configuration: In your development environment (e.g., Xcode for iOS), navigate to the app's target settings. The Bundle ID is listed under the "General" or "Identity" tab.
  3. SDK Initialization: Some SDKs require you to manually input the Bundle ID during initialization. Check the SDK's initialization code or configuration files.

Example (iOS):

In Xcode:

  • Open your project.
  • Select the app target.
  • Under the "General" tab, find the "Bundle Identifier" field (e.g., com.example.app).

Tencent Cloud Recommendation:

If you're integrating a live streaming SDK with Tencent Cloud, ensure the Bundle ID matches the one registered in the Tencent Cloud Mobile Live Streaming console. This ensures proper authentication and service access.