Skip to content

Conversation

@tarikfp
Copy link
Contributor

@tarikfp tarikfp commented Jan 19, 2026

Summary

Add optional targetName prop to ConfigPluginProps that allows customizing the widget extension target name.

Problem

Currently, the widget extension target name is hardcoded to {AppName}LiveActivity:

const targetName = `${IOSConfig.XcodeUtils.sanitizedName(config.name)}LiveActivity`

This makes it impossible to match existing provisioning profiles or credentials, especially when migrating from other solutions like @bacons/apple-targets.

Solution

Added optional targetName prop that allows full customization while maintaining backwards compatibility.

Usage

// app.config.js
[
  "voltra",
  {
    groupIdentifier: "group.com.example.app",
    targetName: "widget", // Optional - defaults to "{AppName}LiveActivity"
  }
]

Changes

  • plugin/src/types/plugin.ts - Added targetName prop to ConfigPluginProps
  • plugin/src/index.ts - Use configurable targetName with fallback
  • website/docs/api/plugin-configuration.md - Added documentation

Checklist

  • Follows conventional commits
  • Backwards compatible
  • TypeScript types updated
  • Documentation updated

Add optional targetName prop to ConfigPluginProps that allows
customizing the widget extension target name instead of using
the default {AppName}LiveActivity pattern.

This is useful when:
- Migrating from other Live Activity solutions
- Matching existing provisioning profiles or credentials
- Using a specific naming convention
@vercel
Copy link

vercel bot commented Jan 19, 2026

@tarikfp is attempting to deploy a commit to the Callstack Team on Vercel.

A member of the Team first needs to authorize it.

@tarikfp tarikfp marked this pull request as ready for review January 19, 2026 13:26
Copy link
Contributor

@V3RON V3RON left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Thank you for the contribution 💪

@V3RON V3RON merged commit 93a9565 into callstackincubator:main Jan 19, 2026
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants