Currently in the setMethodCallHandler block of backgroundMethodChannel a UIBackgroundFetchResult is created using the flutter result Int like so:
UIBackgroundFetchResult(rawValue: UInt(fetchResult))
We shouldn't rely on the internal ordering of UIBackgroundFetchResult cases, as they could change with future iOS releases.
Currently in the
setMethodCallHandlerblock ofbackgroundMethodChannelaUIBackgroundFetchResultis created using the flutter resultIntlike so:UIBackgroundFetchResult(rawValue: UInt(fetchResult))We shouldn't rely on the internal ordering of
UIBackgroundFetchResultcases, as they could change with future iOS releases.