Config API

// Expert user has replied.
C Chris Child 3 years 7 months ago
15 1 0

I'm trying my best to get this API to work with version 5.3.2 but the documentation for it is very bare. I am trying to test this out through the Rho Simulator using the Win32 platform.

My imports and the usage are below. As there does not seem to be any notes about this I believed that this was taking over from the old RhoConfig API hence why I'm looking for start_path. If this is also not the case please let me know.

    
   
   
   
   
   
      
        $(document).ready(function() {
            console.log(Rho.Config.getPropertyString("start_path"));
        });

I've tried putting "config" into the extensions of my build.yml as well but that made no change.

A quick note, I did just update from 5.0.25.

Please Register or Login to post a reply

1 Replies

J Joydeep Chakraborty

Hi Chris,
What is your target platform where you want to deploy?
Config APIs are not supported on RhoSimulator platform.
Please see the supported platforms list just below the API description.
Rhomobile | Config
Regards,
Joydeep

CONTACT
Can’t find what you’re looking for?