Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get listed my ionic app in the share menu in iphone?

I have an Ionic 3 app, where in i want the app to be placed in the share list in iPhone similarly like this, enter image description here

This Share option should be placed while the User access the gallery and then when pressed on share button my ionic app should be placed along with whatsapp, facebook etc.

I have went through so many links to find out the answer ,

Make Ionic app appear in “Share” list and receive data : This will work for android phones only ( web -intent works only for android)

My app inside iMessage UIActivityViewController [duplicate] I have tried to add this answer but i didn't got the info.plist file in my folder structure.

As said before i am using Ionic 3 framework, Is there any external plugin that i need to install to add my ionic app in share list ( in iPhone ).

Is there are any suitable docs available so that i can be able to get the desired result.

Any help appreciated.

like image 941
Shreyas Achar Avatar asked Oct 15 '22 09:10

Shreyas Achar


1 Answers

For the Ionic 3 framework, you still set up an Xcode project. These steps are nothing to do with The Framework. It's all about That Xcode project which you set up and build. If you don't Here is the Ionic link.

Now Once you have the Xcode project.

Go to File -> New -> Target

In the Application Extention section, you will see Share Extension Click and Next,

Fill the required information. Now run your application (This will install the extension in the simulator or device) put the app in the background and go to the gallery, open any image and click the share button. Check if you can see your application name/icon in the list. Check the following screenshots. Screenshot for adding extention Screenshot for checking extention

Now you need to follow apple guidelines for developing a share extension Here.

like image 65
Ravi Prakash Avatar answered Nov 01 '22 11:11

Ravi Prakash