You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I'm using your lib to build an android app,
In my app, I start scanScan when application lifecycle is onStart and stopScan when application lifecycle is onStop as below.
I found it working fine, but when app killed by task manager(recents tab), I see that I leaked the scan callback due to onStop not being called. after I tried to close/-reopen my app more that 32 times, android os throw error: "Unable to register GATT client, MAX client reached: 32"
so cloud you please share me the best practice to call stopScan when app is being killed by task manager
The text was updated successfully, but these errors were encountered:
Hi,
I'm using your lib to build an android app,
In my app, I start scanScan when application lifecycle is onStart and stopScan when application lifecycle is onStop as below.
I found it working fine, but when app killed by task manager(recents tab), I see that I leaked the scan callback due to onStop not being called. after I tried to close/-reopen my app more that 32 times, android os throw error: "Unable to register GATT client, MAX client reached: 32"
so cloud you please share me the best practice to call stopScan when app is being killed by task manager
The text was updated successfully, but these errors were encountered: