Konfigurowanie projektu w Google Cloud Console
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Aby skonfigurować konsolę Google Cloud do korzystania z pakietu Consumer SDK na iOS, wykonaj te czynności.
Jeśli nie masz projektu deweloperskiego w konsoli Google Cloud ani klucza interfejsu API do projektu mobilności, musisz je skonfigurować. Więcej informacji znajdziesz w artykule Tworzenie projektu.
Podczas wybierania projektu deweloperskiego dla pakietu Consumer SDK wybierz ten sam projekt w konsoli Google Cloud i ten sam klucz interfejsu API, których używasz w Fleet Engine.
Co dalej
Uzyskiwanie tokenów uwierzytelniania
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-08-31 UTC.
[null,null,["Ostatnia aktualizacja: 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)"]]