Hello Ayyappan
Welcome to the SBB Community.
In order to view the Swiss Travel Pass in the app, you must have created an account before purchase and being logged-in while purchase.
In your case, simply use the PDF together with your physical passport (no photos, no photo copies) and show both when you are being asked by the ticket inspectors.
Kind regards
Roland