Is your feature request related to a problem? Please describe.
The following code from ChannelFactory.kt within the SDK is used to determine whether the connection to lightwalletd will be plaintext or TLS.
Describe the solution you'd like
As an added safeguard, the branch of code that uses a plaintext connection should additionally check that the app was built for testing or debugging, i.e. that it is not a production release of the app. By adding a check to the code here, it will be more obvious that the released app can never use an insecure connection.
Is your feature request related to a problem? Please describe.
The following code from ChannelFactory.kt within the SDK is used to determine whether the connection to lightwalletd will be plaintext or TLS.
Describe the solution you'd like
As an added safeguard, the branch of code that uses a plaintext connection should additionally check that the app was built for testing or debugging, i.e. that it is not a production release of the app. By adding a check to the code here, it will be more obvious that the released app can never use an insecure connection.
Alternatives you've considered
Additional context