Expand my Community achievements bar.

Is it possible to integrate content sync into existing cordova application?

Avatar

Level 1

We have a cordova application (iOS and Android) that access content managed by an AEM instance. We would like to remote update the application code and assets (javascript, css, img).

Is it possible to integrate content sync to do that?

Thanks.

3 Replies

Avatar

Level 10

You can write an PhoneGap app that is able to post content to an AEM Sling Servet. We have had an Eng member do this. See this community article for details about the PhoneGap side. 

http://zacvineyard.com/blog/2011/03/upload-a-file-to-a-remote-server-with-phonegap

Now in this use case - AEM would be the server. You must write a Sling Servlet.

We have an article that talks about how to handle a file that is posted from the back end via a Sling Servlet.

https://helpx.adobe.com/experience-manager/using/post_files.html

Avatar

Level 10

I have reached out the developers of this feature. They will let you know if this is possible with this feature. 

Avatar

Level 1

Thanks! Just to let you know that I've accidentally deleted my previous message but I'm still interested in an answer.