hunk.code_window: An object representing an [asset](#asset).
   ### `MediaLibrary.saveToLibraryAsync(localUri)`
   Saves the file at given `localUri` to the user's media library. On **iOS 11+**, it's possible to use this method without asking for `CAMERA_ROLL` permission, however then yours `Info.plist` should have `NSPhotoLibraryAddUsageDescription` key.
   #### Arguments
   - **localUri (_string_)** -- A URI to the image or video file. It must contain an extension. On Android it must be a local path, so it must start with `file:///`.
  
hunk.labels: keep keep keep keep keep replace keep keep keep keep
hunk.after_edit: Saves the file at given `localUri` to the user's media library. Unlike [`createAssetAsync()`](#medialibrarycreateassetasynclocaluri), this method doesn't return created asset.
   On **iOS 11+**, it's possible to use this method without asking for `CAMERA_ROLL` permission, however then yours `Info.plist` should have `NSPhotoLibraryAddUsageDescription` key. 
  
hunk.file_path: docs/pages/versions/v37.0.0/sdk/media-library.md
hunk.type: replace
file: //
  // Created by Oleksii Pavlovskyi on 2/2/17.
  // Copyright (c) 2017 Airbnb. All rights reserved.
  //
  
  #include <TargetConditionals.h>
  
  #if !TARGET_OS_IPHONE && !TARGET_OS_SIMULATOR
  #import "CALayer+Compat.h"
  
  @implementation CALayer (Compat)
  
  - (BOOL)allowsEdgeAntialiasing { return NO; }
  - (void)setAllowsEdgeAntialiasing:(BOOL)allowsEdgeAntialiasing { }
  
  @end
  
  #endif
  