Open NMNiOS opened 8 years ago
you can install this plugin using "cordova" CLI tool by using this command
cordova plugin add cordova-plugin-x-socialsharing
@Dineshrajaa I am getting this error " Error: Current working directory is not a Cordova-based project." Please help me to get rid of this error.
can you please paste the result of ls
you need to create a cordova app for using this plugin
mani please do the following things
1)create a cordova project using
cordova create MyCordovaApp com.mani.mycordovaapp MyCordovaApp
2)cd MyCordovaApp
3)Then add this plugin with cordova plugin add cordova-plugin-x-socialsharing --save
4)Then add ios platform using cordova platform add ios
5)Now build the ios app using cordova build ios
6)Open files and search for .xcodeproject file under MyCordovaApp/platforms/ios/ double click that and it will open the app in xcode then you have to make the code for using this plugin
@Dineshrajaa I will do the above mentioned steps and let you know asap This is my first app I have been instructed to build an native app, so I am proceeding with this...
@Dineshrajaa I have added these files (SocialSharing.h and SocialSharing.m) into my project. Can I carryout installation with these files inside?
@NMNiOS but cordova is an hybrid apps framework
@Dineshrajaa Is there any similar native plugins?
I am not sure I am not an native apps developer :)
@Dineshrajaa I have did all the steps as instructed, please let me know the necessary steps to proceed further...
follow this please Using this plugin, you can learn cordova apps development from different tutorials on web
@Dineshrajaa I opened the Xcode project file (MyCordovaApp) but there I don't find any of my previous work in it. Is there anything wrong with it?Can you please share your email id?
Now you have created a new app now open MyCordovaApp/www/index.html you need to work on this file from now
@Dineshrajaa Is there any possibility of integrating my previous work ?
can you create a repo of your previous work so I can take a look at it?
@Dineshrajaa sorry I cant share the entire work, as there is no permission for that.All I want is to add the plugin into previous work as I have finished 60% of work.
Sir please provide me the steps, I have been struggling to install the plugin for the past three days.