ibm-bluemix-mobile-services / bms-clientsdk-android-core

Core components of Bluemix Mobile Services Android SDK
Apache License 2.0
6 stars 11 forks source link

Calling to BMSClient.getInstance().initialize with empty string not throwing exception #17

Closed cirilla closed 8 years ago

cirilla commented 8 years ago

calling to BMSClient.getInstance().initialize(getApplicationContext(), "" ,"", BMSClient.REGION_UK); is not returning any error

cirilla commented 8 years ago

Actually calling to initialize with ANY wrong parameter not returning error! you can pass even null params

dgonz7 commented 8 years ago

Yup, that is by design. There is no validation that can be done by the SDK for these. Also, AppGuid and AppRoute are almost never needed, therefore you can just pass empty or null strings, since they are optional, unless the specific service SDK you are using requires otherwise.