feat(example_full, lib, android): optimisation improving, current device data

This commit is contained in:
ksenia312
2024-02-06 23:25:36 +01:00
parent e4a4a542e6
commit 06ca99c7f9
11 changed files with 251 additions and 142 deletions
@@ -97,8 +97,9 @@ class NearbyServiceManager(private var context: Context) {
}
} catch (e: SecurityException) {
if (!permissionsHandler.checkPermissions()) {
Logger.e("No permission to call 'discover'")
Logger.e("No permission to call 'getCurrentDevice'")
permissionsHandler.requestPermissions()
result.success(null)
}
}
}