- Run
yarn
on project root to install required Javascript dependencies - Go to
example/ios/
and runpod install
to install required native iOS dependencies - To get the example running you need to have (see how to get config files):
google-services.json
in yourandroid/app/
(for the example app, that will be innode_modules/react-native-test-app/
)GoogleService-Info.plist
innode_modules/react-native-test-app/ios/ReactTestApp
and linked in XCode by dragging it to the file tree.
- create
src/confgi/config.js
with the following content:
export default {
webClientId: 'your-web-client-id.apps.googleusercontent.com',
};
- Start Metro bundler with
yarn start
- iOS: open the project in Xcode (run
xed ios
in theexample/
directory) and run the app - Android: open the
build.gradle
file inexample/android/
directory and run the app
- log out in the app
- unlink at https://myaccount.google.com/connections
- delete the storage of the Google play services app
- wait a bit
Go to https://console.cloud.google.com/apis/api/people.googleapis.com/metrics?project=abcd-1234