Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Migrate examples from `MapboxNavigationProvider` to `MapboxNavigationApp`

Đang mở
#128 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
25/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
kotlin
Lĩnh vực
mobile

Hướng nghiên cứu

Bắt đầu với kế hoạch di chuyển và các hoạt động ví dụ được liệt kê, sau đó xem lại tài liệu của MapboxNavigationApp và qa-test-app để tìm các mẫu di chuyển. Nhánh migrate-MapboxNavigationApp và các tài nguyên kiến trúc được liên kết cung cấp thêm ngữ cảnh. Được xem là hoàn tất khi либо đã di chuyển nhất quán các ví dụ được liệt kê, hoặc đã ghi lại quyết định tiếp tục sử dụng trực tiếp MapboxNavigation.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

jira-sync-complete

It will be some time before we upgrade the examples repository to com.mapbox.navigation:android:2.8.0-alpha.2.

Opening so we can start considering the migration, but we're still building tools that make migration easier
For example the extensions are still experimental.

  • ShowAlternativeRoutesActivity
  • ShowManeuversActivity
  • MultipleWayPointsActivity
  • ShowTripProgressActivity
  • ShowCameraTransitionsActivity
  • ShowCurrentLocationActivity
  • ShowJunctionsActivity
  • FetchARouteActivity
  • RenderRouteLineActivity
  • TurnByTurnExperienceActivity
  • MapboxSignboardActivity
  • PlayVoiceInstructionsActivity
  • ShowSpeedLimitActivity
  • ReplayHistoryActivity
  • CustomArrivalActivity
  • ShowBuildingExtrusionsActivity

Migration plan

We want to commit to a migration plan for the examples repository by September 5th because that is the week the 2.8.0 release becomes a release candidate and we will be committed to apis for a stable release.

Note that, not-migrating and using MapboxNavigation directly is also an option. MapboxNavigationApp is built for large apps.

Resources

The architecture is designed for you to build de-coupled classes like the LocationComponent, or a more complicated example is the CameraComponent. There are other approaches that are worth considering.

Some public documentation on the MapboxNavigationApp can be found here https://docs.mapbox.com/android/navigation/guides/androidauto/car-app-lifecycle/

We will also explore migration ideas in the qa-test-app

Ideas are welcome

I'm obviously not the only one using this new library, so feel free to bring in some opinions and ideas. Feel free to open a pull request against this migrate-MapboxNavigationApp branch. Or create new pull requests.

cc: @mapbox/navigation-android

Ngôn ngữ chính
Kotlin
Star
65
Fork
56
Merge trung bình
1 ngày 4 giờ
Pull request đã merge (30 ngày)
2

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của mapbox/mapbox-navigation-android-examples

Tất cả issue của mapbox/mapbox-navigation-android-examples

Issue tương tự

Thêm issue về Kotlin

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.