particle-iot / particle-android

Particle Open Source for Android
Apache License 2.0
37 stars 38 forks source link

Unable to change value for indicator_light_setup_color_name #90

Closed jeremiahogutu closed 4 years ago

jeremiahogutu commented 4 years ago

I am unable to change the values for indicator_light_setup_color_name and setup_button_identifier. I am integrating the android sdk into a react native app. I am able to customize most of the values in the android sdk by adding them to string.xml, but for some reason it does not work for the values mentioned above.

jensck commented 4 years ago

indicator_light_setup_color_name and setup_button_identifier are just an internal-use strings for templating; I'm guessing you were reading the source? :)

The values you want are listen_mode_led_color_name and mode_button_name, respectively. For future ref, all of these customizations are documented here!

jeremiahogutu commented 4 years ago

Yeah I was reading the source code. I changed the values and it worked perfect. Thank you!