File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -10,13 +10,13 @@ class OneSignalLocation {
10
10
return await _channel.invokeMethod ("OneSignal#requestPermission" );
11
11
}
12
12
13
- /// Allows you to determine if the user's location data is shared with OneSignal.
14
- /// This allows you to do things like geofenced notifications, etc.
13
+ /// Set whether location is currently shared with OneSignal.
15
14
Future <void > setShared (bool shared) async {
16
15
return await _channel.invokeMethod ("OneSignal#setShared" , shared);
17
16
}
18
17
19
- /// Set whether location is currently shared with OneSignal.
18
+ /// Allows you to determine if the user's location data is shared with OneSignal.
19
+ /// This allows you to do things like geofenced notifications, etc.
20
20
Future <bool > isShared () async {
21
21
return await _channel.invokeMethod ("OneSignal#isShared" );
22
22
}
You can’t perform that action at this time.
0 commit comments