hunk.code_window:           mimeType = "*/*";
           }
         }
         Intent intent = Intent.createChooser(createSharingIntent(contentUri, mimeType), params.getString(DIALOG_TITLE_OPTIONS_KEY));
         mModuleRegistry.getModule(ActivityProvider.class).getCurrentActivity().startActivityForResult(intent, REQUEST_CODE);
         mPendingPromise = promise;
       } catch (InvalidArgumentException e) {
  
hunk.labels: keep keep keep keep add keep keep keep keep
hunk.after_edit:       List<ResolveInfo> resInfoList = mContext.getPackageManager().queryIntentActivities(intent, PackageManager.MATCH_DEFAULT_ONLY);
         for (ResolveInfo resolveInfo : resInfoList) {
           String packageName = resolveInfo.activityInfo.packageName;
           mContext.grantUriPermission(packageName, contentUri, Intent.FLAG_GRANT_READ_URI_PERMISSION);
         }
  
hunk.file_path: packages/expo-sharing/android/src/main/java/expo/modules/sharing/SharingModule.java
hunk.type: add
file: // Copyright 2015-present 650 Industries. All rights reserved.
  
  @import UIKit;
  
  #import "ABI38_0_0EXDisabledDevLoadingView.h"
  #import "ABI38_0_0EXDevSettings.h"
  
  @implementation ABI38_0_0EXDisabledDevLoadingView {
    BOOL _isObserving;
  }
  
  + (NSString *)moduleName { return @"ABI38_0_0RCTDevLoadingView"; }
  
  
  ABI38_0_0RCT_EXPORT_METHOD(hide)
  {
    ABI38_0_0RCTDevSettings *settings = [[super bridge] devSettings];
    BOOL isFastRefreshEnabled = [settings isHotLoadingEnabled];
    if (_isObserving && isFastRefreshEnabled) {
      [self sendEventWithName:@"devLoadingView:hide" body:@{}];
    }
  }
  
  ABI38_0_0RCT_EXPORT_METHOD(showMessage:(NSString *)message color:(UIColor *)color backgroundColor:(UIColor *)backgroundColor)
  {
    ABI38_0_0RCTDevSettings *settings = [[super bridge] devSettings];
    BOOL isFastRefreshEnabled = [settings isHotLoadingEnabled];
    if (_isObserving && isFastRefreshEnabled) {
      [self sendEventWithName:@"devLoadingView:showMessage" body:@{@"message":message}];
    }
  }
  
  - (NSArray<NSString *> *)supportedEvents
  {
    return @[@"devLoadingView:showMessage", @"devLoadingView:hide"];
  }
  
  - (void)startObserving
  {
    _isObserving = YES;
  }
  
  - (void)stopObserving
  {
    _isObserving = NO;
  }
  
  @end
  
  