[Accelerometer] cannot read property 'getCurrentAcceleration' of undefined

[Accelerometer] cannot read property 'getCurrentAcceleration' of undefined

  
Forge Component
(3)
Published on 2017-04-04 by Box
3 votes
Published on 2017-04-04 by Box

Hi All,

I am using accelerometer component the client action get current acceleration is  returning an error "cannot read property  'getCurrentAcceleration' of undefined".Can any one help me out with this issue.

Regards,

Koushik.

@Koushik

Can you share your module with us? So we can see how you're doing it?

Hi koushik,

All cordova plugins will be work only in native application. They don´t work on browser and only few them (supported only) works in outsystems now.

Did you try to test it in your generated app?


Best regards

Fabio Fantato