title: Using animated.view with shared element in react-native
body: <p>Today I noticed something very strange with react native <code>react-navigation-shared-element</code> and <code>reanimated 2.5.0</code> . So my problem is when i use animated view in shared element i got this error <code>Error: You attempted to set the key waitForRemoveSync with the value true on an object that is meant to be immutable and has been frozen.</code>  on Android, on IOS there is no problem . So my code so far</p>
  <pre><code>        &lt;SharedElement id=&quot;image&quot;&gt;
            &lt;Animated.View
              style={[
                {
                  alignItems: &quot;center&quot;,
                  justifyContent: &quot;center&quot;,
                  width: 64,
                  height: 64,
                  borderRadius: 64,
                  backgroundColor: &quot;yellow&quot;,
                },
                defaultSpringStyles,
              ]}
            &gt;
              &lt;AntDesign name={&quot;edit&quot;} size={22} color={&quot;#fff&quot;} /&gt;
            &lt;/Animated.View&gt;
          &lt;/SharedElement&gt;
  </code></pre>
  <p><a href="https://i.stack.imgur.com/3MJz7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3MJz7.png" alt="image" /></a></p>
  <p>So is there any way that i can use <code>animated.view</code> in <code>ShraedElement</code></p>