Passing custom object through method channel flutter

I am trying to pass a custom object which is of type <code>User</code> from native platform to Flutter. The <code>User</code> class is part of a library and not access...

Show an Image in applicationWillResignActive in Swift 5

So, I'm trying to show an image on the recent screen when the app goes to the background. I have achieved a blur effect, but I want to replace the blur with an image o...

Flutter ios archive app undefined symbols

I'm trying to archive an app on the apple store but I get this error, everything works correctly in debug. How can I fix it? Undefined symbols for architecture...

Reset flutter views when leaving flutter module inside native app

I have to include a FlutterViewController as part of my native App. The Engine is created on app start. If the user clicks on an item in a native view the Flutter App...

How to use swift in Flutter?

I am coding an application using Swift for six months. I recently discovered Flutter. Is it possible to exploit the whole Swift project on Flutter? If not, are there a...

Which view controller should I pass in my Swift native code for a Flutter plugin?

I am trying to show an Adcolony ad from Swift native code in my Flutter plugin, this is how my swift code looks like - <pre><code> if let interstitial = self.int...

Which is the right way to generate a Podfile in flutter?

For me, there are two ways to generate a pod file after deleting it the first one is by running flutter pub get and then a pod file will be generated in the following...

How to call native iOS function from Flutter using the Pigeon package?

I am trying to integrate some native code in my project. For that, I am using the new Pigeon package: <a href="https://pub.dev/packages/pigeon" rel="nofollow noreferre...

Replacing guard by switch or if-else

Below code is part of using <a href="https://flutter.io/docs/development/platform-integration/platform-channels" rel="nofollow noreferrer">platform-channels</a> in <a...

Ideal Height for Admob Native ads in Flutter(Medium size, not small)

I am trying to show native ads in Flutter. <a href="https://codelabs.developers.google.com/codelabs/admob-inline-ads-in-flutter" rel="nofollow noreferrer">https...

How to check if the Time Sensitive Notifications permission has been granted or revoked by the user in iOS?

iOS 15+'s Time Sensitive Notifications is normally granted by default when user consents to notifications, but may be revoked by the user later, especially...

Why SwiftUI use associatedtype for the body?

<pre class="lang-swift prettyprint-override"><code>public protocol View { /// The type of view representing the body of this view. /// /// When you create a...

module cloud_firestore not found (Flutter)

I am having this error when I am building my app with Xcode 'module 'cloud_firestore' not found. [enter image description here][1] I have updated my Cocoapods to 1.9.3...

How to call arguments from Flutter in Swift native code?

I am trying to use PlatformViews in Flutter to show Swift code natively in my Flutter app, however my app is crashing with my current code. This is my AppDeleg...

Turn off splash screen when using FlutterViewController within existing native app

I'm extending our existing Swift iOS app with pieces of our Android app, built in Flutter. It works fine, however when I segue to the FlutterViewController, the splash...