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 #1592 : add marker support on Rect, Line, Ellipse, Circle and Group #1594

Merged

Conversation

mlecoq
Copy link
Contributor

@mlecoq mlecoq commented May 26, 2021

Summary

Explain the motivation for making this change: here are some points to help you:

  • What issues does the pull request solve? Please tag them so that they will get automatically closed once the PR is merged
    Marker - display issues on android #1592

  • What is the feature? (if applicable)

    Markers on Line, Rect, Ellipse, Circle and Group

  • How did you implement the solution?

    Markers were only displayed on Path on Android. I have looked at the code and Markers are based on elements attribute which was only filled via PathParser. I have modified getPath method on other shapes in order to fill elements attribute. For groups I only copied data from children.

  • What areas of the library does it impact?

    Only Android is impacted, markers are now displayed on Rect, Line, Ellipse, Circle and Group

Test Plan

Demonstrate the code is solid. Example: The exact commands you ran and their output, screenshots / videos if the pull request changes UI.

What's required for testing (prerequisites)?

none

What are the steps to reproduce (after prerequisites)?

Create a svg with a marker, for example on a rectangle

<Svg width="400" height="200" viewBox="0 0 4000 2000">
  <Defs>
    <Marker
      id="selection"
      markerUnits={'userSpaceOnUse' as MarkerUnits}
      refX="0"
      refY="0"
       orient="auto"
    >
     <Circle
            fill="#3a6cff"
            r={5}
            cx={0}
            cy={0}
            strokeWidth={1}
            stroke="white"
          />
    </Marker>
  </Defs>
  <Rect
    x="10"
    y="10"
    width="3980"
    height="1980"
    fill="none"
    stroke="blue"
    strokeWidth="10"
   marker="url(#selection)"
  />
</Svg>

Compatibility

OS Implemented
iOS
Android

Checklist

  • I have tested this on a device and a simulator
  • I added documentation in README.md
  • I updated the typed files (typescript)
  • I added a test for the API in the __tests__ folder

@somasekharkakarla
Copy link

@mlecoq marker still does not work. please test it once your end.
Platfrom: Android
Lib.version: 12.3.0

Please resolve this as soon as possible.

@mlecoq
Copy link
Contributor Author

mlecoq commented Apr 15, 2022

the PR is not yet merged, can you test with "react-native-svg": "mlecoq/react-native-svg#hotfix/displayMarkersOnAndroid", ?

@somasekharkakarla
Copy link

@mlecoq yeah sure

@somasekharkakarla
Copy link

somasekharkakarla commented Apr 16, 2022

@mlecoq npm i git+https://github.com/mlecoq/react-native-svg.git#hotfix/displayMarkersOnAndroid
unable to install.
Please provide me steps to install

@somasekharkakarla
Copy link

i tried to change same files in original libs folder for line and group. Still marker didn't work
Screenshot 2022-04-16 at 4 07 16 PM

@mlecoq
Copy link
Contributor Author

mlecoq commented Apr 16, 2022

Can you share your example ?

@somasekharkakarla
Copy link

somasekharkakarla commented Apr 17, 2022

hi @mlecoq ,
here is the example https://github.com/somasekharkakarla/svg_test_react_native
By the way i am trying to implement same as (https://www.npmjs.com/package/@archireport/react-native-svg-draw).

@mlecoq
Copy link
Contributor Author

mlecoq commented Apr 17, 2022

Thanks !

@somasekharkakarla
Copy link

Hi @mlecoq any update?

@mlecoq
Copy link
Contributor Author

mlecoq commented Apr 17, 2022

I'm on vacation 😄, next week !

@somasekharkakarla
Copy link

@mlecoq enjoy vacation. Your solution worked. i just reset my cache and re started my laptop it worked. Thank you bro.
Why still PR not merge with main library?

@WoLewicki
Copy link
Member

WoLewicki commented Apr 19, 2022

I believe it was not added since the svg standard does not support markers for those elements: https://developer.mozilla.org/en-US/docs/Web/SVG/Element/marker. Or am I missing something? On the other hand, if it is available on iOS, maybe it would be good to have it on both platforms.

@mlecoq
Copy link
Contributor Author

mlecoq commented Apr 22, 2022

Hi @WoLewicki

Thanks for your feedback

If we look at the documentation, markers should be available at least for Line tags.

And on iOS with react-native-svg it works for all of them

@mlecoq
Copy link
Contributor Author

mlecoq commented May 10, 2022

There is an issue on android on marker size (which are bigger compared to iOS). I've fixed it through this commit : 845cb88

@mlecoq mlecoq force-pushed the hotfix/displayMarkersOnAndroid branch 2 times, most recently from d1a1845 to f451eb2 Compare May 10, 2022 14:04
@jake-nz
Copy link

jake-nz commented Aug 1, 2022

I think this should be merged. True, the SVG spec only has markers for <path>, <line>, <polyline> and <polygon> but it's better to merge this PR and support extra elements than the current state where some elements that should be supported are not.

I'm currently facing this issue where my <Line>s have no markers
I can use <Path> instead but the markers are huge on Android
This PR fixes both issues

@tmeiss
Copy link

tmeiss commented Oct 24, 2022

Any plans to merge this?

@mlecoq mlecoq force-pushed the hotfix/displayMarkersOnAndroid branch 3 times, most recently from 1214046 to 85a0f36 Compare November 9, 2022 11:28
@mlecoq mlecoq changed the base branch from develop to main November 9, 2022 11:34
@mlecoq mlecoq force-pushed the hotfix/displayMarkersOnAndroid branch from 014f4d7 to c791696 Compare November 9, 2022 11:51
@narliecholler
Copy link

merging? O.o

@WoLewicki
Copy link
Member

I tried using it with percentages instead of numbers for props, and the points seem to be calculated in a wrong way then. Am I missing something?

@@ -79,6 +81,14 @@ Path getPath(Canvas canvas, Paint paint) {
double r = relativeOnOther(mR);

path.addCircle((float) cx, (float) cy, (float) r, Path.Direction.CW);

elements = new ArrayList<>();
elements.add(new PathElement(ElementType.kCGPathElementMoveToPoint, new Point[]{new Point(mCx.value,mCy.value - mR.value )}));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that in order for it to work correctly, you should use the relative values, so in this example cx, cy, r. And for some reason they should be divided by scale attribute, which you can get like this: float scale = DisplayMetricsHolder.getScreenDisplayMetrics().density;

@WoLewicki
Copy link
Member

@mlecoq I pushed a fix of those mentioned problems to your fork. Could you merge it to your branch so they are available here?

@mlecoq
Copy link
Contributor Author

mlecoq commented Mar 28, 2023

@WoLewicki done !

Copy link
Member

@WoLewicki WoLewicki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@WoLewicki
Copy link
Member

I spotted some problems with different kinds of svgs for marker elements, and I will address them in another PR to keep them small.

@WoLewicki WoLewicki linked an issue Mar 29, 2023 that may be closed by this pull request
@WoLewicki WoLewicki merged commit a7af70c into software-mansion:main Mar 29, 2023
@mlecoq mlecoq deleted the hotfix/displayMarkersOnAndroid branch March 30, 2023 07:40
hyochan referenced this pull request in hyochan/dooboo-ui Apr 22, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[react-native-svg](https://github.com/react-native-community/react-native-svg)
| [`13.4.0` ->
`13.9.0`](https://renovatebot.com/diffs/npm/react-native-svg/13.4.0/13.9.0)
|
[![age](https://badges.renovateapi.com/packages/npm/react-native-svg/13.9.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/react-native-svg/13.9.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/react-native-svg/13.9.0/compatibility-slim/13.4.0)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/react-native-svg/13.9.0/confidence-slim/13.4.0)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>react-native-community/react-native-svg</summary>

###
[`v13.9.0`](https://github.com/software-mansion/react-native-svg/releases/tag/v13.9.0)

[Compare
Source](https://github.com/react-native-community/react-native-svg/compare/v13.8.0...v13.9.0)

Minor release introducing `marker` support for elements on `Android`,
adding accessibility props needed also for e2e testing and fixing many
issues in the repo 🎉 Thanks to all contributors!

#### What's Changed

- chore: update Example to newest react-native version by
[@&#8203;WoLewicki](https://github.com/WoLewicki) in
[https://github.com/software-mansion/react-native-svg/pull/1999](https://github.com/software-mansion/react-native-svg/pull/1999)
- Upgrade rn-builder-bob to enable tree-shaking in rn-web by
[@&#8203;merrywhether](https://github.com/merrywhether) in
[https://github.com/software-mansion/react-native-svg/pull/1993](https://github.com/software-mansion/react-native-svg/pull/1993)
- add accessibility and testId props and virtual nodes to support e2e
tests tools by [@&#8203;toter3](https://github.com/toter3) in
[https://github.com/software-mansion/react-native-svg/pull/2001](https://github.com/software-mansion/react-native-svg/pull/2001)
- fix onLayout by [@&#8203;toter3](https://github.com/toter3) in
[https://github.com/software-mansion/react-native-svg/pull/1998](https://github.com/software-mansion/react-native-svg/pull/1998)
- Don't set `self.opaque = false` on macOS by
[@&#8203;hsjoberg](https://github.com/hsjoberg) in
[https://github.com/software-mansion/react-native-svg/pull/2008](https://github.com/software-mansion/react-native-svg/pull/2008)
- Fix SVG parsing when the closing tags include whitespace by
[@&#8203;MichalSzorad](https://github.com/MichalSzorad) in
[https://github.com/software-mansion/react-native-svg/pull/2012](https://github.com/software-mansion/react-native-svg/pull/2012)
- chore: set library namespace in build script by
[@&#8203;kkafar](https://github.com/kkafar) in
[https://github.com/software-mansion/react-native-svg/pull/2005](https://github.com/software-mansion/react-native-svg/pull/2005)
- fix: make image props extend CommonPathProps by
[@&#8203;andev240](https://github.com/andev240) in
[https://github.com/software-mansion/react-native-svg/pull/2007](https://github.com/software-mansion/react-native-svg/pull/2007)
- fix: mask render on android by
[@&#8203;Aflexon](https://github.com/Aflexon) in
[https://github.com/software-mansion/react-native-svg/pull/1981](https://github.com/software-mansion/react-native-svg/pull/1981)
- fix: remove unnecessary methods provided by superclasses for
accessibility by [@&#8203;WoLewicki](https://github.com/WoLewicki) in
[https://github.com/software-mansion/react-native-svg/pull/2013](https://github.com/software-mansion/react-native-svg/pull/2013)
- chore(deps): bump http-cache-semantics from 4.1.0 to 4.1.1 by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/software-mansion/react-native-svg/pull/1982](https://github.com/software-mansion/react-native-svg/pull/1982)
- chore(deps): bump
[@&#8203;xmldom/xmldom](https://github.com/xmldom/xmldom) from 0.7.6
to 0.7.9 by [@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/software-mansion/react-native-svg/pull/2004](https://github.com/software-mansion/react-native-svg/pull/2004)
- fix
[#&#8203;1592](https://github.com/react-native-community/react-native-svg/issues/1592)
: add marker support on Rect, Line, Ellipse, Circle and Group by
[@&#8203;mlecoq](https://github.com/mlecoq) in
[https://github.com/software-mansion/react-native-svg/pull/1594](https://github.com/software-mansion/react-native-svg/pull/1594)
- fix: scale path markers so they match ios by
[@&#8203;WoLewicki](https://github.com/WoLewicki) in
[https://github.com/software-mansion/react-native-svg/pull/2018](https://github.com/software-mansion/react-native-svg/pull/2018)
- fix: read svg file on android by
[@&#8203;vicke4](https://github.com/vicke4) in
[https://github.com/software-mansion/react-native-svg/pull/2016](https://github.com/software-mansion/react-native-svg/pull/2016)

#### New Contributors

- [@&#8203;merrywhether](https://github.com/merrywhether) made their
first contribution in
[https://github.com/software-mansion/react-native-svg/pull/1993](https://github.com/software-mansion/react-native-svg/pull/1993)
- [@&#8203;toter3](https://github.com/toter3) made their first
contribution in
[https://github.com/software-mansion/react-native-svg/pull/2001](https://github.com/software-mansion/react-native-svg/pull/2001)
- [@&#8203;hsjoberg](https://github.com/hsjoberg) made their first
contribution in
[https://github.com/software-mansion/react-native-svg/pull/2008](https://github.com/software-mansion/react-native-svg/pull/2008)
- [@&#8203;MichalSzorad](https://github.com/MichalSzorad) made their
first contribution in
[https://github.com/software-mansion/react-native-svg/pull/2012](https://github.com/software-mansion/react-native-svg/pull/2012)
- [@&#8203;kkafar](https://github.com/kkafar) made their first
contribution in
[https://github.com/software-mansion/react-native-svg/pull/2005](https://github.com/software-mansion/react-native-svg/pull/2005)
- [@&#8203;andev240](https://github.com/andev240) made their first
contribution in
[https://github.com/software-mansion/react-native-svg/pull/2007](https://github.com/software-mansion/react-native-svg/pull/2007)
- [@&#8203;Aflexon](https://github.com/Aflexon) made their first
contribution in
[https://github.com/software-mansion/react-native-svg/pull/1981](https://github.com/software-mansion/react-native-svg/pull/1981)
- [@&#8203;mlecoq](https://github.com/mlecoq) made their first
contribution in
[https://github.com/software-mansion/react-native-svg/pull/1594](https://github.com/software-mansion/react-native-svg/pull/1594)
- [@&#8203;vicke4](https://github.com/vicke4) made their first
contribution in
[https://github.com/software-mansion/react-native-svg/pull/2016](https://github.com/software-mansion/react-native-svg/pull/2016)

**Full Changelog**:
software-mansion/react-native-svg@v13.8.0...v13.9.0

###
[`v13.8.0`](https://github.com/software-mansion/react-native-svg/releases/tag/v13.8.0)

[Compare
Source](https://github.com/react-native-community/react-native-svg/compare/v13.7.0...v13.8.0)

Minor release bringing Fabric support to RN v0.71 🎉

#### What's Changed

- feat: update FabricExample to 0.71.0-rc.6 by
[@&#8203;WoLewicki](https://github.com/WoLewicki) in
[https://github.com/software-mansion/react-native-svg/pull/1962](https://github.com/software-mansion/react-native-svg/pull/1962)
- chore: ensure consistent use of `import type` by
[@&#8203;tido64](https://github.com/tido64) in
[https://github.com/software-mansion/react-native-svg/pull/1971](https://github.com/software-mansion/react-native-svg/pull/1971)
- chore: change fabric flag by
[@&#8203;WoLewicki](https://github.com/WoLewicki) in
[https://github.com/software-mansion/react-native-svg/pull/1979](https://github.com/software-mansion/react-native-svg/pull/1979)

#### New Contributors

- [@&#8203;tido64](https://github.com/tido64) made their first
contribution in
[https://github.com/software-mansion/react-native-svg/pull/1971](https://github.com/software-mansion/react-native-svg/pull/1971)

**Full Changelog**:
software-mansion/react-native-svg@v13.7.0...v13.8.0

###
[`v13.7.0`](https://github.com/software-mansion/react-native-svg/releases/tag/v13.7.0)

[Compare
Source](https://github.com/react-native-community/react-native-svg/compare/v13.6.0...v13.7.0)

#### What's Changed

- Fix windows build issues by
[@&#8203;marlenecota](https://github.com/marlenecota) in
[https://github.com/software-mansion/react-native-svg/pull/1923](https://github.com/software-mansion/react-native-svg/pull/1923)
- fix: fill/stroke setters and implement currentColor on Windows by
[@&#8203;marlenecota](https://github.com/marlenecota) in
[https://github.com/software-mansion/react-native-svg/pull/1928](https://github.com/software-mansion/react-native-svg/pull/1928)
- refactor: remove circular dependency by
[@&#8203;Fasteel](https://github.com/Fasteel) in
[https://github.com/software-mansion/react-native-svg/pull/1929](https://github.com/software-mansion/react-native-svg/pull/1929)
- Include proguard config by
[@&#8203;heroic](https://github.com/heroic) in
[https://github.com/software-mansion/react-native-svg/pull/1842](https://github.com/software-mansion/react-native-svg/pull/1842)
- fix: accept comas in viewbox by
[@&#8203;WoLewicki](https://github.com/WoLewicki) in
[https://github.com/software-mansion/react-native-svg/pull/1952](https://github.com/software-mansion/react-native-svg/pull/1952)
- Fix nested SVGs in iOS
[#&#8203;1437](https://github.com/react-native-community/react-native-svg/issues/1437)
by [@&#8203;WoLewicki](https://github.com/WoLewicki) in
[https://github.com/software-mansion/react-native-svg/pull/1948](https://github.com/software-mansion/react-native-svg/pull/1948)
- fix: restore black as a default color for svgs by
[@&#8203;WoLewicki](https://github.com/WoLewicki) in
[https://github.com/software-mansion/react-native-svg/pull/1947](https://github.com/software-mansion/react-native-svg/pull/1947)
- feat(windows): add clipPath and touch events by
[@&#8203;marlenecota](https://github.com/marlenecota) in
[https://github.com/software-mansion/react-native-svg/pull/1933](https://github.com/software-mansion/react-native-svg/pull/1933)
- fix: Call onLoad prop in SvgCssUri by
[@&#8203;mantasio](https://github.com/mantasio) in
[https://github.com/software-mansion/react-native-svg/pull/1927](https://github.com/software-mansion/react-native-svg/pull/1927)
- feat(windows): add example app by
[@&#8203;marlenecota](https://github.com/marlenecota) in
[https://github.com/software-mansion/react-native-svg/pull/1937](https://github.com/software-mansion/react-native-svg/pull/1937)

#### New Contributors

- [@&#8203;Fasteel](https://github.com/Fasteel) made their first
contribution in
[https://github.com/software-mansion/react-native-svg/pull/1929](https://github.com/software-mansion/react-native-svg/pull/1929)
- [@&#8203;heroic](https://github.com/heroic) made their first
contribution in
[https://github.com/software-mansion/react-native-svg/pull/1842](https://github.com/software-mansion/react-native-svg/pull/1842)
- [@&#8203;mantasio](https://github.com/mantasio) made their first
contribution in
[https://github.com/software-mansion/react-native-svg/pull/1927](https://github.com/software-mansion/react-native-svg/pull/1927)

**Full Changelog**:
software-mansion/react-native-svg@v13.6.0...v13.7.0

###
[`v13.6.0`](https://github.com/software-mansion/react-native-svg/releases/tag/v13.6.0)

[Compare
Source](https://github.com/react-native-community/react-native-svg/compare/v13.5.0...v13.6.0)

Minor release fixing some bugs and introducing compatibility with Static
View Configs, Bridgeless Mode and maybe some more updated on `Fabric`.

#### What's Changed

- chore: remove formatting from blame by
[@&#8203;WoLewicki](https://github.com/WoLewicki) in
[https://github.com/software-mansion/react-native-svg/pull/1905](https://github.com/software-mansion/react-native-svg/pull/1905)
- feat: use codegenNativeComponent to import native views by
[@&#8203;WoLewicki](https://github.com/WoLewicki) in
[https://github.com/software-mansion/react-native-svg/pull/1847](https://github.com/software-mansion/react-native-svg/pull/1847)
- chore: add react-native-svg banner to README by
[@&#8203;kacperkapusciak](https://github.com/kacperkapusciak) in
[https://github.com/software-mansion/react-native-svg/pull/1909](https://github.com/software-mansion/react-native-svg/pull/1909)
- fix: make svg compile on older versions by
[@&#8203;WoLewicki](https://github.com/WoLewicki) in
[https://github.com/software-mansion/react-native-svg/pull/1907](https://github.com/software-mansion/react-native-svg/pull/1907)
- chore: update RN versions to 0.70.5 by
[@&#8203;WoLewicki](https://github.com/WoLewicki) in
[https://github.com/software-mansion/react-native-svg/pull/1910](https://github.com/software-mansion/react-native-svg/pull/1910)
- fix: update supported RN version to 0.64 by
[@&#8203;WoLewicki](https://github.com/WoLewicki) in
[https://github.com/software-mansion/react-native-svg/pull/1912](https://github.com/software-mansion/react-native-svg/pull/1912)
- chore: align examples by
[@&#8203;WoLewicki](https://github.com/WoLewicki) in
[https://github.com/software-mansion/react-native-svg/pull/1914](https://github.com/software-mansion/react-native-svg/pull/1914)
- chore: bump supported RN version for Fabric by
[@&#8203;WoLewicki](https://github.com/WoLewicki) in
[https://github.com/software-mansion/react-native-svg/pull/1913](https://github.com/software-mansion/react-native-svg/pull/1913)
- feat: use transform parsing code from rn core by
[@&#8203;WoLewicki](https://github.com/WoLewicki) in
[https://github.com/software-mansion/react-native-svg/pull/1918](https://github.com/software-mansion/react-native-svg/pull/1918)

#### New Contributors

- [@&#8203;kacperkapusciak](https://github.com/kacperkapusciak) made
their first contribution in
[https://github.com/software-mansion/react-native-svg/pull/1909](https://github.com/software-mansion/react-native-svg/pull/1909)

**Full Changelog**:
software-mansion/react-native-svg@v13.5.0...v13.6.0

###
[`v13.5.0`](https://github.com/react-native-community/react-native-svg/compare/v13.4.0...v13.5.0)

[Compare
Source](https://github.com/react-native-community/react-native-svg/compare/v13.4.0...v13.5.0)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/dooboolab-community/dooboo-ui).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS41Ny4wIiwidXBkYXRlZEluVmVyIjoiMzUuNTcuMCJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
hyochan referenced this pull request in hyochan/dooboo-ui Jun 20, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[react-native-svg](https://github.com/react-native-community/react-native-svg)
| [`13.4.0` ->
`13.9.0`](https://renovatebot.com/diffs/npm/react-native-svg/13.4.0/13.9.0)
|
[![age](https://badges.renovateapi.com/packages/npm/react-native-svg/13.9.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/react-native-svg/13.9.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/react-native-svg/13.9.0/compatibility-slim/13.4.0)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/react-native-svg/13.9.0/confidence-slim/13.4.0)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>react-native-community/react-native-svg</summary>

###
[`v13.9.0`](https://github.com/software-mansion/react-native-svg/releases/tag/v13.9.0)

[Compare
Source](https://github.com/react-native-community/react-native-svg/compare/v13.8.0...v13.9.0)

Minor release introducing `marker` support for elements on `Android`,
adding accessibility props needed also for e2e testing and fixing many
issues in the repo 🎉 Thanks to all contributors!

#### What's Changed

- chore: update Example to newest react-native version by
[@&#8203;WoLewicki](https://github.com/WoLewicki) in
[https://github.com/software-mansion/react-native-svg/pull/1999](https://github.com/software-mansion/react-native-svg/pull/1999)
- Upgrade rn-builder-bob to enable tree-shaking in rn-web by
[@&#8203;merrywhether](https://github.com/merrywhether) in
[https://github.com/software-mansion/react-native-svg/pull/1993](https://github.com/software-mansion/react-native-svg/pull/1993)
- add accessibility and testId props and virtual nodes to support e2e
tests tools by [@&#8203;toter3](https://github.com/toter3) in
[https://github.com/software-mansion/react-native-svg/pull/2001](https://github.com/software-mansion/react-native-svg/pull/2001)
- fix onLayout by [@&#8203;toter3](https://github.com/toter3) in
[https://github.com/software-mansion/react-native-svg/pull/1998](https://github.com/software-mansion/react-native-svg/pull/1998)
- Don't set `self.opaque = false` on macOS by
[@&#8203;hsjoberg](https://github.com/hsjoberg) in
[https://github.com/software-mansion/react-native-svg/pull/2008](https://github.com/software-mansion/react-native-svg/pull/2008)
- Fix SVG parsing when the closing tags include whitespace by
[@&#8203;MichalSzorad](https://github.com/MichalSzorad) in
[https://github.com/software-mansion/react-native-svg/pull/2012](https://github.com/software-mansion/react-native-svg/pull/2012)
- chore: set library namespace in build script by
[@&#8203;kkafar](https://github.com/kkafar) in
[https://github.com/software-mansion/react-native-svg/pull/2005](https://github.com/software-mansion/react-native-svg/pull/2005)
- fix: make image props extend CommonPathProps by
[@&#8203;andev240](https://github.com/andev240) in
[https://github.com/software-mansion/react-native-svg/pull/2007](https://github.com/software-mansion/react-native-svg/pull/2007)
- fix: mask render on android by
[@&#8203;Aflexon](https://github.com/Aflexon) in
[https://github.com/software-mansion/react-native-svg/pull/1981](https://github.com/software-mansion/react-native-svg/pull/1981)
- fix: remove unnecessary methods provided by superclasses for
accessibility by [@&#8203;WoLewicki](https://github.com/WoLewicki) in
[https://github.com/software-mansion/react-native-svg/pull/2013](https://github.com/software-mansion/react-native-svg/pull/2013)
- chore(deps): bump http-cache-semantics from 4.1.0 to 4.1.1 by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/software-mansion/react-native-svg/pull/1982](https://github.com/software-mansion/react-native-svg/pull/1982)
- chore(deps): bump
[@&#8203;xmldom/xmldom](https://github.com/xmldom/xmldom) from 0.7.6
to 0.7.9 by [@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/software-mansion/react-native-svg/pull/2004](https://github.com/software-mansion/react-native-svg/pull/2004)
- fix
[#&#8203;1592](https://github.com/react-native-community/react-native-svg/issues/1592)
: add marker support on Rect, Line, Ellipse, Circle and Group by
[@&#8203;mlecoq](https://github.com/mlecoq) in
[https://github.com/software-mansion/react-native-svg/pull/1594](https://github.com/software-mansion/react-native-svg/pull/1594)
- fix: scale path markers so they match ios by
[@&#8203;WoLewicki](https://github.com/WoLewicki) in
[https://github.com/software-mansion/react-native-svg/pull/2018](https://github.com/software-mansion/react-native-svg/pull/2018)
- fix: read svg file on android by
[@&#8203;vicke4](https://github.com/vicke4) in
[https://github.com/software-mansion/react-native-svg/pull/2016](https://github.com/software-mansion/react-native-svg/pull/2016)

#### New Contributors

- [@&#8203;merrywhether](https://github.com/merrywhether) made their
first contribution in
[https://github.com/software-mansion/react-native-svg/pull/1993](https://github.com/software-mansion/react-native-svg/pull/1993)
- [@&#8203;toter3](https://github.com/toter3) made their first
contribution in
[https://github.com/software-mansion/react-native-svg/pull/2001](https://github.com/software-mansion/react-native-svg/pull/2001)
- [@&#8203;hsjoberg](https://github.com/hsjoberg) made their first
contribution in
[https://github.com/software-mansion/react-native-svg/pull/2008](https://github.com/software-mansion/react-native-svg/pull/2008)
- [@&#8203;MichalSzorad](https://github.com/MichalSzorad) made their
first contribution in
[https://github.com/software-mansion/react-native-svg/pull/2012](https://github.com/software-mansion/react-native-svg/pull/2012)
- [@&#8203;kkafar](https://github.com/kkafar) made their first
contribution in
[https://github.com/software-mansion/react-native-svg/pull/2005](https://github.com/software-mansion/react-native-svg/pull/2005)
- [@&#8203;andev240](https://github.com/andev240) made their first
contribution in
[https://github.com/software-mansion/react-native-svg/pull/2007](https://github.com/software-mansion/react-native-svg/pull/2007)
- [@&#8203;Aflexon](https://github.com/Aflexon) made their first
contribution in
[https://github.com/software-mansion/react-native-svg/pull/1981](https://github.com/software-mansion/react-native-svg/pull/1981)
- [@&#8203;mlecoq](https://github.com/mlecoq) made their first
contribution in
[https://github.com/software-mansion/react-native-svg/pull/1594](https://github.com/software-mansion/react-native-svg/pull/1594)
- [@&#8203;vicke4](https://github.com/vicke4) made their first
contribution in
[https://github.com/software-mansion/react-native-svg/pull/2016](https://github.com/software-mansion/react-native-svg/pull/2016)

**Full Changelog**:
software-mansion/react-native-svg@v13.8.0...v13.9.0

###
[`v13.8.0`](https://github.com/software-mansion/react-native-svg/releases/tag/v13.8.0)

[Compare
Source](https://github.com/react-native-community/react-native-svg/compare/v13.7.0...v13.8.0)

Minor release bringing Fabric support to RN v0.71 🎉

#### What's Changed

- feat: update FabricExample to 0.71.0-rc.6 by
[@&#8203;WoLewicki](https://github.com/WoLewicki) in
[https://github.com/software-mansion/react-native-svg/pull/1962](https://github.com/software-mansion/react-native-svg/pull/1962)
- chore: ensure consistent use of `import type` by
[@&#8203;tido64](https://github.com/tido64) in
[https://github.com/software-mansion/react-native-svg/pull/1971](https://github.com/software-mansion/react-native-svg/pull/1971)
- chore: change fabric flag by
[@&#8203;WoLewicki](https://github.com/WoLewicki) in
[https://github.com/software-mansion/react-native-svg/pull/1979](https://github.com/software-mansion/react-native-svg/pull/1979)

#### New Contributors

- [@&#8203;tido64](https://github.com/tido64) made their first
contribution in
[https://github.com/software-mansion/react-native-svg/pull/1971](https://github.com/software-mansion/react-native-svg/pull/1971)

**Full Changelog**:
software-mansion/react-native-svg@v13.7.0...v13.8.0

###
[`v13.7.0`](https://github.com/software-mansion/react-native-svg/releases/tag/v13.7.0)

[Compare
Source](https://github.com/react-native-community/react-native-svg/compare/v13.6.0...v13.7.0)

#### What's Changed

- Fix windows build issues by
[@&#8203;marlenecota](https://github.com/marlenecota) in
[https://github.com/software-mansion/react-native-svg/pull/1923](https://github.com/software-mansion/react-native-svg/pull/1923)
- fix: fill/stroke setters and implement currentColor on Windows by
[@&#8203;marlenecota](https://github.com/marlenecota) in
[https://github.com/software-mansion/react-native-svg/pull/1928](https://github.com/software-mansion/react-native-svg/pull/1928)
- refactor: remove circular dependency by
[@&#8203;Fasteel](https://github.com/Fasteel) in
[https://github.com/software-mansion/react-native-svg/pull/1929](https://github.com/software-mansion/react-native-svg/pull/1929)
- Include proguard config by
[@&#8203;heroic](https://github.com/heroic) in
[https://github.com/software-mansion/react-native-svg/pull/1842](https://github.com/software-mansion/react-native-svg/pull/1842)
- fix: accept comas in viewbox by
[@&#8203;WoLewicki](https://github.com/WoLewicki) in
[https://github.com/software-mansion/react-native-svg/pull/1952](https://github.com/software-mansion/react-native-svg/pull/1952)
- Fix nested SVGs in iOS
[#&#8203;1437](https://github.com/react-native-community/react-native-svg/issues/1437)
by [@&#8203;WoLewicki](https://github.com/WoLewicki) in
[https://github.com/software-mansion/react-native-svg/pull/1948](https://github.com/software-mansion/react-native-svg/pull/1948)
- fix: restore black as a default color for svgs by
[@&#8203;WoLewicki](https://github.com/WoLewicki) in
[https://github.com/software-mansion/react-native-svg/pull/1947](https://github.com/software-mansion/react-native-svg/pull/1947)
- feat(windows): add clipPath and touch events by
[@&#8203;marlenecota](https://github.com/marlenecota) in
[https://github.com/software-mansion/react-native-svg/pull/1933](https://github.com/software-mansion/react-native-svg/pull/1933)
- fix: Call onLoad prop in SvgCssUri by
[@&#8203;mantasio](https://github.com/mantasio) in
[https://github.com/software-mansion/react-native-svg/pull/1927](https://github.com/software-mansion/react-native-svg/pull/1927)
- feat(windows): add example app by
[@&#8203;marlenecota](https://github.com/marlenecota) in
[https://github.com/software-mansion/react-native-svg/pull/1937](https://github.com/software-mansion/react-native-svg/pull/1937)

#### New Contributors

- [@&#8203;Fasteel](https://github.com/Fasteel) made their first
contribution in
[https://github.com/software-mansion/react-native-svg/pull/1929](https://github.com/software-mansion/react-native-svg/pull/1929)
- [@&#8203;heroic](https://github.com/heroic) made their first
contribution in
[https://github.com/software-mansion/react-native-svg/pull/1842](https://github.com/software-mansion/react-native-svg/pull/1842)
- [@&#8203;mantasio](https://github.com/mantasio) made their first
contribution in
[https://github.com/software-mansion/react-native-svg/pull/1927](https://github.com/software-mansion/react-native-svg/pull/1927)

**Full Changelog**:
software-mansion/react-native-svg@v13.6.0...v13.7.0

###
[`v13.6.0`](https://github.com/software-mansion/react-native-svg/releases/tag/v13.6.0)

[Compare
Source](https://github.com/react-native-community/react-native-svg/compare/v13.5.0...v13.6.0)

Minor release fixing some bugs and introducing compatibility with Static
View Configs, Bridgeless Mode and maybe some more updated on `Fabric`.

#### What's Changed

- chore: remove formatting from blame by
[@&#8203;WoLewicki](https://github.com/WoLewicki) in
[https://github.com/software-mansion/react-native-svg/pull/1905](https://github.com/software-mansion/react-native-svg/pull/1905)
- feat: use codegenNativeComponent to import native views by
[@&#8203;WoLewicki](https://github.com/WoLewicki) in
[https://github.com/software-mansion/react-native-svg/pull/1847](https://github.com/software-mansion/react-native-svg/pull/1847)
- chore: add react-native-svg banner to README by
[@&#8203;kacperkapusciak](https://github.com/kacperkapusciak) in
[https://github.com/software-mansion/react-native-svg/pull/1909](https://github.com/software-mansion/react-native-svg/pull/1909)
- fix: make svg compile on older versions by
[@&#8203;WoLewicki](https://github.com/WoLewicki) in
[https://github.com/software-mansion/react-native-svg/pull/1907](https://github.com/software-mansion/react-native-svg/pull/1907)
- chore: update RN versions to 0.70.5 by
[@&#8203;WoLewicki](https://github.com/WoLewicki) in
[https://github.com/software-mansion/react-native-svg/pull/1910](https://github.com/software-mansion/react-native-svg/pull/1910)
- fix: update supported RN version to 0.64 by
[@&#8203;WoLewicki](https://github.com/WoLewicki) in
[https://github.com/software-mansion/react-native-svg/pull/1912](https://github.com/software-mansion/react-native-svg/pull/1912)
- chore: align examples by
[@&#8203;WoLewicki](https://github.com/WoLewicki) in
[https://github.com/software-mansion/react-native-svg/pull/1914](https://github.com/software-mansion/react-native-svg/pull/1914)
- chore: bump supported RN version for Fabric by
[@&#8203;WoLewicki](https://github.com/WoLewicki) in
[https://github.com/software-mansion/react-native-svg/pull/1913](https://github.com/software-mansion/react-native-svg/pull/1913)
- feat: use transform parsing code from rn core by
[@&#8203;WoLewicki](https://github.com/WoLewicki) in
[https://github.com/software-mansion/react-native-svg/pull/1918](https://github.com/software-mansion/react-native-svg/pull/1918)

#### New Contributors

- [@&#8203;kacperkapusciak](https://github.com/kacperkapusciak) made
their first contribution in
[https://github.com/software-mansion/react-native-svg/pull/1909](https://github.com/software-mansion/react-native-svg/pull/1909)

**Full Changelog**:
software-mansion/react-native-svg@v13.5.0...v13.6.0

###
[`v13.5.0`](https://github.com/react-native-community/react-native-svg/compare/v13.4.0...v13.5.0)

[Compare
Source](https://github.com/react-native-community/react-native-svg/compare/v13.4.0...v13.5.0)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/dooboolab-community/dooboo-ui).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMTcuMyIsInVwZGF0ZWRJblZlciI6IjM1LjEzMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Marker - display issues on android
7 participants