Android Question Signing and licensing app for company

GaNdAlF89

Active Member
Licensed User
Longtime User
Hi, I have to develop an app for a company, which will publish it on Play Store with its account.
I have two questions:

1) what private key I have to use to sign the app with B4A?
I think: I have to compile with debug key, and then the company will do this: https://developer.android.com/studio/publish/app-signing.html#signing-manually
It is correct?

2) how can the company add the licensing key of the Play Store? (the company doesn't want to send me its Play Store key)
 
Last edited:

KMatle

Expert
Licensed User
Longtime User
Either you can use your key (wich isn't a good idea because the key represents the developer/company) or their key (which isn't wanted). Maybe it's acceptable for them to create a 2nd Google account for them. Here they don't need to give you the "main-key" but the 2nd key is their's.

When signing just use the new key (don't forget to switch it back to your key :) )
 
Upvote 0

GaNdAlF89

Active Member
Licensed User
Longtime User
...
Maybe it's acceptable for them to create a 2nd Google account for them. Here they don't need to give you the "main-key" but the 2nd key is their's.

When signing just use the new key (don't forget to switch it back to your key :) )
Sorry, I don't understand how can I do...Thanks
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
It is correct?
No. If you want to give them an unsigned APK then you should use the command line builder to build the project:
B4X:
"C:\Program Files (x86)\Anywhere Software\Basic4Android\B4ABuilder.exe" -Task=Build -NoSign=True -Obfuscate=true

They will need to use Java keytool to sign the APK.
 
Upvote 0

GaNdAlF89

Active Member
Licensed User
Longtime User
No. If you want to give them an unsigned APK then you should use the command line builder to build the project:
B4X:
"C:\Program Files (x86)\Anywhere Software\Basic4Android\B4ABuilder.exe" -Task=Build -NoSign=True -Obfuscate=true

They will need to use Java keytool to sign the APK.
Thanks. And for Google Play licensing?
 
Upvote 0
Top