Currently we are seeing issue with integrating flutter in our existing iOS project.
We are following document from here
When we are calling flutterViewController (in main.dart file we have added our code for showing Googlemaps), it is just showing an empty view.
I have tested the same via Runner.xcworkspace project and there it is working fine, there we are able to see map properly.
I just want to understand is there any bug associated with integrating flutter as module using Pods.
Adding the sample project.
maps.zip
Steps to get this project running.
Steps to Reproduce
- Download the sample project
- navigate to
maps/flutter/product_flutter directory
- run
flutter clean followed by flutter pub get
- move to main directory
maps
- now perform
pod install
- update the
API key in AppDelegate.swift file
- run the app and click on the center button
- it should launch flutter view, having white screen.
Expected results:
Actual results:
Code sample
Logs