26
Views
2
Comments
[Accelerometer] Get Accelerometer Plugin to work
accelerometer
Mobile icon
Forge asset by Wasabi
Application Type
Mobile

Hi, 

I'm trying to get the Accelerometer Plugin to work but haven't been successful, yet.

It should be a simple process, so if anyone could help me it would really be great to see what's wrong with my oml, which I will attach. 

Thanks in advance for any help.

Best regards

AcceleroN.oml
UserImage.jpg
Rolf Kampffmeyer

I'd like to use the accelerometer too -- but need to get an idea about the outsystems ide first...

UserImage.jpg
wilko odijk

in the accelerometer module, in the extensibility configurations, you need to use this:
{"plugin" :{"url": "https://github.com/apache/cordova-plugin-device-motion"}}

after this change, publish the accelerometer module, refresh dependencies in your app, publish app from service center, install app again on phone, then it worked for me.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.