The file from Power Apps can be downloaded using Download function or can be launched in browser using Launch function.
Scenario 1:
I replicated the scenario, wherein file PDF gets generated in OneDrive using Convert File and Create File OneDrive actions in Power Automate. Then get the File Content and send the response back to Power Apps.
Here, additionally I have used one more OneDrive action to create the file link, i.e. Create share link. Using this you can create a link and then can use Launch function in Power Apps, as shown below:
I am sending the "fileLink" back to Power Apps.
In Power Apps (on click of button control i.e. OnSelect property), I have used:
Scenario 2:
I extended the Power Automate flow by creating the file in SharePoint Online Document Library and composing the URL which will be sent back to Power Apps, as shown in below image:
Compose URL: https://<tenantname>.sharepoint.com/sites/<site collection title>/_layouts/15/download.aspx?SourceUrl=/sites/<site collection title><file path with the library name>
In Power Apps, I used Download function to download the PDF file in browser:
-----------------------------------------------------------------------------------
If this reply helped you, please mark this reply as suggested answer and give it a like to help others in the community find the answer too!
Thanks,
Vipul