AEM 6.0 - Content Sync does not work for Apps

Avatar

Avatar

Mat_Barreto

Avatar

Mat_Barreto

Mat_Barreto

15-10-2015

Hello everybody.

 

I'm trying to use and understand the new AEM features like Apps with Phonegap, but with some problems.

To begin with, the Content Sync. So, here is my situation:

- I'm building the Geometrixx Outdoors Apps (from the page English) via PhoneGap Build [selecting this "page" of the app and clicking on "Build Remote", after configuring my PhoneGap cloud service];

- Then, I download the .apk from my PhoneGap account and install it on a mobile Android Device;

- When I open it on my Android device (in this case, a virtual machine running Android 4.3), the App works just fine and I can see the app fetching data from my AEM server via Android logs on the first time it runs (log below);

[img]http://i.imgur.com/bH3MOmd.png[/img]

However, when I changed some content on my server (author instance), saved it and published it, then click "Update" on my app, the content is not synced and I can see errors regarding the fetch try of the app (as the log on the link below show). This changes can be viewed on my Publish instance, but does not get into the app. 

Important: I'm running a default AEM 6.0 version (already tested with SP1 and without it) and building and changing Geometrixx Outdoors App. Can anyone here make it work? Is there some step or configuration that I'm missing or skipping?

More info about enviroment: Windows 7 Pro 64x / Android VM 4.3

Thanks everyone in advance,

Matheus Barreto.

View Entire Topic

Avatar

Avatar

balakumaran_k

Avatar

balakumaran_k

balakumaran_k

15-10-2015

Hi,

Content sync was working for me in android.

Please check couple of things,

1. Is it downloading the delta package into your mobile and the zip file has your changed file?

2. Is it failing while unziping the package or copying the files? - If so there may be issue with  file plugin version. Try with the latest and check whether it works.

 

Thanks,