Get started

Before you begin

Request permissions

Before using Nearby Connections, your app must request the appropriate
permissions for the Strategy you plan to use. See the section on
Strategies and the documentation for
Strategy
for more information.

For example, in order to use the P2P_STAR Strategy, add the specified
permissions to your AndroidManifest.xml: