Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
OZZZ
Regular Visitor

Report embedded page crash on iOS device

When embedding a report using the Power BI Web Embedded approach with the .NET SDK, I encountered an issue where one particular report failed to display on iOS devices, causing the page to crash. The report displays correctly on Android devices.

 

Has anyone else experienced a similar problem?

Is there a solution available?

 

Through adding logs, it was discovered that the iOS device crashes before it can execute the following method:

report.on("rendered", function () {    console.log("Report render successful");});

 

 This indicates that the failure occurs specifically on iOS when attempting to listen for the "rendered" event on the report object.

2 REPLIES 2
Anonymous
Not applicable

Hi @OZZZ ,

It sounds like you're experiencing a compatibility issue specific to iOS when embedding a Power BI report. Could you please try the following steps for further troubleshooting?

Step 1: Rule Out Device-Specific Issues

  • Test the embedded report on a different iOS device to determine if the issue is specific to a particular phone.

Step 2: Check for iOS Limitations

  • Ensure that the SDK version and JavaScript libraries are updated to the latest versions.
  • Simplify the report by removing custom visuals, R visuals, and other complex elements. Test if the simplified report displays correctly on the same iOS device.

Step 3: Browser Compatibility

  • Attempt to open the embedded report using a different browser on the iOS device to see if it displays correctly.

Best Regards

Hi @Anonymous ,

 

Thank you so much for your prompt response! I followed the steps you provided, but unfortunately, the issue persists on iOS devices. While testing various reports, I found that the problem only occurs with the current report so far. Below is a summary of my troubleshooting efforts:

Step 1: Rule Out Device-Specific Issues
I tested the report on three different iOS devices. Occasionally, the page loads successfully once, but most attempts result in a white-page crash.


Step 2: SDK/JS Library Details

  • SDK Version: Microsoft.PowerBI.Api (4.22.0)
  • JS Library: powerbi-client@2.23.1

To isolate the issue, I simplified the report by removing custom visuals and settings. Unfortunately, even the simplified report failed to load on iOS devices. Simplified settings list below:

 

const reportConfig = {
type: embedType,
id: embedParam.reportId,
tokenType: models.TokenType.Aad,
accessToken: loggedInUser.accessToken,
embedUrl: embedData.embedUrl,
settings: {
layoutType: models.LayoutType.FitToWidth,
background: models.BackgroundType.Transparent,
panes: {
filters: {
expanded: false,
visible: false
},
pageNavigation: {
visible: true
},
localeSettings: {
language: UserOwnsData.language,
}
}
}
};

 

Step 3: Browser Compatibility Testing
I tested the report on multiple browsers, including Chrome, Edge, and Safari, but the issue persists across all of them.

Any further insights or recommendations you could provide would be greatly appreciated. Thank you!

 

Best regards,
Ming



Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.