I have a swift project and I want to integrate this project into flutter project. I know little about Swift so I'm having a problem somewhere.
When I click a button on the Flutter side, i can open a native page via methodchannel. I have no problem with this part.
I'm using a package and the protocol of this package triggers a method when a notification is received on the phone. I can't get this method to trigger. How can I do that?
I copied the page in the Swift project and opened this page when the notification came. But this method does not work when the app is in the background.
Related
I am trying to create an app launcher with flutter but failing to implement the functionality of turning screen of on double tap.
is there any package that can help me
You could use the flutter_app_lock package but what I'd recommend using platform specific methods to send your request from your flutter app to the system platform.
And if you want there's a package for sending requests too. The package is called Pigeon and you can find more about sending requests to android or swift in this link: https://docs.flutter.dev/development/platform-integration/platform-channels?tab=type-mappings-swift-tab
I am developing a Xamarin.iOS app. Some functionality is not possible for me to do in Xamarin that I have seen that they are able to do in Swift code.
When searching I came across something called "library bindings" and just want to see if I have understood it correctly.
To my understanding, I would be able to download a SDK to a Xcode project, and through binding use that code in my Xamarin app?
For example: Download Facebook Audience Network SDK to Xcode, bind it to Xamarin and then be able to download ads from my Xamarin code?
Here iam working with Unity+Vuforia and Flutter
While i play and build the unity app in the unity with vuforia, it works fine
But after i export it to my flutter project using this method, when i press the button from my app to open the unity scene, it says : error screenshot
Any suggestions?
Regards, Slim
The package is corrupted, you can see the many problems in the issues section. Unity runs better on flutter using this package. You can see a full integration example we created in this repo.
So I am exporting a file created in my application with extension .abc
Now, if the user shares the file on whatsapp or telegram or any other platform and when other user tries to open the file, the "open with" dialog should appear with my application in the list.
I have tried following approach which does not work plus it is only for Android and I am looking for multi-platform solution to this.
Is it possible to register a Flutter app as an Android Intent Filter and to handle Incoming Intents?
I was able to compile the app using above method but could not populate "Open with" dialog with my app's name
Thank you for your time.
EDIT 1:
So I have successfully added this functionality for android but I am still trying to add the same functionality for my iPhone users.
Can someone please help me with swift code part in iOS ??
I am not familiar with swift language but I want my users to be able to use same functionality on both platforms.
I have found a solution for iOS:
You can use the Uni Links package to get the notifications into your Flutter app.
You then need to manually add the file types in the Info.plist for the XCode project. You can find an explanation for example here.
I am trying to launch a third-party app from my flutter but I’m not getting anywhere. In this case, I am trying to open the app “Amazon Alexa” by clicking on a raised button in Flutter. Can anyone help me out?
I tried to use url_launcher but it didn’t work out with third-party apps.
yes, some packages are available but the issue is, these are still in the early stages.
so for that, you need to move to the native side.