xref: /expo/packages/expo-notifications/ios/EXNotifications/PushToken/EXPushTokenManager.h (revision efd75dec)
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2018-present 650 Industries. All rights reserved.
2 
3 #import <Foundation/Foundation.h>
4 #import <UIKit/UIKit.h>
5 #import <ExpoModulesCore/EXSingletonModule.h>
6 #import <EXNotifications/EXPushTokenListener.h>
7 
8 NS_ASSUME_NONNULL_BEGIN
9 
10 @protocol EXPushTokenManager
11 
12 - (void)addListener:(id<EXPushTokenListener>)listener;
13 - (void)removeListener:(id<EXPushTokenListener>)listener;
14 
15 @end
16 
17 @interface EXPushTokenManager : EXSingletonModule <UIApplicationDelegate, EXPushTokenManager>
18 
19 - (void)application:(UIApplication *)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken;
20 - (void)application:(UIApplication *)application didFailToRegisterForRemoteNotificationsWithError:(NSError *)error;
21 
22 @end
23 
24 NS_ASSUME_NONNULL_END
25 

served by {OpenGrok

Last Index Update: Tue Oct 21 18:42:31 GMT 2025