Code Monkey home page Code Monkey logo

Comments (11)

ChristianKatzmann avatar ChristianKatzmann commented on May 17, 2024

@bhurling What do you think? Seems reasonable…

from gradle-play-publisher.

bhurling avatar bhurling commented on May 17, 2024

Wouldn't be too complicated to add.

On the other side those are one-time-steps that are not likely to change afterwards. I don't really see the benefits of automating those steps. Especially, since first time APK upload has to be done through the web interface anyway

from gradle-play-publisher.

bhurling avatar bhurling commented on May 17, 2024

@ChristianBecker What's your opinion? One file for each contact detail as we did for the title and the description? Or should we go with a .properties approach for those one-liners?

from gradle-play-publisher.

ChristianKatzmann avatar ChristianKatzmann commented on May 17, 2024

Jeah, it could get messy over time with separate files for each one-liner. On the other hand, video and title are one-liners, too, but they are living in their own files.

It's up to you to decide…

from gradle-play-publisher.

bhurling avatar bhurling commented on May 17, 2024

Hey Guys, what do you think about the change? contactEmail, contactPhone and contactWebsite have to lie in their own files next to the locale dirs like so

- [src]
  |
  + - [main]
      |
      + - [play]
          |
          + - [en-US]
          |   |
          |   + - [listing]
          |       |
          |       + - ...
          |
          + - [de-DE]
          |   |
          |   + - [listing]
          |       |
          |       + - ...
          |
          + - contactEmail
          |
          + - contactPhone
          |
          + - contactWebsite

This is because the contact details are not translated.

Additionally, this all only works if we provide a default language. Seems a little strange why contact details are mingled with the default language in the API request. But that's how it is.

I added a new bean for the play block, called defaultLanguage. Then, the contact details are only updated if there is a defaultLanguage set.

from gradle-play-publisher.

bhurling avatar bhurling commented on May 17, 2024

As an alternative we could just drop the default language into it's own file next to the others

from gradle-play-publisher.

AlexTrotsenko avatar AlexTrotsenko commented on May 17, 2024

@bhurling thank you a lot for implementing this.

As for me, defaultLanguage could be both in play block and inside separate file.
Keeping it inside play block may be good enough because it's global per app and could be used separately from e-mail \ phone \ website.

from gradle-play-publisher.

AlexTrotsenko avatar AlexTrotsenko commented on May 17, 2024

@bhurling could you please tell if you are going to merge this changes to the master before next release?

from gradle-play-publisher.

bhurling avatar bhurling commented on May 17, 2024

Released in 1.1.1

from gradle-play-publisher.

AlexTrotsenko avatar AlexTrotsenko commented on May 17, 2024

Thanks a lot for release this feature.

I am getting following error now:

Caused by: org.gradle.internal.UncheckedException: com.google.api.client.googleapis.json.GoogleJsonResponseException: 403 Forbidden
{
  "code" : 403,
  "errors" : [ {
    "domain" : "androidpublisher",
    "message" : "Invalid contact phone number specified for this app.",
    "reason" : "invalidAppContactPhone"
  } ],
  "message" : "Invalid contact phone number specified for this app."
}

I see, that when you fill contact details you set phone and then set "contact web" to the same phone property instead of setting it to "contact web" property.

I will create pull request for this.

from gradle-play-publisher.

AlexTrotsenko avatar AlexTrotsenko commented on May 17, 2024

Here is the pull request, that should fix issue from previous message: #82

from gradle-play-publisher.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.