Skip to content

BroadcastReceiver components are not allowed to bind to services #13

@petrnalevka

Description

@petrnalevka

I just received this report from one of my users. Do you have any idea. Can this be fixed on PebbleKit2 end?

Many thanks!

--------- Stack trace ---------
android.content.ReceiverCallNotAllowedException: BroadcastReceiver components are not allowed to bind to services
android.app.ReceiverRestrictedContext.bindService(ContextImpl.java:206)
io.rebble.pebblekit2.common.util.SuspendingBindingConnection.getOrConnect(SourceFile:140)
io.rebble.pebblekit2.client.DefaultPebbleSender.sendRequestForWatches(SourceFile:78)
io.rebble.pebblekit2.client.DefaultPebbleSender.startAppOnTheWatch(SourceFile:83)
io.rebble.pebblekit2.client.PebbleSender.startAppOnTheWatch$default(SourceFile:8)
com.urbandroid.sleep.smartwatch.pebble.RePebble$startApp$1$1.invokeSuspend(SourceFile:49)
kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(SourceFile:11)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions