Skip to content
This repository has been archived by the owner on Nov 19, 2020. It is now read-only.

Crash on Android API 25+ (Android 8) #92

Open
spiffylogic opened this issue Feb 25, 2018 · 1 comment
Open

Crash on Android API 25+ (Android 8) #92

spiffylogic opened this issue Feb 25, 2018 · 1 comment

Comments

@spiffylogic
Copy link

There seems to be an issue with subscribing on Android API 25+ which is causing a crash:

I/opentok-subscriberkit: Subscriber with streamId: FE74B669-F321-450B-951D-379FEF148C5F is connected
W/mqt_native_modu: type=1400 audit(0.0:2893): avc: denied { read } for name="stat" dev="proc" ino=4026532079 scontext=u:r:untrusted_app_25:s0:c512,c768 tcontext=u:object_r:proc_stat:s0 tclass=file permissive=0
A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0xc in tid 20297 (mqt_native_modu), pid 20238 (com.example.myapp)

The sample native app (Basic Chat) provided by opentok works great, but my simple chat version using this repo crashes. I noticed the native modules don’t do any permissions handling. I wonder if it has something to do with permissions?

Anyone else experiencing this on Android 8? If I can fix it I’ll submit a PR.

@spiffylogic
Copy link
Author

Seems to be fixed by PR #88

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant