Guides & References
Find all-inclusive guides and references for utilizing the Nearby Service in Unity with HMS Unity Plugin.
Permissions
In order for Nearby Service demo to work we have to declare specific permissions in the AndroidManifest.xml file.
Adding Permissions for Nearby Service Documentation: Documentation
Note: The ACCESS_FINE_LOCATION , WRITE_EXTERNAL_STORAGE, and READ_EXTERNAL_STORAGE permissions are dangerous system permissions, so you need to dynamically apply for these permissions. If your app does not have these permissions, Nearby Service cannot enable broadcast or scanning for your app.
Last updated
Was this helpful?