<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Report embedded page crash on iOS device in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Report-embedded-page-crash-on-iOS-device/m-p/4340110#M58778</link>
    <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Step 1: Rule Out Device-Specific Issues&lt;/STRONG&gt;&lt;BR /&gt;I tested the report on three different iOS devices. Occasionally, the page loads successfully once, but most attempts result in a white-page crash.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;Step 2: SDK/JS Library Details&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;SDK Version&lt;/STRONG&gt;: Microsoft.PowerBI.Api (4.22.0)&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;JS Library&lt;/STRONG&gt;: powerbi-client@2.23.1&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;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:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;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,
}
}
}
};&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Step 3: Browser Compatibility Testing&lt;/STRONG&gt;&lt;BR /&gt;I tested the report on multiple browsers, including Chrome, Edge, and Safari, but the issue persists across all of them.&lt;/P&gt;&lt;P&gt;Any further insights or recommendations you could provide would be greatly appreciated. Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Ming&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 23 Dec 2024 03:42:43 GMT</pubDate>
    <dc:creator>OZZZ</dc:creator>
    <dc:date>2024-12-23T03:42:43Z</dc:date>
    <item>
      <title>Report embedded page crash on iOS device</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Report-embedded-page-crash-on-iOS-device/m-p/4339828#M58773</link>
      <description>&lt;P&gt;&lt;SPAN&gt;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. &lt;/SPAN&gt;&lt;SPAN&gt;The report displays correctly on Android devices.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Has anyone else experienced a similar problem? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there a solution available? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Through adding logs, it was discovered that the iOS device crashes before it can execute the following method:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;report.on(&lt;/SPAN&gt;&lt;SPAN&gt;"rendered"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN class=""&gt;function&lt;/SPAN&gt;&lt;SPAN class=""&gt; (&lt;/SPAN&gt;&lt;SPAN class=""&gt;) &lt;/SPAN&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;    &lt;SPAN&gt;console&lt;/SPAN&gt;&lt;SPAN&gt;.log(&lt;/SPAN&gt;&lt;SPAN&gt;"Report render successful"&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;});&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;SPAN&gt;This indicates that the failure occurs specifically on iOS when attempting to listen for the "rendered" event on the report object.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 22 Dec 2024 15:40:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Report-embedded-page-crash-on-iOS-device/m-p/4339828#M58773</guid>
      <dc:creator>OZZZ</dc:creator>
      <dc:date>2024-12-22T15:40:51Z</dc:date>
    </item>
    <item>
      <title>Re: Report embedded page crash on iOS device</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Report-embedded-page-crash-on-iOS-device/m-p/4340040#M58776</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/904580"&gt;@OZZZ&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;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?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Step 1: Rule Out Device-Specific Issues&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Test the embedded report on a different iOS device to determine if the issue is specific to a particular phone.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;STRONG&gt;Step 2: Check for iOS Limitations&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Ensure that the SDK version and &lt;SPAN&gt;JavaScript &lt;/SPAN&gt;libraries are updated to the latest versions.&lt;/LI&gt;
&lt;LI&gt;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.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;STRONG&gt;Step 3: Browser Compatibility&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Attempt to open the embedded report using a different browser on the iOS device to see if it displays correctly.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Mon, 23 Dec 2024 02:42:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Report-embedded-page-crash-on-iOS-device/m-p/4340040#M58776</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-12-23T02:42:38Z</dc:date>
    </item>
    <item>
      <title>Re: Report embedded page crash on iOS device</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Report-embedded-page-crash-on-iOS-device/m-p/4340110#M58778</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Step 1: Rule Out Device-Specific Issues&lt;/STRONG&gt;&lt;BR /&gt;I tested the report on three different iOS devices. Occasionally, the page loads successfully once, but most attempts result in a white-page crash.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;Step 2: SDK/JS Library Details&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;SDK Version&lt;/STRONG&gt;: Microsoft.PowerBI.Api (4.22.0)&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;JS Library&lt;/STRONG&gt;: powerbi-client@2.23.1&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;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:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;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,
}
}
}
};&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Step 3: Browser Compatibility Testing&lt;/STRONG&gt;&lt;BR /&gt;I tested the report on multiple browsers, including Chrome, Edge, and Safari, but the issue persists across all of them.&lt;/P&gt;&lt;P&gt;Any further insights or recommendations you could provide would be greatly appreciated. Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Ming&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Dec 2024 03:42:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Report-embedded-page-crash-on-iOS-device/m-p/4340110#M58778</guid>
      <dc:creator>OZZZ</dc:creator>
      <dc:date>2024-12-23T03:42:43Z</dc:date>
    </item>
  </channel>
</rss>

