Miscellaneous Issues with App
Hi Joe,
I'd recommend you to share image in string base64 encoded. You can add to your plug-in support of base64 encoded images, similarly to the same plug-in for Phonegap 3.0 https://github.com/EddyVerbruggen/Soc...
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
Hi Joe,
I'd recommend you to share image in string base64 encoded. You can add to your plug-in support of base64 encoded images, similarly to the same plug-in for Phonegap 3.0 https://github.com/EddyVerbruggen/Soc...
Thanks Katya. If I'm honest, I have no idea how to use base64 encoding. Is it like adding custom javascript at "click" event on a button component, while referencing the "image" component on the "camera" page or "html" component on the "results" page? Could you please provide me a quick tutorial of how to go about this? I would be eternally grateful.
Have you had any spare time to explain to me how to implement this plugin?
Thank you!
Hi Joe,
You can see a description here: https://github.com/EddyVerbruggen/Soc...
Add JS as Create new - JavaScript
Hi Joe,
If you need to programmatically run another page with "full screen refersh", replace:preAppery.navigateTo('main_screen', {});/prewith:prewindow.location = 'main_screen.html';/pre
I'm not sure what you mean Katya. Are you saying that
codewindow.location = 'main_screen.html'; /code
should be in click event for "share on twitter" button on "camera" page? Is there any additional data mapping that has to take place?
Does 'main_screen.html' refer to the "cameraimage" component?
Thanks very much!
Hello! Working on it...
Hi Joe,
Sorry, forget my previous answer. Did you add and change files listed here https://github.com/EddyVerbruggen/Soc... ?
As for base64 - take a look at here please: http://stackoverflow.com/questions/24...
I believe the plugin is successfully installed, but I wouldn't know how else to verify. Is the btoa() function more suitable for this task? Something like this javascript code on "click" event:
code
var str = "cameraimage"
var enc = window.btoa(str);
document.getElementById("cameraimage")
window.plugins.socialsharing.shareViaTwitter('Message and link via Twitter', null, 'window.plugins.socialsharing.shareViaTwitter('Message and link via Twitter', null, 'http://www.x-services.nl'))"
/code
Something like that? I know that's not correct, I'm just trying to work out the syntax and usage. Do I need "document.getElementById"? What does " 'Message and link via Twitter', null, 'http://www.x-services.nl') " refer to?
Thanks!