Page 7 of 9

Miscellaneous Issues with App

Posted: Tue Feb 25, 2014 3:05 pm
by Maryna Brodina

Hello! Did you rename screen Camera to something else, for example CameraScreen?


Miscellaneous Issues with App

Posted: Thu Feb 27, 2014 5:10 pm
by Joe Paisley

Interesting fix. Works great now. Thanks!

Only two things I can think of now:

Is there a way to include text when sharing via the plugin? Like a prefilled hashtag for example? Or short URL?

And is there no way to share both jplot graphs simultaneously on "results" page in a similar fashion?


Miscellaneous Issues with App

Posted: Fri Feb 28, 2014 8:49 am
by Maryna Brodina

Hello! [quote:]Is there a way to include text when sharing via the plugin[/quote]sure, you can send message, subject, image and link. For example this way prewindow.plugins.socialsharing.share('Message here', 'The subject', localStorage.getItem("cameraimage"), 'http://yoursite.com/somepage');/preIf you don't need some part of message, you can replace it with null. Now it's not possible with plugin, but you can update and improve it the way you need. To do that you have to make corresponding changes to this file SocialSharing.java. Here is more information http://developer.android.com/referenc...


Miscellaneous Issues with App

Posted: Sun Mar 02, 2014 5:48 am
by Alex GG

Hi Maryna,
Question about social sharing plugin....
I ́ve manage to make it work on android, now I ́m trying to use this plugin on ios too.
I add the xml to config.xml as here
Image

Then added SocialSharing.js

But I ́m stucked in step 3 and 4.

iOS: Copy SocialSharing.h and SocialSharing.m to platforms/ios//Plugins

should I create /Plugin folder? or just add this files to folder Resources as in above pictures from Joe? if not, where shoul I add them?

and is it neccesary to add this, as indicated in PhoneGap Build.?

:plugin name="nl.x-services.plugins.socialsharing"

if so, where should add this?

Regards =)


Miscellaneous Issues with App

Posted: Mon Mar 03, 2014 6:23 pm
by Maryna Brodina

Hello! To add this plugin for iOS you have to add frameworks, but unfortunately it's not possible to do through Appery.io. You would need to export app to xCode and add it there.


Miscellaneous Issues with App

Posted: Tue Mar 04, 2014 4:09 am
by Alex GG

Maryna,

Any other suggestion for social sharing? One that can be implemented with appery?


Miscellaneous Issues with App

Posted: Tue Mar 04, 2014 6:48 pm
by Maryna Brodina

Hello!

If solution with xCode doesn't work for you, search online for plugin which doesn't require any frameworks. Another way is do not use plugin, but social api to post information.


Miscellaneous Issues with App

Posted: Wed Mar 05, 2014 4:52 pm
by Alex GG

Maryna, where can I find info regarding social API, I need something that can be implemented within appery, because I dont have xcode.
I need something within the app, so user can share links via whatsapp, mail or facebook...something similar to SocialSharing which works pretty fine on android.

Regards


Miscellaneous Issues with App

Posted: Wed Mar 05, 2014 9:55 pm
by Maryna Brodina

[quote:]where can I find info regarding social API[/quote] Select social networking service where you want to share links and check their APIs. Please also take a look here http://docs.appery.io/tutorials/#Usin...


Miscellaneous Issues with App

Posted: Wed Mar 05, 2014 11:17 pm
by Alex GG

I know that it ́s out of scope of support, but could you help me to add this frameworks to my shared app? thanks