Make PushNotificationService not singleton

Signed-off-by: ismailgulek <gulekismail@gmail.com>
This commit is contained in:
ismailgulek
2020-04-30 15:43:08 +03:00
parent fc3647c0a1
commit baad108205
5 changed files with 36 additions and 45 deletions
@@ -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.
*/