hunk.code_window:   React.useEffect(() => {
       async function refetchThenGoBackAsync() {
         // after logging in, wait for redux action to dispatch, refetch with new sessionSecret, then dismiss modal
         if (isFinishedAuthenticating && sessionSecretExists) {
           try {
             await ApolloClient.resetStore();
             await refetch();
           } finally {
             // in the case that it rejects, we still want to dismiss the modal
  
hunk.labels: keep keep keep keep keep replace keep keep keep
hunk.file_path: home/screens/AccountModal/LoggedOutAccountView.tsx
hunk.type: replace
file: // Copyright 2016-present 650 Industries. All rights reserved.
  
  #import <UserNotifications/UserNotifications.h>
  #import "ABI45_0_0EXScopedBridgeModule.h"
  #import "ABI45_0_0EXScopedModuleRegistry.h"
  
  NS_ASSUME_NONNULL_BEGIN
  
  @protocol ABI45_0_0EXUserNotificationCenterService
  
  - (void)requestAuthorizationWithOptions:(UNAuthorizationOptions)options completionHandler:(void (^)(BOOL granted, NSError *__nullable error))completionHandler;
  
  - (void)setNotificationCategories:(NSSet<UNNotificationCategory *> *)categories;
  - (void)getNotificationCategoriesWithCompletionHandler:(void(^)(NSSet<UNNotificationCategory *> *categories))completionHandler;
  
  - (void)getNotificationSettingsWithCompletionHandler:(void(^)(UNNotificationSettings *settings))completionHandler;
  
  - (void)addNotificationRequest:(UNNotificationRequest *)request withCompletionHandler:(nullable void(^)(NSError *__nullable error))completionHandler;
  
  - (void)getPendingNotificationRequestsWithCompletionHandler:(void(^)(NSArray<UNNotificationRequest *> *requests))completionHandler;
  - (void)removePendingNotificationRequestsWithIdentifiers:(NSArray<NSString *> *)identifiers;
  - (void)removeAllPendingNotificationRequests;
  
  @end
  
  @protocol ABI45_0_0EXNotificationsScopedModuleDelegate
  
  - (void)getApnsTokenForScopedModule:(id)scopedModule
                    completionHandler:(void (^)(NSString * _Nullable, NSError * _Nullable))handler;
  - (void)getExpoPushTokenForScopedModule:(id)scopedModule
                        completionHandler:(void (^)(NSString * _Nullable pushToken, NSError * _Nullable error))handler;
  
  @end
  
  @protocol ABI45_0_0EXNotificationsIdentifiersManager
  
  - (NSString *)internalIdForIdentifier:(NSString *)identifier scopeKey:(NSString *)scopeKey;
  - (NSString *)exportedIdForInternalIdentifier:(NSString *)identifier;
  
  @end
  
  @interface ABI45_0_0EXNotifications : ABI45_0_0EXScopedBridgeModule
  
  @end
  
  NS_ASSUME_NONNULL_END
  