Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Integrating Phonegap and AEM 6 (including third party libraries)

Avatar

Avatar
Give Back 3
Level 2
JoseBerciano
Level 2

Likes

10 likes

Total Posts

40 posts

Correct Reply

2 solutions
Top badges earned
Give Back 3
Give Back
Ignite 3
Ignite 1
Validate 10
View profile

Avatar
Give Back 3
Level 2
JoseBerciano
Level 2

Likes

10 likes

Total Posts

40 posts

Correct Reply

2 solutions
Top badges earned
Give Back 3
Give Back
Ignite 3
Ignite 1
Validate 10
View profile
JoseBerciano
Level 2

15-10-2015

Hello newbe here,

I am trying to create a brand new Phonegap app and insert in the pages some of the components I have just created. So basically I am working over the project Bruce Lefebvre made in this page: https://github.com/blefebvre/aem-phonegap-starter-kit

I have been able to run this app in my iOS emulator and everything seems to work fine, but when I add my components (which are using some external libraries like jQuery and PathFinding.js ) seems to be like the libraries are not being loaded.

So that is basically my problem, how can I set the libraries in order to get them loaded when the app runs? 

PD: The way I indicate the libraries in my *.jsp files is by adding this line <cq:includeClientLib categories="jquery"/>

PD2: I am able to load the libraries and making everything work fine at the author instance, loading the pages directly from Chrome.

View Entire Topic

Avatar

Avatar
Boost 5
Employee
kalyanar
Employee

Likes

5 likes

Total Posts

182 posts

Correct Reply

78 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Affirm 50
Affirm 5
View profile

Avatar
Boost 5
Employee
kalyanar
Employee

Likes

5 likes

Total Posts

182 posts

Correct Reply

78 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Affirm 50
Affirm 5
View profile
kalyanar
Employee

15-10-2015

When you unzip the apk (for example), do you see the missing js library included in the folder?