Commit 38ff997
committed
refactor: remove static methods in MPNotificationController and deprecate MPStateMachine (#434)
* Created app environment provider
* replaced usage of static methods in mP.m
* Create protocol for MPNotificationController
* switched from static methods
* replaced usage of notif controller static methods
* removed initialization from methods to class init
* fixed compilation issue
* Update mParticle_iOS_SDKTests-Bridging-Header.h
* make properties nonnull
* Revert removal of static method and mark deprecation instead
* put back deprecated static methods in implementation
* cleaned up duplicated code
* marked isAppExtension static method for deprecation
* Update build-and-lint.yml
* Revert to commit 0277379
* mark for deprecated method
BREAKING CHANGE: Static methods in MPNotificationController have been fully removed.
Use the new instance-based MPNotificationControllerProtocol implementation instead.
DEPRECATED: Static methods in MPStateMachine are deprecated and will be removed in a future release.
Migrate to the new instance-based approach.1 parent 696706e commit 38ff997
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
513 | 513 | | |
514 | 514 | | |
515 | 515 | | |
516 | | - | |
| 516 | + | |
517 | 517 | | |
518 | 518 | | |
519 | 519 | | |
| |||
0 commit comments