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

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

@spiffylogic

Description

@spiffylogic

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions