Modified to make call to platform to show message and camera when clicking on a message