espressif / esp-rainmaker

ESP RainMaker Agent for firmware development
Apache License 2.0
433 stars 146 forks source link

esp_err_t esp_rmaker_report_node_details() is reflected in the clients but need refresh client app (MEGH-3532) #128

Closed jacek12345 closed 1 year ago

jacek12345 commented 2 years ago

After new device added and called esp_err_t esp_rmaker_report_node_details(), new device appear in client app (iOS) only after refresh interface (slide down on the screen). Is it possible to device list auto update? I'm not sure if it is Rainmaker or iOS app issue.

shahpiyushv commented 2 years ago

@jacek12345 , the phone app home page refreshes based on the silent notifications that it gets. It gets notifications only if a new node is added or params are updated. It does not get notification if a new device is added under the same node, and so, a manual refresh is required for the new device to reflect here. We will see if we can add a notification for this, but since the cloud backend does not track changes in node config, it could be harder to do so.