josesamuel / remoter

Remoter - An alternative to Android AIDL for Android Remote IPC services using plain java interfaces
Apache License 2.0
84 stars 14 forks source link

Android 14 #14

Closed NLLAPPS closed 1 year ago

NLLAPPS commented 1 year ago

Hi, not sure if you have time to add ability to pass flags to ServiceConnector#connectWithService()

Android 14 will introduce BIND_ALLOW_ACTIVITY_STARTS and caller will need to add BIND_ALLOW_ACTIVITY_STARTS flag to context.bindService() when binding to a service on another app.

josesamuel commented 1 year ago

Try with 2.0.5.

ServiceConnector now has an optional flags. Auto generated kotlin proxy also has these

val timeService:ITimeService = ITimeService_Proxy(this, TIME_SERVICE_INTENT, Context.BIND_AUTO_CREATE)