Parallax.js inside app view


#1

I am trying to use parallax.js (http://matthew.wagerfield.com/parallax/) inside my app for a very subtle motion animation. The animation works when moving the mouse pointer using ‘ionic serve’. The demo page also works on my test device (Galaxy s3 using chrome and android browser).

When I install the app on the device it doesn’t pickup the device motion. I would really appreciate any suggestions?


#2

Guys just answered this one myself :smiley:

The plugin was not working while I was using the phonegap developer plugin, but works when I install the app onto the device. :blush:

Hope this will help somebody else.