Questions tagged [grounddb]
12 questions
3
votes
1 answer
Meteor-React: GroundDB suddenly empty
[EDIT] updated to Ground DB v2, made code more readable
I am trying to use GroundDB in my project, so my Meteor-React Cordova App can also run offline. In the main container I have the following code:
let fullyLoaded = new ReactiveVar(false);
let…

Taxel
- 3,859
- 1
- 18
- 40
2
votes
0 answers
problems with meteor ground:db while persisting data between app restarts
I am using meteor package ground db "https://github.com/GroundMeteor/db"
in my meteor & ionic app. I am facing a problem in data persistence between app restarts. Initially when the app starts and then goes into offline mode during navigating the…

Pooja Srivastava
- 199
- 1
- 8
2
votes
0 answers
Offline meteor application using ground:db
I am working with offline support of Meteor Application. I have researched about this support but all are giving one answer 'ground:db'. I looked into that solution its really nice effort by @raix. I started with that package, Its already working…

Dhaval Rajani
- 191
- 1
- 2
- 15
1
vote
0 answers
loadDatabase not working
I am using groundDb in an exiting application.
Right now I am simply trying to ground Meteor.users:
GroundedUsers = new Ground.Collection("Meteor.users")
GroundedUsers.observeSource(Meteor.users.find())
if Meteor.isCordova && Meteor.status() !=…

Ashish Agrawal
- 371
- 1
- 4
- 17
1
vote
0 answers
How to download mongo collections as file using iron-router (and ground-db)?
What I want to do: Specify a route (with iron-router), which starts a file download when accessed. The file contains information from the applications mongo-Databases.
Use case: I'm developing a meteor offline web-application which gets also…

zwif
- 195
- 3
- 13
1
vote
0 answers
Meteor android app login while offline
I am trying to build a Meteor app (intended to be used mainly as an Android mobile app - not from a browser) that will be functional even if user gets offline. For that reason, I am using Grounddb package.
If I login to my app while connected to…

kasimoglou
- 384
- 3
- 17
1
vote
2 answers
Meteor GroundDB granularity for offline/online syncing
Let's say that two users do changes to the same document while offline, but in different sections of the document. If user 2 goes back online after user 1, will the changes made by user 1 be lost?
In my database, each row contains a JS object, and…

Jean-François Beauchamp
- 5,485
- 8
- 43
- 77
0
votes
1 answer
Meteor and GroundDB: find by id not returning any entries
I am trying to implement an offline DB for my meteor app and chose to use “GroundDB”. Now I am still in my early learning phases but I am having a problem for which I cannot find a solution:
when using .find on my offline-collections, I cannot find…

CaptainSaftig
- 1
- 2
0
votes
1 answer
How to insert data in ground.db in meteor when offline
i have a fully working meteor application but now i want to make it offline so I installed ground:db and appcache here is my package file:
...
ground:db
appcache
ground:localstorage
then I changed my Collections to this:
Gebiete = new…

Michael
- 127
- 2
- 10
0
votes
1 answer
Meteor subscription to get only new documents
Just wondering if there is a way to set my meteor subscription to load only new documents from a mongo collection, avoiding to sync deletes and updates (Since they are not relevant in the data that is shown to user).
Why I need that? It seems…

Ruben
- 816
- 1
- 8
- 21
0
votes
0 answers
Meteor Cordova Offline issue
I am trying to make my Meteor App (angular-meteor) offline capable with GroundDB.
But when I start the App without Internet Connection I get the message:
Possible issue: deviceready did not fire in a reasonable amount of time. This can be caused by…

user3819370
- 513
- 1
- 6
- 15
0
votes
1 answer
How to ensure meteor local collection is ready before routing
I am using Meteor + AngularJS framework.
I want to control routing according to what data stored in an offline collection(using ground:db), but the offline data is not guaranteed to be ready before routing.
If the collection is not offline, there…

vdonkey
- 106
- 10