• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by Steven-1 · Nov 23, 2017 at 04:01 PM · keystoregoogle-play-storesigning

Can Google Play App Signing be used with Unity? (and is it a good idea?)

I'm working on my first android game, I'm trying to understand all that has to be done in order to place a game on the play store, but I'm not sure about a lot of things.

I think I kinda understand how the app signing works, but I read in the google play documentation about the "Google Play App Signing" (see here: https://support.google.com/googleplay/android-developer/answer/7384423) And it seems like they recomend to use that, but I don't know if that works correctly with Unity.

So can anyone tell me what the best practice is?

Also, should I use the same key for all my games or a unique one for each? (Or is only one way possible with Unity / Google Play App Signing ?)

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image OblicaStudio · Sep 08, 2021 at 06:22 PM 0
Share

Just came across this post while struggling with same issue. I too want to upload my Unity app to Google Play. I have signed it during Unity build and Google accepted it as well. Please let me if you have faced any issues when you upload your app using Unity signing on Google and if your app's future updates works fine when signed with same key (which you have used for your first release). Did you uploaded your encrypted Unity signing key to Google, is it mandatory?

1 Reply

· Add your reply
  • Sort: 
avatar image
1

Answer by LilGames · Nov 28, 2017 at 02:26 PM

Northstar79 did answer one part of your question (because really, you asked two or three questions up there).

Can Unity use Google app signing? Yes. Northstar79 said as much.

Is it a good idea? It depends. The point of signing with Google's key is to "lock" delivery of your app to Google Play's store. If your app is free and you don't mind the APK being uploaded to other stores by anyone who feels like it, then just self-sign. (Why would you want to do this? Well one scenario is if your app is free with ads and you'd like it to spread to as many places for download as possible so get the most downloads and app views possible. If your app is paid then Google signing is added security that only Google Play can deliver and update that app).

One key for all or unique? Are we talking key or signing certificate? IMO use a unique signing certificate for each app, but one key is fine. (Some will argue that is not as secure as a unique key per app/cert).

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Steven-1 · Nov 28, 2017 at 02:52 PM 0
Share

Thanks for the anwers, I didn't get from Northstar79's answer that I the key/keystore created by Unity works with Google Play App Signing, I tought he just explained how to sign the app in Unity, which I already knew. (btw, I wasn't the one who downvoted his answer, I don't generally do that) Sorry if I misunderstood, but like I said, I'm completely new to the whole signing process, so aside from not understanding a lot of it, I also don't know all of the ter$$anonymous$$ology.

And I'm confused about the signing certificate bit, what is a signing certficate? When you say key and signing certficate, it sounds like you are talking about what Unity calls keystore and key respectively, or at least that's how I understood it. Is that the case?

avatar image LilGames Steven-1 · Nov 28, 2017 at 03:22 PM 0
Share

Oh I see what you are getting at. You can use the Unity keys/signing with Google Play. OR you can use the Google generated one (that they manage on their end).

I might be mixing in some iOS ter$$anonymous$$ology here, but basically you "sign" an app with a "certificate" generated from a "key". (And there's also your password. ;) )

Some better info: https://answers.unity.com/questions/326812/signing-android-application.html https://forum.unity.com/threads/android-signing.62137/ https://answers.unity.com/questions/1096300/hello-i-have-a-big-probleme.html

Sorry if this stil leaves you with partial info. The bottom line is you have the choice whether you want to manage your own keystore/keys/signing certificate generated by Unity or if you want it kept on Google's end and use theirs.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

74 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Failed to sign APK - while i have given correct keystore and password 0 Answers

How to export Android "Encrypted App Signing Private Key" from Unity Keystore? 2 Answers

CommandInvokationFailure: Failed to sign APK Package 1 Answer

google protect 0 Answers

How to supply an unsigned Android build? 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges