8 Replies Latest reply on Jan 28, 2014 7:27 AM by Pietro Francesco Maggi

    License wizard

    Ruben Ruben

      Hi,

       

      we have acquired a RhoElements licence, but we are not able to use it in our app. If I have understood correctly, for Windows Mobile devices, you need to use the "license wizard" (adding the license in the build.yml doesn't seem to work), but we are not getting this wizard (just a plain warning that reminding us we have no license, and a "ok" button on the top right corner of the popup).

       

      It is probable that we removed some of the javascript files for it needed to run, so could you tell us what we need to get the wizard again?

       

      Thanks!

        • Re: License wizard
          Pietro Francesco Maggi

          Hi Ruben,

          Which platform are you testing on and which version of RhoMobile suite are you using?

           

          If you're testing on a Windows Mobile device, please check that you don't have in your build.yml the "native_browser" capabilities enabled.

           

          BTW, if you can post your build.yml here it can helps.

           

          ~Pietro

            • Re: License wizard
              Ruben Ruben

              Hi Pietro,

               

              We are testing on WM 6.5, using version 4 of the Rhomobile suite. This is the build.yml

               

              sdkversion: "4.0.0"

              name: "BCTest"

              motorola_license: '...'

              version: "1.0"

              vendor: "Test"

              build: "debug"

              bbver: "4.6"

              applog: "rholog.txt"

              iphone:

                configuration: "Release"

                sdk: "iphonesimulator5.0"

                provisionprofile:

                codesignidentity:

                entitlements:

                BundleIdentifier: "com.rhomobile.testapp"

                BundleURLScheme: "testapp"

              wm:

                sdk: "Windows Mobile 6.5.3 Professional DTK (ARMV4I)"

              wp:

                productid: "f990f0d0-6927-0130-6843-002264b504bb"

              symbian:

                uid: "0xe80c10af"

              android:

                version: "2.2"

                emulator: "Testapp"

              extensions:

                - json

                - rhoconnect-client

                - barcode

              capabilities:

                - camera

                - non_motorola_device

                - motorola_browser

                • Re: License wizard
                  Pietro Francesco Maggi

                  try commenting (or deleting) the line:

                    - non_motorola_device

                   

                  ~Pietro

                    • Re: License wizard
                      Ruben Ruben

                      Tried, and after a clean re-build, still shows the same message. Any other ideas?

                      I know i've seen the wizard in other test apps we have developed, but i'm not sure what we did differently...

                        • Re: License wizard
                          Pietro Francesco Maggi

                          very strange

                          Is this an application that you built in v4.0 or something that you upgraded from v2.2?

                           

                          To have the Motorola Webkit Browser in Windows Mobile you don't need to have the "motorola_browser" capability, delete/comment that line. and redo a

                          full clean and build cycle

                           

                          rake clean

                          rake device:wm:production

                           

                          and see what happens.

                          If is still showing the wrong license, you can make a test creating a new app from scratch and using that build.yml in this project.

                           

                          ~Pietro

                      • Re: License wizard
                        Daniel Silva

                        You are missing apptype rhoelements.  I think you want to look something like this.

                         

                        sdkversion: "4.0.0"

                        name: "BCTest"

                        motorola_license: '<your license key here''

                        version: "1.0"

                        vendor: "Test"

                        build: "debug"

                        bbver: "4.6"

                        applog: "rholog.txt"

                        iphone:

                          configuration: "Release"

                          sdk: "iphonesimulator5.0"

                          provisionprofile:

                          codesignidentity:

                          entitlements:

                          BundleIdentifier: "com.rhomobile.testapp"

                          BundleURLScheme: "testapp"

                        wm:

                          sdk: "Windows Mobile 6.5.3 Professional DTK (ARMV4I)"

                        wp:

                          productid: "f990f0d0-6927-0130-6843-002264b504bb"

                        symbian:

                          uid: "0xe80c10af"

                        android:

                          version: "2.2"

                          emulator: "Testapp"

                        extensions:

                          - json

                          - rhoconnect-client

                        app_type: "rhoelements"

                        capabilities:

                          - camera

                    • Re: License wizard
                      Peter Arcuri

                      Based on your configuration file it appears as you are referring to an app license and not device license. In order for the app license to work the encrypted string needs to match the name of the app, as the string was created with the app name embedded. Make sure the app name in your configuration states the exact name (string) that was used when the license key was generated. I suspect the name of the app provided to generated the key wasn't "BCTest".

                       

                      BTW, you may want to blackout the encrypted key when displaying your configuration file.

                      1 of 1 people found this helpful
                        • Re: License wizard
                          Pietro Francesco Maggi

                          @Peter, You're right, seems an application license in this case, and a v2.2 license, so no way to have it working with RhoElements v4.0

                          registered to application name:"VanboxtelMobile".

                           

                          So two reason why this license does not works:

                          • is for v2.2
                          • is for application name "VanboxtelMobile"

                           

                          ~Pietro