hunk.code_window:       NSInteger expiration = [result.token.expirationDate timeIntervalSince1970];
         resolve(@{ @"type": @"success", @"token": result.token.tokenString, @"expires": @(expiration) });
       }];
     });
   }
   + (id)facebookAppIdFromNSBundle
  
hunk.labels: keep replace replace replace keep keep keep keep
hunk.after_edit:         NSInteger expiration = [result.token.expirationDate timeIntervalSince1970];
           resolve(@{ @"type": @"success", @"token": result.token.tokenString, @"expires": @(expiration) });
         }];
       }
       @catch (NSException *exception) {
         NSString *message = [@"An error occurred while trying to log in to Facebook: " stringByAppendingString:exception.reason];
         reject(@"E_FBLOGIN_ERROR", message, nil);
       }
  
hunk.file_path: ios/Exponent/Versioned/Core/Api/EXFacebook.m
hunk.type: replace
file: /**
   * Copyright (c) 2015-present, Horcrux.
   * All rights reserved.
   *
   * This source code is licensed under the MIT-style license found in the
   * LICENSE file in the root directory of this source tree.
   */
  
  #import <React/RCTBridge.h>
  #import <React/RCTUIManager.h>
  #import "RNSVGSvgViewManager.h"
  #import "RNSVGSvgView.h"
  
  @implementation RNSVGSvgViewManager
  
  RCT_EXPORT_MODULE()
  
  - (UIView *)view
  {
      return [RNSVGSvgView new];
  }
  
  RCT_EXPORT_VIEW_PROPERTY(minX, CGFloat)
  RCT_EXPORT_VIEW_PROPERTY(minY, CGFloat)
  RCT_EXPORT_VIEW_PROPERTY(vbWidth, CGFloat)
  RCT_EXPORT_VIEW_PROPERTY(vbHeight, CGFloat)
  RCT_EXPORT_VIEW_PROPERTY(align, NSString)
  RCT_EXPORT_VIEW_PROPERTY(meetOrSlice, RNSVGVBMOS)
  
  RCT_EXPORT_METHOD(toDataURL:(nonnull NSNumber *)reactTag callback:(RCTResponseSenderBlock)callback)
  {
      [self.bridge.uiManager addUIBlock:^(RCTUIManager *uiManager, NSDictionary<NSNumber *,UIView *> *viewRegistry) {
          __kindof UIView *view = viewRegistry[reactTag];
          if ([view isKindOfClass:[RNSVGSvgView class]]) {
              RNSVGSvgView *svg = view;
              callback(@[[svg getDataURL]]);
          } else {
              RCTLogError(@"Invalid svg returned frin registry, expecting RNSVGSvgView, got: %@", view);
          }
      }];
  }
  
  @end
  