Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android: iframe with the Blob URL/Object URL does not work correctly #6377

Closed
natalya-semenova opened this issue Mar 8, 2023 · 7 comments · Fixed by #7551
Closed

Android: iframe with the Blob URL/Object URL does not work correctly #6377

natalya-semenova opened this issue Mar 8, 2023 · 7 comments · Fixed by #7551
Labels
platform: android type: bug A confirmed bug report

Comments

@natalya-semenova
Copy link

natalya-semenova commented Mar 8, 2023

Bug Report

Capacitor Version

💊   Capacitor Doctor  💊

Latest Dependencies:

  @capacitor/cli: 4.7.0
  @capacitor/core: 4.7.0
  @capacitor/android: 4.7.0
  @capacitor/ios: 4.7.0

Installed Dependencies:

  @capacitor/cli: 4.7.0
  @capacitor/android: 4.7.0
  @capacitor/core: 4.7.0
  @capacitor/ios: 4.7.0

[success] iOS looking great! 👌
[success] Android looking great! 👌

Platform(s)

Android

Current Behavior

Programmatically attaching iframe with the Blob URL/Object URL source produces an iframe with empty body/content.

Expected Behavior

iframe content is being displayed

Code Reproduction

https://github.com/natalya-semenova/vue-cap-test

Other Technical Details

npm --version output: 9.5.0

node --version output: v18.14.2

@natalya-semenova natalya-semenova changed the title bug: Android: iframe with the Blob URL/Object URL does not work correctly Mar 8, 2023
@jcesarmobile jcesarmobile added type: bug A confirmed bug report and removed platform: ios labels Mar 9, 2023
@indice
Copy link

indice commented Jul 13, 2023

I have the same problem, it works on ios and desktop, but not on adnroid.

"@capacitor/android": "^5.1.1",
"@capacitor/app": "^5.0.6",
"@capacitor/assets": "^2.0.4",
"@capacitor/cli": "^5.1.1",
"@capacitor/core": "^5.1.1",
"@capacitor/device": "^5.0.6",
"@capacitor/ios": "^5.1.1",

@iBobik
Copy link

iBobik commented Sep 2, 2023

Maybe regression in Cordova?
https://issues.apache.org/jira/browse/CB-9558

This in capacitor.config.ts didn't helped:

  server: {
    allowNavigation: ['blob:*', 'about:*'],
  },

@DLotero
Copy link

DLotero commented Oct 9, 2023

@natalya-semenova did you find the solution for this? I have a similar issue

@DanialV
Copy link

DanialV commented Apr 30, 2024

Any update on this we still have problem

@mattfik
Copy link

mattfik commented Jun 12, 2024

Also experiencing this issue. Perhaps this PR is the solution? #5498

@jcesarmobile jcesarmobile added type: bug A confirmed bug report and removed type: bug A confirmed bug report labels Jul 8, 2024
Copy link

ionitron-bot bot commented Jul 8, 2024

This issue has been labeled as type: bug. This label is added to issues that that have been reproduced and are being tracked in our internal issue tracker.

Copy link

ionitron-bot bot commented Aug 15, 2024

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Aug 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
platform: android type: bug A confirmed bug report
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants