Skip to content

Commit 38ff997

Browse files
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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mParticle-Apple-SDK.xcodeproj/project.pbxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@
513513
727801E12EB0FECA00BDAD98 /* AppEnvironmentProviderMock.swift in Sources */ = {isa = PBXBuildFile; fileRef = 727801E02EB0FECA00BDAD98 /* AppEnvironmentProviderMock.swift */; };
514514
727801E22EB0FECA00BDAD98 /* AppEnvironmentProviderMock.swift in Sources */ = {isa = PBXBuildFile; fileRef = 727801E02EB0FECA00BDAD98 /* AppEnvironmentProviderMock.swift */; };
515515
727801E42EB1131B00BDAD98 /* MPAppNotificationHandlerMock.swift in Sources */ = {isa = PBXBuildFile; fileRef = 727801E32EB1131B00BDAD98 /* MPAppNotificationHandlerMock.swift */; };
516-
727801E52EB1131B00BDAD98 /* MPAppNotificationHandlerMock.swift in Sources */ = {isa = PBXBuildFile; fileRef = 727801E32EB1131B00BDAD98 /* MPAppNotificationHandlerMock.swift */; };
516+
727801E52EB1131B00BDAD98 /* MPAppNotificationHandlerMock.swift in Sources */ = {isa = PBXBuildFile; fileRef = 727801E32EB1131B00BDAD98 /* MPAppNotificationHandlerMock.swift */; }; MPStateMachine (#434))
517517
729721762EAC2AD60045E55C /* AppEnvironmentProvider.h in Headers */ = {isa = PBXBuildFile; fileRef = 729721752EAC2AD60045E55C /* AppEnvironmentProvider.h */; };
518518
729721772EAC2AD60045E55C /* AppEnvironmentProvider.h in Headers */ = {isa = PBXBuildFile; fileRef = 729721752EAC2AD60045E55C /* AppEnvironmentProvider.h */; };
519519
729721792EAC2B750045E55C /* AppEnvironmentProvider.m in Sources */ = {isa = PBXBuildFile; fileRef = 729721782EAC2B750045E55C /* AppEnvironmentProvider.m */; };

0 commit comments

Comments
 (0)