siovene / smart-home-control

A simple demo app for the Cordova OCF plugin, that interfaces with a smart home prototype
2 stars 3 forks source link

Version 0.80 crashes #16

Closed ghost closed 7 years ago

ghost commented 7 years ago

Hi Salvatore,

I tried using version 0.8 of the app on my Nexus 6P. Unfortunately it crashes as soon as I tap the refresh sensor discovery button. I deployed the latest ocf-server JS files in the Smart Home repository from here in our OCF Smart Home demo environment. Since I updated the sensors I can no longer get your app to work. Can you please take a look? Thanks!

qiuzhong commented 7 years ago

Currently, this release can work with Android 5.x. In issue#11 comments, we mentioned this bug. According to our test experience, it has nothing to do with the OCF server side. It's caused by a fatal error:

java.lang.UnsatisfiedLinkError: dlopen failed: library "./obj/local/armeabi-v7a/liboc.so" not found

on Android 6.0+

siovene commented 7 years ago

Fixed in 0.8.1.

qiuzhong commented 7 years ago

Verified. Tested on Nexus 5(Android 6.0.1), Nexus 6P(Android 6.0) and Nexus 9 (Android 7.0) for version v0.8.1, all passed.

siovene commented 7 years ago

v0.8.2 released and it seems quite stable to me!

ghost commented 7 years ago

No APK for this version to be found under releases.