Skip to content

Commit 2714e14

Browse files
committed
feat: add a splash screen (need test on android)
1 parent 74164cd commit 2714e14

File tree

44 files changed

+473
-78
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+473
-78
lines changed

android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@ public static void registerWith(@NonNull FlutterEngine flutterEngine) {
4040
} catch (Exception e) {
4141
Log.e(TAG, "Error registering plugin flutter_inappwebview_android, com.pichillilorenzo.flutter_inappwebview_android.InAppWebViewFlutterPlugin", e);
4242
}
43+
try {
44+
flutterEngine.getPlugins().add(new net.jonhanson.flutter_native_splash.FlutterNativeSplashPlugin());
45+
} catch (Exception e) {
46+
Log.e(TAG, "Error registering plugin flutter_native_splash, net.jonhanson.flutter_native_splash.FlutterNativeSplashPlugin", e);
47+
}
4348
try {
4449
flutterEngine.getPlugins().add(new io.github.ponnamkarthik.toast.fluttertoast.FlutterToastPlugin());
4550
} catch (Exception e) {
6.05 KB
Loading
6.05 KB
Loading
3.45 KB
Loading
3.45 KB
Loading
6.05 KB
Loading
3.45 KB
Loading
8.22 KB
Loading
13.4 KB
Loading
19.6 KB
Loading

0 commit comments

Comments
 (0)