You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `taskRemovedBehavior` prop defines how the navigation should behave when a task is removed from the recent apps list on Android. It can either:
109
+
110
+
-`CONTINUE_SERVICE`: Continue running in the background. (default)
111
+
-`QUIT_SERVICE`: Shut down immediately.
112
+
113
+
This prop has only an effect on Android.
114
+
115
+
### Using NavigationController
116
+
117
+
You can use the `useNavigation` hook to access the `NavigationController` and control navigation within your components. The `useNavigation` hook also provides methods to add and remove listeners.
@@ -114,8 +238,6 @@ You can also add a bare `MapView` that works as a normal map view without naviga
114
238
/>
115
239
```
116
240
117
-
See the [example](./example) directory for a complete navigation sample app.
118
-
119
241
### Requesting and handling permissions
120
242
121
243
The Google Navigation SDK React Native library offers functionalities that necessitate specific permissions from the mobile operating system. These include, but are not limited to, location services, background execution, and receiving background location updates.
@@ -159,6 +281,10 @@ By default, `NavigationView` uses all the available space provided to it. To adj
159
281
/>
160
282
```
161
283
284
+
### Sample application
285
+
286
+
See the [example](./example) directory for a complete navigation sample app.
287
+
162
288
## Support for Android Auto and Apple CarPlay
163
289
This plugin is compatible with both Android Auto and Apple CarPlay infotainment systems. For more details, please refer to the respective platform documentation:
0 commit comments