|
15 | 15 | --> |
16 | 16 | <uses-permission android:name="android.permission.INTERNET"/> |
17 | 17 |
|
18 | | - <!-- io.flutter.app.FlutterApplication is an android.app.Application that |
19 | | - calls FlutterMain.startInitialization(this); in its onCreate method. |
20 | | - In most cases you can leave this as-is, but you if you want to provide |
21 | | - additional functionality it is fine to subclass or reimplement |
22 | | - FlutterApplication and put your custom class here. --> |
23 | 18 | <application |
24 | | - android:name="com.pspdfkit.flutter.example.FlutterExampleApplication" |
| 19 | + android:name="androidx.multidex.MultiDexApplication" |
25 | 20 | android:label="pspdfkit_example" |
26 | 21 | android:icon="@mipmap/ic_launcher"> |
27 | 22 | <activity |
28 | | - android:name="com.pspdfkit.flutter.example.MainActivity" |
| 23 | + android:name="io.flutter.embedding.android.FlutterActivity" |
29 | 24 | android:launchMode="singleTop" |
30 | 25 | android:theme="@style/LaunchTheme" |
31 | 26 | android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale" |
32 | 27 | android:hardwareAccelerated="true" |
33 | 28 | android:windowSoftInputMode="adjustResize"> |
34 | | - <!-- This keeps the window background of the activity showing |
35 | | - until Flutter renders its first frame. It can be removed if |
36 | | - there is no splash screen (such as the default splash screen |
37 | | - defined in @style/LaunchTheme). --> |
| 29 | + <!-- Specify that the launch screen should continue being displayed --> |
| 30 | + <!-- until Flutter renders its first frame. --> |
38 | 31 | <meta-data |
39 | | - android:name="io.flutter.app.android.SplashScreenUntilFirstFrame" |
40 | | - android:value="true" /> |
| 32 | + android:name="io.flutter.embedding.android.SplashScreenDrawable" |
| 33 | + android:resource="@drawable/launch_background" /> |
| 34 | + <!-- Theme to apply as soon as Flutter begins rendering frames --> |
| 35 | + <meta-data |
| 36 | + android:name="io.flutter.embedding.android.NormalTheme" |
| 37 | + android:resource="@style/NormalTheme" /> |
41 | 38 | <intent-filter> |
42 | 39 | <action android:name="android.intent.action.MAIN"/> |
43 | 40 | <category android:name="android.intent.category.LAUNCHER"/> |
44 | 41 | </intent-filter> |
45 | 42 | </activity> |
| 43 | + <meta-data |
| 44 | + android:name="flutterEmbedding" |
| 45 | + android:value="2" /> |
46 | 46 | </application> |
47 | 47 | </manifest> |
0 commit comments