Revert "Revert "fix: remove proprietary classes from build""

This reverts commit 054a56ae18a04fc64f09756958c8217c7284c984...b36156a2d4c9b46911afecda56400b20c36f2946.

In total, this is the reverted reverted reverted reverted commit.
Hopefully the last time to revert...

Signed-off-by: TheOneWithTheBraid <the-one@with-the-braid.cf>
This commit is contained in:
TheOneWithTheBraid 2022-05-26 11:09:10 +02:00
commit d0e6c2103f
5 changed files with 109 additions and 134 deletions

View file

@ -7,11 +7,13 @@ import android.content.Context
import androidx.multidex.MultiDex
class MainActivity : FlutterActivity() {
override fun attachBaseContext(base: Context) {
super.attachBaseContext(base)
MultiDex.install(this)
}
override fun provideFlutterEngine(context: Context): FlutterEngine? {
return provideEngine(this)
}