This repository was archived by the owner on Feb 25, 2025. It is now read-only.
File tree 2 files changed +2
-9
lines changed
shell/platform/darwin/ios 2 files changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ source_set("flutter_framework_source_arc") {
59
59
public_configs = [ " //flutter:config" ]
60
60
61
61
sources = [
62
+ " framework/Source/FlutterAppDelegate.mm" ,
62
63
" framework/Source/FlutterCallbackCache.mm" ,
63
64
" framework/Source/FlutterCallbackCache_Internal.h" ,
64
65
" framework/Source/FlutterChannelKeyResponder.h" ,
@@ -179,7 +180,6 @@ source_set("flutter_framework_source") {
179
180
# iOS embedder is migrating to ARC.
180
181
# New files are highly encouraged to be in ARC.
181
182
# To add new files in ARC, add them to the `flutter_framework_source_arc` target.
182
- " framework/Source/FlutterAppDelegate.mm" ,
183
183
" framework/Source/FlutterEngine.mm" ,
184
184
" framework/Source/FlutterEngineGroup.mm" ,
185
185
" framework/Source/FlutterEngine_Internal.h" ,
Original file line number Diff line number Diff line change @@ -31,13 +31,6 @@ - (instancetype)init {
31
31
return self;
32
32
}
33
33
34
- - (void )dealloc {
35
- [_lifeCycleDelegate release ];
36
- [_rootFlutterViewControllerGetter release ];
37
- [_window release ];
38
- [super dealloc ];
39
- }
40
-
41
34
- (BOOL )application : (UIApplication*)application
42
35
willFinishLaunchingWithOptions : (NSDictionary *)launchOptions {
43
36
return [_lifeCycleDelegate application: application willFinishLaunchingWithOptions: launchOptions];
@@ -286,7 +279,7 @@ - (id)forwardingTargetForSelector:(SEL)aSelector {
286
279
- (void )logCapabilityConfigurationWarningIfNeeded : (SEL )selector {
287
280
NSArray * backgroundModesArray =
288
281
[[NSBundle mainBundle ] objectForInfoDictionaryKey: kUIBackgroundMode ];
289
- NSSet * backgroundModesSet = [[[ NSSet alloc ] initWithArray: backgroundModesArray] autorelease ];
282
+ NSSet * backgroundModesSet = [[NSSet alloc ] initWithArray: backgroundModesArray];
290
283
if (selector == @selector (application:didReceiveRemoteNotification:fetchCompletionHandler: )) {
291
284
if (![backgroundModesSet containsObject: kRemoteNotificationCapabitiliy ]) {
292
285
NSLog (
You can’t perform that action at this time.
0 commit comments