Dynamic UI changes

Enable the Remote config

  • Firebase Remote Config is the easiest way to customize your mobile app once you release it to play and app stores. In general, you need to update the app if you have any changes.

  • These updates need to be pushed to the stores after proper testing and approvals though it might be a small change but to make it live needs a lot of time.

  • And also all the users may not update the app once you release it so this process may further get delayed.

  • To avoid all these situations we make use of a remote config option available with Firebase. Which will make it easier to deal with content changes within the app.

  • First, we need to enable the remote config feature in the firebase console

  • Open the Firebase console & select your project under the engage section to select the remote config

  • After clicking the create configuration here we need to create our parameters.

Change the Banner

  • To update the banner in the mobile app, first, you should upload your banner images to your website and copy the link to the images

  • Then you need to create the parameters in the remote config for banners

  • In our app currently, we have 3 banners that banners parameter names are slider1_img, slider2_img, slider3_img

  • Also here we need to create the banner id parameter in the remote config for navigation, our slider parameter names are followed by slider1_id, slider2_id, slider3_id

  • After create the parameter you need to publish the parameter in Remote config

  • After sucessfully publish the changes we can easily access the banner images in our app.

Change the category image

  • To update the category images in the mobile app, first, you should upload your category images to your website and copy the link to the images

  • Then you need to create the parameters in the remote config for category images & category image Id

  • In our app currently, we have 4 category that parameter names are category1_img, category2_img,category3_img,category4_img

  • Also here we need to create the category image id parameter in the remote config , our category image id parameter names are followed by category1_id, category2_id, category3_id,category4_id

  • After create the parameter you need to publish the parameter in Remote config

Change the product category

  • To update the product category section you need to create the following parameters in the remote config for Product category name , Product category Id & Category may like id

  • In our app currently, we have 3 product category section that parameter names are category_name1, category_name2,category_name3

  • Also here we need to create the Product category image id parameter in the remote config , our Product category image id parameter names are followed by category_id1, category_id2, category_id3

  • Also here we need to create the Product may like id parameter in the remote config , that parameter names are followed by category_like1, category_like2, category_like3

  • After create the parameter you need to publish the parameter in Remote config

Last updated