Reputation: 1137
I am developing blackberry application using PhoneGap. When in LogIn page if invalid credentials are provided by the user and server returns 401 error,blackberry is displaying a window asking for username and password.This is not happening in iOS and android.Can any one suggest how to suppress this prompt? I am using IIS as server and used MVC web api for developing service
Upvotes: 1
Views: 79
Reputation: 26
Looks like BB has issue with Unauthorized 401. try sending different codes like HttpStatusCode.BadRequest. should work.
Upvotes: 1