-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Calling -[MParticle reset] doesn't clean up our app delegate proxy
When app delegate proxying is enabled, when resetting the mParticle SDK we were previously leaving our proxy object set as UIApplication.sharedApplication.delegate. This would cause issues if the SDK is initialized again as we would now proxy our proxy and handle events more than once. This change cleanly replaces the proxy with the original app delegate, so that no matter how many times the SDK is reset and initialized, there will only ever be one app delegate proxy in place.
- Loading branch information
1 parent
cc57145
commit d7932da
Showing
3 changed files
with
34 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters