I wish when switching between apps development in B4A IDE, their private key to changed automatically.
Now when I switch next app, the IDE still uses private key of previous app.
If you have A,B,C and D projects, each one you set their private key individually & manually for first time only.
I mean the IDE when loading any project, it sholud load its (set before) private key automatically without coding.
If you have A,B,C and D projects, each one you set their private key individually & manually for first time only.
I mean the IDE when loading any project, it sholud load its (set before) private key automatically without coding.
When you set the key using the menu selection in the IDE, it sets the key for all "default" projects - default projects are projects that do not have the manual key code that @asales mentions.
So, basically setting the "key" using the IDE menu is not designed to work the way you think. If you want a project to use a specific key, you need to add those lines (just once) to specify the desired key for that specific project (and not use the default key that was set in the IDE menu)
The current way, with the attributes, is much better: 1. In most cases you should use a single key with all projects. Why switch the key?
2. Using attributes is very simple and also very powerful as you can combine it with conditional compilation symbols.
3. You are suggesting to remove the existing attributes feature, break thousands of projects and implement a less powerful feature in order to encourage newbies to do something that they shouldn't do.
It will not happen.
Because we have many projects of different customers, each customer need his project source code with his own private key. WE CAN'T share one private key between many customers, it is security breach.
Because we have many projects of different customers, each customer need his project source code with his own private key. WE CAN'T share one private key between many customers, it is security breach.