Questions tagged [flutter-module]
43 questions
8
votes
2 answers
How i can add flutter module to android app with AndroidStudio BumbleBee
I can't find "Flutter Module" in Modules

Abd Nezar
- 341
- 4
- 8
3
votes
1 answer
How to add Google Maps to a flutter module that is used inside a native iOS app
I have a native iOS app which is integrating a flutter module for a few features.
Now for a new feature, I need to integrate Google maps inside the flutter module.
The documentation says we need to add Google maps initialization code inside…

Zakaria
- 1,040
- 3
- 13
- 28
2
votes
1 answer
How to use firebase in flutter module?
I have embedded the flutter module in my iOS project. I use firebase in native project. Now I want to use firebase in flutter module too. But when I try to call Firebase.initializeApp() in flutter main, the engine seems stuck and no page is…

Ming
- 21
- 1
2
votes
1 answer
No Flutter module found
In my android studio, I've installed the flutter & Dart plugin. I can create a new flutter project. I want to create a flutter module in my android project. But the android studio is unable to show the option. How to resolve it?
No Flutter Module…

Abhishek VD
- 65
- 1
- 9
2
votes
1 answer
Flutter Module won't build in iOS
I'm getting this error when trying to build iOS app with flutter module injected in it. I added the FLUTTER_ROOT and flutter dependencies in pod are successfully installed but the build fails getting this error:
ERROR: Unknown FLUTTER_BUILD_MODE:…

Lukas Luke Stateczny
- 513
- 8
- 24
2
votes
1 answer
Flutter module get dependencies used into another module
I'm developing a Flutter project to study modularization. So, for the first time, I'm setting the project with core, design and feature modules, besides the project module. I'm gonna use provider for dependency injection and state management and…

Murillo Maciel
- 21
- 1
1
vote
1 answer
How to add dart-define in build.gradle on a Flutter Plugin?
I have the following app structure:
- Main app (Android native)
- Flutter module (aar)
- Flutter plugin
The main Android App uses a Flutter module that contains some Flutter plugins.
One of this plugins requires a set of dart-define variables.
I…

siega
- 2,508
- 1
- 19
- 22
1
vote
0 answers
Making a Dart function callable from JavaScript
Making a Dart function callable from JavaScript
I'm trying to integrate a flutter module into a PWA application. I would like to access one Dart function from PWA using JS after the flutter web build is taken for integration. Used the following…

Renitto Jose
- 21
- 4
1
vote
0 answers
Flutter module in native ios app is not completely closing the module
I'm facing issue after integrating flutter module into a native ios app. After closing the flutter module either by using SystemNavigator.pop(animated:true), when trying to open it again from native ios app, the flutter module lands on the recently…

Sara Lisa
- 11
- 1
1
vote
1 answer
How to handle back button on appBar of Scaffold layout in flutter module and navigate to previous page on the host app
I have a question, I have to create a flutter module and integrate it directly into the host app. I want to handle the back button on flutter UI by clicking it and navigating to the previous page on the host app. I use go_router to handle navigation…
1
vote
0 answers
Missing required attribute: dependency groupId while using flutter module .aar file in android
I have integrated flutter plugin inside flutter module and it is working fine as expected but when an .aar file is generated and imported in another android app below error apprears
Missing required attribute: dependency groupId
I have integrated…

Mahin Munir
- 11
- 1
1
vote
0 answers
Android project building fails after adding Flutter module
I'm trying to add a Flutter module to an existing Android app, I tried as Docs step by step https://docs.flutter.dev/.../add-to.../android/project-setup.
but it fails when running and throws this error:
Execution failed for task…

Sara Kisar
- 11
- 2
1
vote
0 answers
Creating Flutter AAR file using different lib/main_XXX.dart file
Everyone. So I am trying to integrate Flutter module inside App(Android app).
So, I have followed this tutorial and everything worked correctly.
To build an aar file the command is
cd some/path/my_flutter
flutter build aar
As per my project…

AkshayT
- 2,901
- 2
- 28
- 32
1
vote
1 answer
flutter: sqflite database getting locked though using transaction on Android
I have native Android application which send Map() data to embedded flutter module every 50ms through EventChannel, and flutter module add received data to Database (flutter module has no UI).
In android activity, pressing a button will send the…

Coffeeeeeeeeee
- 11
- 3
1
vote
1 answer
Build flutter app with different flutter modules
I have my native application, which we want to change into flutter. For that, we have decided to build multiple flutter modules and add that to the existing native application. I am not sure whether flutter support building multiple modules in a…

rohit shivankar
- 11
- 2