Skip to content

[Bug]: Subscription Recreation When Updating to New Project #1620

@bundleberk

Description

@bundleberk

What happened?

we rewrote our iOS application and when we update the app from the old one to the new, the old subscripton gets destroyed (put into Unsubscribed state on onesignal dashboard) and a new subscription is created with a different id, but the user tags keep remaining the same. the differences are:

1 - in the new project we've put onesignal into a framework (in the old one it was in the app module itself)
2- we are using SPM instead of Pod

everything else is exactly the same. we don't want to lose our old subscription data so we have to fix this issue.

what do you think might be causing this?

Steps to reproduce?

update the ios app to a different project with the same package name

What did you expect to happen?

i expect to keep the same subscription

OneSignal iOS SDK version

Release 5.1.0

iOS version

17, 15, 16, 18, 14, 13, 12

Specific iOS version

Relevant log output

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions