Định cấu hình dự án trên Google Cloud Console
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Để định cấu hình Google Cloud Console nhằm sử dụng Consumer SDK cho iOS, hãy làm theo các bước sau.
Nếu không có dự án phát triển trên Google Cloud Console và khoá API cho dự án di động của mình, bạn cần thiết lập một dự án. Để biết thông tin chi tiết, hãy xem phần Tạo dự án.
Khi bạn chọn dự án phát triển cho Consumer SDK, hãy chọn cùng một dự án trên Google Cloud Console và khoá API mà bạn đang dùng cho Fleet Engine.
Tiếp theo là gì?
Lấy mã thông báo xác thực
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-08-31 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-08-31 UTC."],[[["\u003cp\u003eTo use the Consumer SDK for iOS, you must configure a Google Cloud console project and API key.\u003c/p\u003e\n"],["\u003cp\u003eSelect the same Google Cloud console project and API key used for Fleet Engine when setting up the Consumer SDK.\u003c/p\u003e\n"],["\u003cp\u003eFor creating a new project and API key, refer to the provided link for setting up a Fleet Engine project.\u003c/p\u003e\n"],["\u003cp\u003eAuthentication tokens are required for the next steps after configuration.\u003c/p\u003e\n"]]],["To use the Consumer SDK for iOS, ensure you have a Google Cloud console development project and an API key. If needed, create them following the linked instructions. Crucially, select the same project and API key for the Consumer SDK that you use for Fleet Engine. The next step is to acquire authentication tokens, as detailed in the provided link.\n"],null,["To configure a Google Cloud console to use the Consumer SDK for\niOS, follow these steps.\n\nIf you don't have a Google Cloud console development project and an API key for\nyour mobility project, you need to set one up. For details, see\n[Create a Project](/maps/documentation/mobility/fleet-engine/essentials/set-up-fleet/create-project).\n\nWhen you're selecting your development project for the Consumer SDK, select\nthe same Google Cloud console project and API key that you are using for\nFleet Engine.\n\nWhat's Next\n\n[Get authentication tokens](/maps/documentation/mobility/journey-sharing/on-demand/ios/auth-sdk)"]]