mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-27 19:56:57 +02:00
Make PushNotificationService not singleton
Signed-off-by: ismailgulek <gulekismail@gmail.com>
This commit is contained in:
@@ -26,23 +26,6 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface PushNotificationService : NSObject <PKPushRegistryDelegate, UNUserNotificationCenterDelegate>
|
||||
|
||||
/**
|
||||
Return the shared Push Notificatoin service.
|
||||
|
||||
@return the shared Push Notificatoin service.
|
||||
*/
|
||||
+ (instancetype)sharedInstance;
|
||||
|
||||
/**
|
||||
* Unavailable initializer. Use sharedInstance.
|
||||
*/
|
||||
+ (instancetype)new NS_UNAVAILABLE;
|
||||
|
||||
/**
|
||||
* Unavailable initializer. Use sharedInstance.
|
||||
*/
|
||||
- (instancetype)init NS_UNAVAILABLE;
|
||||
|
||||
/**
|
||||
Is push really registered.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user