cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
cerebiz Frequent Visitor
Frequent Visitor

Power BI Embedded Content Not loading in iOS

Hi Team,

 

We are developing a Cordova app that displays a Power BI Report (inside a iframe) using Power BI Embedded framework. It works fine in the Android version but gives an error in iOS.

 

"Blocked a frame with origin app.powerbi.com from accessing a frame with origin "file". The frame requesting access has a
protocol of "https", the frame being accessed has a protocol of "file". Protocols must match."

 

ios.jpg

 

ios error.JPG

 

Is there any work around to get over this issue?

 

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
PBI_Enthusiast Frequent Visitor
Frequent Visitor

Re: Power BI Embedded Content Not loading in iOS

This is due to UIWebView API deprecation by Apple. This is not a Power BI or Microsoft issue.

 

Please see this for detailed explanation of the root cause of this issue and what you will need to do - https://ionicframework.com/blog/understanding-itms-90809-uiwebview-api-deprecation/

 

To summarize, this is what you may need to do...

Using Cordova?

On November 25th, 2019, the Cordova team released Cordova iOS 5.1.0, which disables UIWebview at compile time. They were previously discussing a plan to move forward.

To update:

Ensure you have a WKWebView plugin installed: either the official Apache one or Ionic’s. All Ionic starter apps automatically include cordova-plugin-ionic-webview.
Add <preference name="WKWebViewOnly" value="true" /> to your config.xml file.
Update each Cordova plugin to the latest version (these can trigger the warning too). Better yet – remove them if they are no longer needed!
Run cordova prepare ios to apply the changes.

View solution in original post

2 REPLIES 2
PBI_Enthusiast Frequent Visitor
Frequent Visitor

Re: Power BI Embedded Content Not loading in iOS

This is due to UIWebView API deprecation by Apple. This is not a Power BI or Microsoft issue.

 

Please see this for detailed explanation of the root cause of this issue and what you will need to do - https://ionicframework.com/blog/understanding-itms-90809-uiwebview-api-deprecation/

 

To summarize, this is what you may need to do...

Using Cordova?

On November 25th, 2019, the Cordova team released Cordova iOS 5.1.0, which disables UIWebview at compile time. They were previously discussing a plan to move forward.

To update:

Ensure you have a WKWebView plugin installed: either the official Apache one or Ionic’s. All Ionic starter apps automatically include cordova-plugin-ionic-webview.
Add <preference name="WKWebViewOnly" value="true" /> to your config.xml file.
Update each Cordova plugin to the latest version (these can trigger the warning too). Better yet – remove them if they are no longer needed!
Run cordova prepare ios to apply the changes.

View solution in original post

cerebiz Frequent Visitor
Frequent Visitor

Re: Power BI Embedded Content Not loading in iOS

Hi @PBI_Enthusiast,

 

Thank you very much for your assistance. Now the power bi reports are loading without any issue in Web View.

Helpful resources

Announcements
Exclusive LIVE Community Event #3 – Ask Arun Anything

Exclusive LIVE Community Event #3 – Ask Arun Anything

Join us in the third Triple A event!

Meet the 2020 Season 1 Power BI Super Users!

Meet the 2020 Season 1 Power BI Super Users!

It’s the start of a new Super User season! Learn all about the new Super Users and brand-new tiered recognition system.

Super User Challenge: Can You Solve These?

Super User Challenge: Can You Solve These?

We're celebrating the start of the New Super User season with our first ever Super User 'Can You Solve These?' challenge.

Power BI Desktop Update - February 2020

Power BI Desktop Update - February 2020

We are super excited for our update this month, as we are releasing two of our top community requests!

Power Platform Online Conference

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

Top Solution Authors
Top Kudoed Authors