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

fix: Use a single scheme for all files #270

Merged
merged 1 commit into from
Jan 16, 2019

Conversation

jcesarmobile
Copy link
Member

Use ionic:// for app assets and local files instead of having multiple schemes based on the file
type

fix #258

Use ionic:// for app assets and local files instead of having multiple schemes based on the file
type

fix ionic-team#258
@peterpeterparker
Copy link

It just work like a charm, tested on a simulated iPhone and on my Android phone in my Ionic Angular app

Thx a lot @jcesarmobile you are today's real MVP 👍

@mlynch mlynch merged commit 3d1bcdd into ionic-team:master Jan 16, 2019
@jcesarmobile jcesarmobile deleted the one-scheme branch January 16, 2019 16:01
Ionitron added a commit that referenced this pull request Jan 17, 2019
# [3.1.0](v3.0.0...v3.1.0) (2019-01-17)

### Bug Fixes

* **ios:** Fix video playback of files with uppercase extension ([#264](#264)) ([2c4b225](2c4b225)), closes [#260](#260)
* Set engines to require Cordova CLI 7.1.0 or newer ([#276](#276)) ([40f42e1](40f42e1)), closes [#263](#263)
* Use a single scheme for all files ([#270](#270)) ([3d1bcdd](3d1bcdd)), closes [#258](#258)

### Features

* **Android:** Make app Scheme configurable with a preference ([#274](#274)) ([18d9f2c](18d9f2c)), closes [#269](#269) [#255](#255)
@Ionitron
Copy link
Collaborator

🎉 This PR is included in version 3.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@Bramzor
Copy link

Bramzor commented Jan 18, 2019

So we need to use ionic://app_file/.... or ionic://app_content/.... to access these files which we get when we use Webview. convertFileSrc ? I assume there is no possibility that this will end up in v2.3 because I currently use that version to have iOS 9 support and because of issues like #266 or is this issue fixed with this PR too?

@jcesarmobile
Copy link
Member Author

Yeah, it's on 2.3.2 already, but the problem on #266 is different, it's really an angular config "problem", will document it on the README

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[v3] Cors problems when using images with file URI from the Camera plugin and with Cropper.js
5 participants