I have an existent Meteor+React application that works with remote MongoDB and this application connects to the remote database if I run it with the following sh file:
DB_URL="mongodb://..."
MONGO_URL=$DB_URL \
meteor run --settings config/settings.json
But if I’m trying to run a Cordova application it always connects to the local mongodb and ignores any configurations. I’m trying it this way:
DB_URL="mongodb://..."
MONGO_URL=$DB_URL \
meteor run ios-device --verbose --settings config/settings.json
How could I setup a mongo url for cordova app properly?
Thank you!