Google Sample Apps
The apps in this folder are designed to provide examples of the basic workings of the Google Client Library. They should not be used in production. Eg you should not ask for a Client key as it should be embedded within the codebase of your app.
In order to use the example projects in this folder, you will need to ensure that you have downloaded the below two Git Submodules:
How to download Git Submodules
You can download Git Submodules using the following command: Credit: Stackoverflow Question
git clone git://url cd repo git submodule init git submodule update
Then, add another step after the git pull.
git pull ... git submodule update --recursive
Requirements to use
These example apps need an oAuth2 Client key, which you can obtain from the Google Developer Console.
To obtain an oAuth2 client Key:
- Visit the Google Developer Console
- Click Credentials on the left hand navigation pane
- Click the
Create Credentials Buttonand select
oAuth Client idfrom the resulting dropdown menu.
- Select the
- Enter a memorable name for this key to help you identify it easily in the future.
- Copy the Bundle Identifier from your IOS App. This is found in your main project target under the
- Click the
CreateButton and your are complete.
These sample apps should automatically build and copy over the GTLR.framework as part of the build-and-run process.