Ionic-framework: Ionic View - SVGs not working

Created on 12 Sep 2017  Â·  12Comments  Â·  Source: ionic-team/ionic-framework

Ionic version:
[ ] 1.x
[ ] 2.x
[X ] 3.x

I'm submitting a ...
[X ] bug report
[ ] feature request
[ ] support request

Current behavior:
The SVG images are visible on devices (both android+ios) / working fine on devices and emulators
The SVG images are hidden in Ionic View / Not working in Ionic View

Expected behavior:
The SVG images should be visible / working in Ionic View

Steps to reproduce:
Push an app with SVGs to ionic pro backend
Open this app in Ionic View

Related code:

<img src="assets/images/home_btn_1.svg"  />

Other information:
Forum link : https://forum.ionicframework.com/t/svg-file-is-not-shown-on-ionic-view/105063

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):

cli packages: (/usr/local/lib/node_modules)

    @ionic/cli-utils  : 1.9.2
    ionic (Ionic CLI) : 3.9.2

global packages:

    Cordova CLI : 7.0.1 
    Gulp CLI    : CLI version 3.9.1 Local version 3.9.1

local packages:

    @ionic/app-scripts : 2.0.2
    Cordova Platforms  : android 6.2.3 ios 4.4.0
    Ionic Framework    : ionic-angular 3.6.1

System:

    Android SDK Tools : 26.0.2
    ios-deploy        : 1.9.2 
    Node              : v6.11.2
    npm               : 5.4.1 
    OS                : macOS Sierra
    Xcode             : Xcode 8.3.3 Build version 8E3004b 

Most helpful comment

I'm having this issue as well. But didn't find any related post in http://support.ionicjs.com either, so I submitted a new request to them.

I'll post here later if I get a response.

All 12 comments

Hello! Thank you for opening an issue with us!

This appears to be an issue with Ionic View and not the Ionic Framework, so I am going to move this issue to ionic-team/ionic-view-issues. Please follow the item over there.

Thank you for using Ionic

This issue was moved to ionic-team/ionic-view-issues#231

This repo does not exists anymore :(

I believe that team has decided that since Ionic View is part of Ionic Pro that issues should go through Ionic Pro's support portal (http://support.ionicjs.com)

So how will we receive updates for when this is fixed?

This is so disappointing. I too have the same issue. SVG works in the iOS simulator and web view but not on the view app on iOS. PNG images work fine everywhere.

Yes, plz fix it!

Sébastien fieloux
Développeur freelance
0698458781
sebastien.[email protected]
http://www.sebfie.com

Le 22 octobre 2017 à 19:54:16, Teo Maragakis ([email protected]) a
écrit:

This is so disappointing. I too have the same issue. SVG works in the iOS
simulator and web view but not on the view app on iOS. PNG images work fine
everywhere.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ionic-team/ionic/issues/12870#issuecomment-338496153,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA0nsV-SWank_wRouDfsDYo4IzQ8Y9Ebks5su4FIgaJpZM4PVHWL
.

Same Issue here :/ ios works not, android works fine.

I couldn't find the post related to this issue in http://support.ionicjs.com. Have anyone found it?

I'm having this issue as well. But didn't find any related post in http://support.ionicjs.com either, so I submitted a new request to them.

I'll post here later if I get a response.

I got a reply from the Ionic support team confirming this is still an issue on their side. They do not have a public issue tracking for Ionic Pro, but they said I'll get a notification once this is fixed (I'll add a comment here).

UPDATE

This was fixed for iOS in the latest release Version 2.0.2.

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 Ionic, please create a new issue and ensure the template is fully filled out.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

GeorgeAnanthSoosai picture GeorgeAnanthSoosai  Â·  3Comments

danbucholtz picture danbucholtz  Â·  3Comments

Nick-The-Uncharted picture Nick-The-Uncharted  Â·  3Comments

SebastianGiro picture SebastianGiro  Â·  3Comments

RobFerguson picture RobFerguson  Â·  3Comments