The Mobile.BuildTools makes it easier to develop code bases in a clean, consistent, secure, and configurable way. Determine at Build which environment your app needs to run on, and what Client Secrets it should have. Plus many more amazing features!
Over the years the use of the Secrets API has changed significantly. While some legitimate secrets are included, more often this is really App Settings. In order to better reflect this the API should be updated to reflected it's intent. Additionally the functionality should be expanded to allow you to add multiple generated classes.
For those still using projectSecrets this will result in a build warning that projectSecrets are deprecated and will copy it over to the appSettings.
Second while secrets.json will still be supported (with a warning)... we will shift this to instead use appsettings.json. It will continue to be advisable to add this json file to your .gitignore.
SUMMARY
Over the years the use of the Secrets API has changed significantly. While some legitimate secrets are included, more often this is really App Settings. In order to better reflect this the API should be updated to reflected it's intent. Additionally the functionality should be expanded to allow you to add multiple generated classes.
DETAILS
First we will need to update the buildtools.json
For those still using
projectSecrets
this will result in a build warning that projectSecrets are deprecated and will copy it over to the appSettings.Second while secrets.json will still be supported (with a warning)... we will shift this to instead use appsettings.json. It will continue to be advisable to add this json file to your .gitignore.
PLATFORMS
n/a