File tree Expand file tree Collapse file tree 3 files changed +27
-0
lines changed
mecury_project/example/flutter_widget_of_the_week
android/app/src/main/kotlin/com/example/flutter_widget_of_the_week Expand file tree Collapse file tree 3 files changed +27
-0
lines changed Original file line number Diff line number Diff line change
1
+ package com.example.flutter_widget_of_the_week
2
+
3
+ import android.os.Bundle
4
+
5
+ import io.flutter.app.FlutterActivity
6
+ import io.flutter.plugins.GeneratedPluginRegistrant
7
+
8
+ class MainActivity : FlutterActivity () {
9
+ override fun onCreate (savedInstanceState : Bundle ? ) {
10
+ super .onCreate(savedInstanceState)
11
+ GeneratedPluginRegistrant .registerWith(this )
12
+ }
13
+ }
Original file line number Diff line number Diff line change
1
+ import UIKit
2
+ import Flutter
3
+
4
+ @UIApplicationMain
5
+ @objc class AppDelegate : FlutterAppDelegate {
6
+ override func application(
7
+ _ application: UIApplication ,
8
+ didFinishLaunchingWithOptions launchOptions: [ UIApplication . LaunchOptionsKey : Any ] ?
9
+ ) -> Bool {
10
+ GeneratedPluginRegistrant . register ( with: self )
11
+ return super. application ( application, didFinishLaunchingWithOptions: launchOptions)
12
+ }
13
+ }
Original file line number Diff line number Diff line change
1
+ #import " GeneratedPluginRegistrant.h"
You can’t perform that action at this time.
0 commit comments