question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

G rotation different behaviour on android release mode #1662

See original GitHub issue

NB Never post screenshots of code. Post copy paste-able code if you include any. Ignoring this will likely lead to direct closing of the issue. Please respect the time and energy of open source maintainers.

Bug

Please provide a clear and concise description of what the bug is. Include screenshots if needed. Please test using the latest release of the library, as maybe said bug has been already fixed.

Unexpected behavior

If you have unexpected behavior, please create a clean project with the latest versions of react-native and react-native-svg

react-native init CleanProject
cd CleanProject/
yarn add react-native-svg
cd ios && pod install && cd ..
modify App.js -> run the app

If it’s still an issue with the latest versions, please make an sscce in the clean project, and make it available as a git repo on github. Or as a https://snack.expo.io/ if expo has the latest version, and / or the bug exists both in the latest version and the one used in expo and snack.

Environment info

Run react-native info in your terminal and copy the results here. Also, include the precise version number of this library that you are using in the project

React native info output:

 // paste it here

Library version: x.x.x

Steps To Reproduce

Issues without reproduction steps or code are likely to stall.

  1. git clone https://github.com/user/rnsvg-bug-repro
  2. cd rnsvg-bug-repro
  3. yarn
  4. yarn ios
  5. yarn android

Describe what you expected to happen:

Short, Self Contained, Correct (Compilable), Example

If you are having a problem with some code and seeking help, preparing a Short, Self Contained, Correct Example (SSCCE) is very useful. But what is an SSCCE?

It is all in the name, really. Take a look at each part. The version prepared for others to see should be:

Short (Small) - Minimise bandwidth for the example, do not bore the audience. Self Contained - Ensure everything is included, ready to go. Correct - Copy, paste, (compile,) see is the aim. Example - Displays the problem we are trying to solve.

http://www.sscce.org/

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
vinaysglcommented, Jul 5, 2022

Disabling Hermes and then cd android ./gradlew clean fixes it

0reactions
bibekpaudyal1commented, Jul 5, 2022

Iam using Expo to create the app . How do i disable Hermes and clean the ./gredlew?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Android - different behaviour in release signed build?
The "weird" activity flow is different between debug and release mode because of Intent's launch mode. When you're in debug, you press the...
Read more >
Behavior changes: all apps - Android Developers
The Android 12 platform includes behavior changes that may affect your app. The following behavior changes apply to all apps when they run...
Read more >
Sensors Overview - Android Developers
For example, a game might track readings from a device's gravity sensor to infer complex user gestures and motions, such as tilt, shake,...
Read more >
Behavior changes: all apps - Android Developers
If your app performs read operations into memory segments marked as execute-only – whether from bug, vulnerability, or intentional memory inspection – the ......
Read more >
Android 12 - Android Developers
Toggle behavior changes at runtime to isolate issues. Update your app — targeting Android 12 if possible, test with users using beta channels...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found