Android Question How to lock private key for each application?

PD.Knol

Member
Licensed User
Longtime User
Hey,

How can I lock the private key for each application? Now I have to select the private key again every time I compile it. B4A always remembers the last used key. Because of this I have to select the right key every time. I use a different key for each application. See the picture.
 

Attachments

  • KeyFile.png
    KeyFile.png
    48.3 KB · Views: 113

Peter Simpson

Expert
Licensed User
Longtime User
@PD.Knol you can add the following lines into your Main module on a per project basis, they will override your currently default set SignKey settings in B4A.

Adjust as needed to match each individual project.
B4X:
#Region  Project Attributes
    #SignKeyFile: C:\Users\<User>\...TO WHEREVER YOUR SIGNKEY FILE IS LOCATED...
    #SignKeyPassword: YourPassword

Enjoy...
 
Last edited:
Upvote 0
Top