mplateId = "";
        if (platform === "android") {
          templateId = "android-template";
        } else if (platform === "ios" || platform === "ipad") {
          templateId = "ios-ipad-template";
        } else {
          templateId = "unsupported-template";
        }

        return templateId;
      };

      // renders the content based on the template id
      const renderContent = (templateId) => {
        const template = document.getElementById(templateId);
        if (template) {
          