-
Notifications
You must be signed in to change notification settings - Fork 2
Description
As a developer I need to modify the learning path code once authentication is working to start replication and pull in documents from the following scopes/collections from sync gateway:
- audit
- inventory
- projects
- userProfiles
- sales
- warehouse
The replicator should auto start once the user is authenticated and stop if the application goes to the background for any reason. The entire database should be closed and replicator removed if it he app is scheduled to be closed.
The Replicator should use the login information provided by the authentication process in order to setup the configuration and connect to the sync gateway server. The code should take into account of Android requiring 10.0.2.2 network vs iOS using localhost.
Once replication is started, the user should be able to navigate to a custom developer information screen that shows the following information:
-
The current logged in username
-
The Database Location
-
The Database Name
-
The current User Profile Document information:
-
First Name, Last Name, Teams the user is in
-
The number of documents in the userProfiles collection
-
The number of documents in the warehouse collection
-
The number of documents in the projects collection
-
The number of documents in the inventory collection
An example can be looked at from the Android learning path:
This will help the developer understand how many documents have been replicated to the device and this will in turn help troubleshoot the replication configuration object.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
