Commit d01c55d2 authored by Chris Bracken's avatar Chris Bracken Committed by GitHub

Eliminate calls to deprecated FlutterInit() (#7770)

parent 32784d35
...@@ -6,7 +6,6 @@ ...@@ -6,7 +6,6 @@
#import <Flutter/Flutter.h> #import <Flutter/Flutter.h>
int main(int argc, char * argv[]) { int main(int argc, char * argv[]) {
FlutterInit(argc, (const char**)argv);
@autoreleasepool { @autoreleasepool {
return UIApplicationMain(argc, argv, nil, return UIApplicationMain(argc, argv, nil,
NSStringFromClass([FlutterAppDelegate class])); NSStringFromClass([FlutterAppDelegate class]));
......
...@@ -6,7 +6,6 @@ ...@@ -6,7 +6,6 @@
#import <Flutter/Flutter.h> #import <Flutter/Flutter.h>
int main(int argc, char * argv[]) { int main(int argc, char * argv[]) {
FlutterInit(argc, (const char**)argv);
@autoreleasepool { @autoreleasepool {
return UIApplicationMain(argc, argv, nil, return UIApplicationMain(argc, argv, nil,
NSStringFromClass([FlutterAppDelegate class])); NSStringFromClass([FlutterAppDelegate class]));
......
...@@ -7,7 +7,6 @@ ...@@ -7,7 +7,6 @@
#import "AppDelegate.h" #import "AppDelegate.h"
int main(int argc, char * argv[]) { int main(int argc, char * argv[]) {
FlutterInit(argc, (const char**)argv);
@autoreleasepool { @autoreleasepool {
return UIApplicationMain(argc, argv, nil, return UIApplicationMain(argc, argv, nil,
NSStringFromClass([AppDelegate class])); NSStringFromClass([AppDelegate class]));
......
...@@ -7,7 +7,6 @@ ...@@ -7,7 +7,6 @@
#import "AppDelegate.h" #import "AppDelegate.h"
int main(int argc, char * argv[]) { int main(int argc, char * argv[]) {
FlutterInit(argc, (const char**)argv);
@autoreleasepool { @autoreleasepool {
return UIApplicationMain(argc, argv, nil, return UIApplicationMain(argc, argv, nil,
NSStringFromClass([AppDelegate class])); NSStringFromClass([AppDelegate class]));
......
...@@ -7,7 +7,6 @@ ...@@ -7,7 +7,6 @@
#import "AppDelegate.h" #import "AppDelegate.h"
int main(int argc, char * argv[]) { int main(int argc, char * argv[]) {
FlutterInit(argc, (const char**)argv);
@autoreleasepool { @autoreleasepool {
return UIApplicationMain(argc, argv, nil, return UIApplicationMain(argc, argv, nil,
NSStringFromClass([AppDelegate class])); NSStringFromClass([AppDelegate class]));
......
...@@ -7,7 +7,6 @@ ...@@ -7,7 +7,6 @@
#import "AppDelegate.h" #import "AppDelegate.h"
int main(int argc, char * argv[]) { int main(int argc, char * argv[]) {
FlutterInit(argc, (const char**)argv);
@autoreleasepool { @autoreleasepool {
return UIApplicationMain(argc, argv, nil, return UIApplicationMain(argc, argv, nil,
NSStringFromClass([AppDelegate class])); NSStringFromClass([AppDelegate class]));
......
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
#import "AppDelegate.h" #import "AppDelegate.h"
int main(int argc, char * argv[]) { int main(int argc, char * argv[]) {
FlutterInit(argc, (const char**)argv);
@autoreleasepool { @autoreleasepool {
return UIApplicationMain(argc, argv, nil, return UIApplicationMain(argc, argv, nil,
NSStringFromClass([AppDelegate class])); NSStringFromClass([AppDelegate class]));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment