React Native - Native Android

Team
SDK Team
Last Updated
June 10, 2026

This page describes how to setup the Grouplink SDK on the native Android folders of a React-Native project.

1 - Required Permissions

First, you need to add the required permissions to your Android manifest file (you can find this file inside the android/app/src folder). You can follow the Required Permissions on Android guide to learn more.

2 - Starting BLE and Location Service on Android

Create an asynchronous function and add the methods startLocationAndroid() and startBluetoothAndroid().

1export default function App() {
2 useEffect(() => {
3// ...
4 requestAndroidPermissions();
5 }, []);
6
7 async function requestAndroidPermissions() {
8 await GroupLinkSDK.startLocationAndroid();
9 await GroupLinkSDK.startBluetoothAndroid();
10 }
11
12 return (
13 <View style={styles.container}>
14 <Text>This is a test application</Text>
15 </View>
16 );
17}

3 - Full Screen Intent and Schedule Exact Alarm Permissions

1export default function App() {
2 useEffect(() => {
3// ...
4 GroupLinkSDK.requestFullIntentPermissionAndroid();
5 GroupLinkSDK.requestScheduleExactAlarmPermissionAndroid();
6 }, []);
7
8 return (
9 <View style={styles.container}>
10 <Text>This is a test application</Text>
11 </View>
12 );
13}