Closed
Description
I'm currently running Parse-Server 2.1.4 (same problem persists on 2.1.3) and my configuration is:
var parse_api = new ParseServer({
databaseURI: process.env.MONGOLAB_URI || 'xxxxxxx',
cloud: './cloud/main.js',
appId: 'xxxxxxx',
fileKey: 'xxxxxxx',
masterKey: 'xxxxxxx',
serverURL: process.env.PARSE_SERVER_URL || 'http://www.xxxxx.com/parse'
});
app.use('/parse', parse_api);
I'm unable to connect to this parse-server via my android client (I'm using parse-android:1.13.0). My configuration is:
Parse.initialize(new Parse.Configuration.Builder(this)
.applicationId(xxxxxx)
.clientKey("unused")
.server("http://www.xxxxx.com/parse/")
.enableLocalDataStore()
.build()
);
Oddly enough, my iOS client (parse SDK 1.12.0) connects just fine to the same parse-server via the below configuration:
Parse.initializeWithConfiguration(ParseClientConfiguration(block: {(configuration: ParseMutableClientConfiguration) -> Void in
configuration.applicationId = "xxxxxx"
configuration.clientKey = "unused"
configuration.server = "http://www.xxxxxx.com/parse"
configuration.localDatastoreEnabled = true
}))
Any idea why I am able to connect via iOS but not Android? From what I've seen, my Android client is implementing the standard configurations.