empatica / e4link-sample-project-android

BSD 3-Clause "New" or "Revised" License
10 stars 7 forks source link

Native Code expects "didUpdateOnWristStatus" in "EmpaDataDelegate" #2

Closed enra64 closed 3 years ago

enra64 commented 4 years ago

See title - if you don't have a method didUpdateOnWristStatus in the class implementing EmpaDataDelegate, a nasty JNI error occurs because your native code tries to find that method in the DataDelegate and not the StatusDelegate.

This can easily be verified by not implementing both of these interface in the main activity in the sample code, but creating 2 seperate classes.

samueleperricone commented 3 years ago

This is actually a bug, thanks for reporting