4 Replies Latest reply on Feb 6, 2014 3:54 AM by Jiri Sverak

    Rhoconnect, free or need to pay?

    Jiri Sverak

      I have an economy app and want to sync it using Rhoconnect and backend API. Is that free, or still only 10 devices are free and if I want more, I need to pay for license?

        • Re: Rhoconnect, free or need to pay?
          Pietro Francesco Maggi

          RhoConnect is a Commercial product where you buy licenses for how many devices you want to connect to a server. There's no cost involved in the server: one or multiple in load balancing, you just pay the number of devices you connect.

           

          ~Pietro

          1 of 1 people found this helpful
            • Re: Rhoconnect, free or need to pay?
              Jiri Sverak

              Ok, but what if I have my own server? Or is there any possibility to make that happen without Rhoconnect? For example, I have:

               

              User

              Account (belong_to User)

              Category (belongs_to Account)

              Record (belongs_to Category)

              Currency (belongs_to Account)

               

              API sends me data as JSON.

               

              I want to have offline app and then just click on Sync button for synchronization. Problem is, if I want to update for example one record, how can I do that if I dont have id from API? It's hard to explain (my english is very bad).

               

              Ok, update is fine, but how my server recognize different id of data?

              • Re: Rhoconnect, free or need to pay?
                Jiri Sverak

                I found this tut:

                 

                Rhomobile | Connecting Directly to Web Services with Rhodes

                 

                Is that it? I know Java very good, but Ruby still makes me hard to understand.

                • Re: Rhoconnect, free or need to pay?
                  Jiri Sverak

                  Example of API:

                   

                  {

                      "success": true,

                      "info": "ok",

                      "data": {

                          "account": {

                              "name": "test",

                              "description": "",

                              "created_at": "2013-11-21T19:03:50.000Z",

                              "updated_at": "2013-11-21T19:03:50.000Z"

                          },

                          "records": [

                              {

                                  "id": 2,

                                  "amount": "123.0",

                                  "date": "2014-01-28",

                                  "description": "dasda",

                                  "category_id": 7,

                                  "created_at": "2014-01-16T11:51:14.000Z",

                                  "updated_at": "2014-01-16T11:51:14.000Z"

                              }

                          ]

                      }

                  }

                   

                  Another problem is that we are using auth token. In Java, I just store token and then send every time when I want to sync. Server is written in Ruby on Rails (by my friend). category_id is parent.