• C
    Guard availability of user notification related methods to iOS 10.0 (#12084) · 03e773a9
    Chinmay Garde 提交于
    * `NS_AVAILABLE_IOS(10_0)` makes us tell our compiler that the method needs
      to be stamped into the TU but we promise to do stuff in it only on iOS 10.0
      and above.
    * `@availability` ensures that if those methods are called on iOS versions less
      than 10.0, we will do nothing with it. This guards us against the case where
      iOS introduced the functionality privately in older versions of iOS.
    03e773a9
FlutterAppDelegate.mm 9.8 KB