blefebvre / aem-phonegap-kitchen-sink Goto Github PK
View Code? Open in Web Editor NEW⛔️DEPRECATED: A PhoneGap API showcase app managed in AEM
License: MIT License
⛔️DEPRECATED: A PhoneGap API showcase app managed in AEM
License: MIT License
Need to wait until 6.0 maven dependencies are publicly available. Once they are, revert the following commit:
The integration with PhoneGap build will fail because the required plugins are not specified in the app's config.xml.
Once 6.0.1 is available
The location component could be enhanced by plotting the current device location on a map.
In the demo the link to kitchen-sink-books-update.csv is missing.
Add phonegap-exportTemplate property to app.
The compass component currently displays a number ranging from 0 to 359.99. This could be replaced be something like [0], to provide a nice visualization.
[0] http://geeksretreat.wordpress.com/2012/05/09/html-5-canvas-an-animated-compass/
Hi Bruce,
First of all, excuse me if this is not an issue and I am missing something instead. I am building a multilingual app in Phonegap and when I download the sources the only files that I get under the ./www folder are the English ones.
I was able to reproduce the same issue with the kitchen sink, by adding the French content to Staging and downloading the sources. I checked the contentsync/config nodes and I see everything OK.
Any idea of what could be going wrong? Did I miss something?
Thanks in advance.
Include ADBMobile (at the following tag): https://github.com/Adobe-Marketing-Cloud/mobile-services/releases/tag/v4.5.6-iOS
README should indicate the required versions of dependency packages.
My hunch is that this has something to do with the NativePageTransitions plugin.
That said, it works fine on Android.
The same request [0] made from a browser returns the expected JSON result.
[0] example: localhost:4503/content/phonegap/kitchen-sink/en/jcr:content/pge-app/app-config.pge-updates.json?ifModifiedSince=1439576997388
Doing a mvn install results in:
[ERROR] Request failed: com.day.jcr.vault.packaging.PackageException: org.apache.jackrabbit.vault.packaging.PackageException: javax.jcr.nodetype.ConstraintViolationException: OakConstraint0021: /content/dam/brucelefebvre/kitchen-sink/library/design-patterns.jpeg/jcr:content/renditions/cqdam.pyramid.tiff/jcr:content[[nt:resource]]: Mandatory property jcr:data not found in a new node (500)
Provide a 'pull to refresh' control to update the app from an AEM publish instance.
Add the following property to the top level page:
cq:deviceGroups (String[]): /etc/mobile/groups/responsive
The hook should be updated to return a non-zero exit code to fail the build on plugin install failure, or else the app will end up in a broken state where it attempts to run without one or more required plugins.
Navigate to the phonegap
shell root (assumes Bash):
$ pushd content-dev/src/main/content/jcr_root/content/phonegap/kitchen-sink/shell/_jcr_content/pge-app/app-content/phonegap
Add the plugin using the Cordova CLI:
$ cordova plugin add https://github.com/bluecats/bluecats-phonegap.git
Return to the app root, and re-install the app to AEM:
$ popd
$ mvn -PautoInstallPackage clean install
If your maven settings.xml points to the public Adobe repo, the build will fail with the following error:
Failed to execute goal on project phonegap-kitchen-sink-bundle: Could not
resolve dependencies for project
com.brucelefebvre:phonegap-kitchen-sink-bundle:bundle:1.0-SNAPSHOT: The
following artifacts could not be resolved:
com.day.cq:cq-content-sync:jar:5.7.2, com.day.cq.wcm:cq-wcm-api:jar:5.7.8,
com.day.cq.wcm:cq-wcm-foundation:jar:5.7.2,
com.day.cq.dam:cq-dam-api:jar:5.7.18: Failure to find
com.day.cq:cq-content-sync:jar:5.7.2 in
http://repo.adobe.com/nexus/content/groups/public/
Disable right shelf.
To reproduce:
Result:
[0] Full error from Chrome web inspector: Refused to execute script from '*.angular-app-module.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
Menu header text floats too high.
Check in angular-app-module.js.html should be changed to include wcmmode.preview
:
<js data-sly-test.authorMode='${ wcmmode.edit || wcmmode.design || wcmmode.preview }' data-sly-unwrap>
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.