Questions tagged [flutter-engine]

46 questions
0
votes
1 answer

FlutterActivity not working when using cached engine

I am trying to open FlutterActivity in my existing android application. Before I was creating new flutter engine every time I was opening activity like this: FlutterActivity .withNewEngine() .build(context) And everything was working fine…
matip
  • 794
  • 3
  • 7
  • 27
0
votes
0 answers

my flutter engine.profiler (52): EXC_BAD_ACCESS (code=EXC_I386_GPFLT) in swift

I need to call the flutter engine all time .So I given the code as below. In the appdelegate.h file @property (nonatomic,strong) FlutterEngine *flutterEngine; In the appdelegate.m file - (BOOL)application:(UIApplication *)application…
0
votes
0 answers

flutter @JS annotation meaning

I'm trying to add sin and cos functions to the Flutter path. so I have been checking flutter engine codes. i have founded @JS('window.flutterCanvasKit.Paint') inside canvas_api.dart file. there are lots of @JS annotations. I think this is addressing…
reza
  • 1,354
  • 1
  • 7
  • 25
0
votes
0 answers

Painting child of a custom RenderProxyBox multiple times during single paint phase

I'm building a custom RenderObject to draw multiple portions of child widget in different positions and clipped differently (layout, hit testing, semantics and other RenderObject aspects are not revelant here). I managed to get it working, but code…
mfkw1
  • 920
  • 6
  • 15
0
votes
1 answer

Flutter Error: VM snapshot invalid and could not be inferred from settings. - When want to include Flutter module in android project

Use this Option B in link to include Flutter model. The project starts, but as soon as it comes to initializing the FlutterEngine, this error is thrown. 2021-12-10 13:54:09.300 12446-12446/ua.silpo.android.mtest E/flutter:…
greengo
  • 99
  • 4
0
votes
1 answer

Error while while compiling arm64 flutter engine

I am having issues while compiling the engine. I followed this steps to compile the engine. And have tried iOS simulator build with the following command: sudo ./flutter/tools/gn --ios --simulator --unoptimized && sudo ./flutter/tools/gn…
Kartik Garasia
  • 1,324
  • 1
  • 18
  • 27
0
votes
1 answer

How to get or cache the main flutter engine?

My goal is to display a screen even if the phone is locked I looked for a solution to do that in flutter but I haven't found one. So I want to start a new FlutterActivity in android native code but I don't want to create a new flutter engine. Is it…
sitatech
  • 1,311
  • 11
  • 17
0
votes
0 answers

How can communicate between my Android module and Flutter Module?

Currently, I have integrated flutter in my existing Android Module using Flutter cached Engine. Is there a way that I can pass the data as we do in android using Bundles
0
votes
1 answer

Flutter I want to get navigator from my Gridview to different pages

I want to navigate to a different page with every single page in the photo or it's better to use ListView.
0
votes
1 answer

Where libflutter.so come from?

First I thought libflutter.so is coming from flutter engine. But when I compile it by myself it seems not. Since Flutter is an open source project, there might be a way to compile my own libflutter.so. Is there any way I can compile my own…
leo liao
  • 79
  • 4
0
votes
1 answer

How to build frontend_server.dart.snapshot for linux arm?

Anyone knows how to build a frontend_server.dart.snapshot for linux arm/arm64? source code https://github.com/flutter/engine/tree/master/flutter_frontend_server flutter engine version v1.20.1 dart-sdk version Dart SDK version: 2.9.0 (stable) (Fri…
kakapowu
  • 11
  • 2
0
votes
2 answers

Flutter invalid compressed data to inflate. bad zipfile offset

I've been building my App for IOS on a Macbook. The build and installation on a physical Iphone was successfull. But it kept crashing without any error message as soon as Firebase_Auth.verifyPhoneNr() was called. I then switched to flutters beta…
Xentrax
  • 81
  • 3
  • 9
0
votes
0 answers

Flutter background task

I'm trying to run a task in backgroung (do not respond with an existing plug-in), but on the first run I get this error "-32601 received from application: Method not found" step by step I have a method that sends, via MethodChannel, to the native a…
-1
votes
1 answer

how to solveBuild failed with an exception in flutter?

Build failed with an exception. Where: Script 'C:\flutter_windows_1.17.5-stable\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 896 What went wrong: Execution failed for task ':app:compileFlutterBuildDebug'. Process 'command…
-1
votes
1 answer

Flutterengine: App crashes after entering release mode

Frnds... I'm facing a severe issue in release mode after I build an app... It crashes after launching the app... I got the following error in the console as "Tried to send viewport metrics from Android to Flutter but this FlutterView was not…
Gokulb1998
  • 21
  • 2