With a very simple test rig I am unable to insert into my IonicDB if I call disconnect() and then connect();
If I don’t issue disconnect() I am fine.
I have a watch on this.db.status().subscribe … and I only ever see status ‘disconnected’
This is related to https://github.com/driftyco/ionic-cloud/issues/171#issuecomment-285352150
I.e. regardless of the above if an app deployed in Ionic View and the user locks the iphone when the app tries to run a query on the IonicDB it gets a socket error and it does not try and reconnect.
It’s as if the reconnecting simply does not work?
Any advise ?