I use Couchbase Lite and Cordova to build hybrid app, both on ios and android, and use sync gateway with custom authentication mechanism for replicating docsb between mobile and server.
There is a problem on android: when I do the sync, it will promote Authentication Required window
, actually the sync can be succeed even just ignore it.
There is no such authentication window on ios.
But it will confuse user, how can I get rid of it ?