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

Set extension version as user agent #35

Merged
merged 1 commit into from
Jul 31, 2023
Merged

Conversation

britzl
Copy link
Contributor

@britzl britzl commented Jul 16, 2023

Fixes #32

@britzl britzl marked this pull request as draft July 16, 2023 10:52
@britzl britzl marked this pull request as ready for review July 20, 2023 09:33
@britzl britzl requested a review from AGulev July 20, 2023 09:33
Copy link
Contributor

@AGulev AGulev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can go with it at the moment.

In IronSource I did it in a bit different way. I use ext.properties default value. User doesn't see it in the editor, but it will be included into game.projectc then I read version from there and use the same way as you are.

Also, I added an action that triggers when new version releases and patches ext.properties with tag specified in release.
Action (it's a bit ~ dumb ~ simple, but it works):
https://github.com/defold/extension-ironsource/blob/main/.github/workflows/version_update_on_release.yml

@britzl britzl merged commit a33d8a5 into master Jul 31, 2023
@britzl britzl deleted the Issue-32-set-request-agent branch July 31, 2023 21:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add extension name and version as an ad request agent string for usage statistics
2 participants