Commit 9b5285b2 authored by justin's avatar justin Committed by GitHub

Merge pull request #721 from lucky-chen/task/task_v1.12.13_support_hotfixes

迁移到embed2 api
parents 81ba0331 187d9ec3
......@@ -324,10 +324,10 @@ public class FlutterBoost {
FlutterMain.ensureInitializationComplete(
mPlatform.getApplication().getApplicationContext(), flutterShellArgs.toArray());
mEngine = new FlutterEngine(mPlatform.getApplication().getApplicationContext(),FlutterLoader.getInstance(),new FlutterJNI(),null,false);
mEngine = new FlutterEngine(mPlatform.getApplication().getApplicationContext(),FlutterLoader.getInstance(),new FlutterJNI(),null,true);
// registerPlugins(mEngine);
mRegistry = new BoostPluginRegistry(createEngine());
mPlatform.registerPlugins(mRegistry);
// mRegistry = new BoostPluginRegistry(createEngine());
// mPlatform.registerPlugins(mRegistry);
}
return mEngine;
......
......@@ -60,8 +60,8 @@
android:theme="@style/Theme.AppCompat"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density"
android:windowSoftInputMode="adjustResize"/>
<!--<meta-data android:name="flutterEmbedding"-->
<!--android:value="2">-->
<!--</meta-data>-->
<meta-data android:name="flutterEmbedding"
android:value="2">
</meta-data>
</application>
</manifest>
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