Skip to content

How to Configure Share Handler in a Flutter Project with Flavors, Different Bundle IDs & Team Accounts? #129

@sajanIocod

Description

@sajanIocod

Hi team 👋,
I'm currently working on a Flutter project that uses multiple flavors, and each flavor has:

  • A different bundle identifier
  • A different Apple team account (for iOS)
  • Separate configurations for Android and iOS

I would like to integrate a share handler (to handle shared content like text, links, images from other apps) into this setup.

💡 My Questions:

  1. Is it possible to configure a share handler in a Flutter project that uses flavors? Especially when each flavor uses different bundle IDs and team accounts?
  2. How should I configure the iOS and Android platforms to support this use case for each flavor?
  3. Do you have any example or guidance on setting up platform-specific configuration (e.g., AndroidManifest.xml, Info.plist, entitlements, etc.) for this kind of setup?

🛠️ Current Setup:

  • Flutter version: 3.32.8
  • Flavors: dev, production
  • iOS: Using different Apple Developer Team IDs for each flavor
  • Android: Different applicationIds for each flavor

Any guidance or reference would be greatly appreciated. Thanks in advance for your support!

Best regards,
Sajan Baisil

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions