swift - Firebase query silently fails on iOS after upgrading to 4.1.0 -


i have query:

let uri = uriconstants.getpaymentmethodsuri(userid: uid) nslog("setup payment methods: \(uri)") let reference = database.database().reference(withpath: uri).queryordered(bychild: "o") reference.observesingleevent(of: .value, with: { snap in     nslog("this not called ever 4.1.0") }) 

and 4.0.4 dependency of firebase works correctly, 4.1.0 or newer silently fails. (or never excutes, not sure happens.) symptom nslog line never called.

the pod update lists following updated:

installing firebase 4.1.0 (was 4.0.4) installing firebaseanalytics 4.0.3 (was 4.0.2) installing firebaseauth 4.1.0 (was 4.0.0) installing firebasecore 4.0.5 (was 4.0.4) installing firebasedatabase 4.0.1 (was 4.0.0) installing firebaseinstanceid 2.0.2 (was 2.0.0) installing firebasestorage 2.0.1 (was 2.0.0) installing leveldb-library (1.18.3) 

i tried see release notes , not, @ loss how diagnose this. there data, user executing query has correct rights , there no exceptions or errors.

this appdelegate:

override init() {   firebaseapp.configure()   database.database().ispersistenceenabled = true   database.setloggingenabled(true) } 


Comments

Popular posts from this blog

minify - Minimizing css files -

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

php - How to remove letter in front of the word laravel -