Using Firebase with cordova-plugin-firebasex works well.