Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/ios/src/VoltraModule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export type StartVoltraOptions = {
* The ID/name of the Live Activity.
* Allows you to rebind to the same activity on app restart.
*/
activityId?: string
activityName?: string
/**
* Unix timestamp in milliseconds
*/
Expand Down
2 changes: 1 addition & 1 deletion packages/ios/src/live-activity/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ export const startLiveActivity = async (
const targetId = await VoltraModule.startLiveActivity(payload, {
target: 'liveActivity',
deepLinkUrl: options?.deepLinkUrl,
activityId: options?.activityName,
activityName: options?.activityName,
channelId: options?.channelId,
...normalizedSharedOptions,
})
Expand Down
2 changes: 1 addition & 1 deletion packages/voltra/src/VoltraModule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export type StartVoltraOptions = {
* The ID/name of the Live Activity.
* Allows you to rebind to the same activity on app restart.
*/
activityId?: string
activityName?: string
/**
* Unix timestamp in milliseconds
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ describe('Live Activity Options', () => {

expect(VoltraModule.startLiveActivity).toHaveBeenCalledWith(
expect.anything(),
expect.objectContaining({ activityId: 'my-activity' })
expect.objectContaining({ activityName: 'my-activity' })
)
})
})
2 changes: 1 addition & 1 deletion packages/voltra/src/live-activity/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ export const startLiveActivity = async (
const targetId = await VoltraModule.startLiveActivity(payload, {
target: 'liveActivity',
deepLinkUrl: options?.deepLinkUrl,
activityId: options?.activityName,
activityName: options?.activityName,
channelId: options?.channelId,
...normalizedSharedOptions,
})
Expand Down