How to get all documents from the remote gateway
In my app the user may have multiple devices. Currently when the user uses the app on device A the information is synchronized correctly via the sync gateway. What I'm have trouble with is when the user uses the app on device B for the first time if i do a pull replication no documents are imported (I'm assuming because it looks for changes of which there are none).
What is the correct way to get the documents on the remote server on a new device?
Yes that should work.
Have you checked out the TodoLite example? If you login to device A and add documents, then login to device B those docs will be sync'd down to device B.
Can you take a look and compare what you are doing differently to try to isolate the issue?