Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add X-Source header to Gravatar REST API request #368

Merged
merged 5 commits into from
Oct 8, 2024

Commits on Oct 8, 2024

  1. Accept Context when initializating the Gravatar SDK

    If the context is provided, we will extract the app name to be used in the request headers.
    hamorillo committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    298bfcf View commit details
    Browse the repository at this point in the history
  2. Add X-Source in the SdkVersionInterceptor

    When the appName is available, we should send the X-Source header with that value.
    hamorillo committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    04c6aa3 View commit details
    Browse the repository at this point in the history
  3. Update documentation

    hamorillo committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    dc13feb View commit details
    Browse the repository at this point in the history
  4. Update demo-app/src/main/java/com/gravatar/demoapp/MainActivity.kt

    I would say it should work with any context. But let's change it to prevent issues.
    
    Co-authored-by: Adam Grzybkowski <[email protected]>
    hamorillo and AdamGrzybkowski committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    86d7085 View commit details
    Browse the repository at this point in the history
  5. Improve get-started

    hamorillo committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    37d4926 View commit details
    Browse the repository at this point in the history