Create new contact using flutter web - flutter

So I have this "Save Contact" button in flutter web and I want when clicking on it either save a vcf on the device laptop/android/ios or open an add new contact default form in the device and add these infos in it I tried some packages but they support only android and ios not web and I also tried to make the vcf manually but I couldn't get the path because path provider only support android and ios
So How can I do that?

Use this package - contacts_service
you can save all necessary user information

Related

flutter Share_plus dosenot show .vcf file contacts option Android

I'm trying to share the .vcf file using the share_plus package in flutter but it doesn't show the option to share to contact book like in IOS shows the contact option.

How to use QR code scan to check if the app is installed or not ? and redirect in flutter

I'm trying to design an application using Flutter framework where i need two features using QR Code scanner. Features as follows,
If the app is installed QR code scanner (when scanning from the app it self) should open a url link in browser (within the app is self)
If the app is not installed scanning the QR code from device it self should take the user to play/app store or to a website.
how can i achieve this using flutter and dart? any sample workout will be more than helpful.
You need to use Firebase Dynamic Links or a similar service.
FDL allows you to do exactly what you want.
Basically you specify an app identifier in the console, then in your app's info.plist + manifest.xml you specify the domain you used for the link generation.
The way it works is FDL will try to open the link locally on the device, if the app is already installed then it will launch the app, otherwise you can decide to redirect to a specified URL or to the platform app store and open your app page.

How to save contact detail collected in flutter to native address book

I am working on a simple project which is help to save your contact number.So my question is that how can i implicit my data in contact application and jump into contact application using flutter.I hope you understand what am i saying.
I could see 2 plugins in pub.dev that can do this for you in Android and iOS.
flutter_contact - A Flutter plugin to retrieve, create and save contacts and contact-related events on Android and iOS devices.
contacts_service - A Flutter plugin to retrieve and manage contacts on Android and iOS devices.
Please have a look into them.
PS: Also checkout flutter_simple_permissions for asking user for appropriate permissions

Support custom file extension in a flutter app ( Open file with extension .abc in flutter )

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.

Creating xcode project dynamically

I have to create a web application where user can create thier own iphone and android app for book, they can give inputs for book icons, can upload file in epub, pdf , txt format.
Can someone please suggest possible solution for how can I do it for iphone?
I have an idea of creating android project from command line and can also do the same from with in the application.
How will you run the android app created by your web on android device?