You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 9, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Jul 9, 2026. It is now read-only.
Describe the bug
Red banner on startup in the example app on Android.
To Reproduce
Steps to reproduce the behavior:
Start the example gutenberg-mobile Example App.
Notice the red banner mentioning RNSCGPath, seen in the screenshot below.
Screenshots
Additional context
This error was showing up on branches/commits that were previously working, and is likely related to a change in the build environment/workflow. This error is showing on Android only.
the problem goes away. One important qualifier is that I had to build with ./gradlew clean installWasabiDebug --no-build-cache to get the fix to take effect. Anything less and the error would remain.
Of course, we don't want to hardcode the RN version, and it actually looks like we may already have that addressed on the master branch of our react-native-svg fork:
Although this issue is only currently causing us trouble in react-native-svg, we should probably lock down the RN version for all of our forked RN libraries so they don't cause us similar problems in the future (for example).
Although this issue is only currently causing us trouble in react-native-svg, we should probably lock down the RN version for all of our forked RN libraries so they don't cause us similar problems in the future (for example).
We have at least one report (thanks @kmdupr33) that after react-native-svg is fixed that we run into a problem with react-native-video almost immediately afterwards. Our fork for that video library already has the safeExtGet code mentioned above in its gradle file.
So basically I agree @mchowning we should try and address the unspecified versions all at once, and likely using safeExtGet, but double check how our reactNativeVersion is being populated.
Activity
mchowning commentedon Dec 20, 2019
I believe this error is occurring because
react-native-svgis dynamically pulling in the latest available RN version in its build.gradle file:If I replace that with
the problem goes away. One important qualifier is that I had to build with
./gradlew clean installWasabiDebug --no-build-cacheto get the fix to take effect. Anything less and the error would remain.Of course, we don't want to hardcode the RN version, and it actually looks like we may already have that addressed on the master branch of our
react-native-svgfork:but we aren't using that in
gutenberg-mobile, and I havne't had a chance to test that out.mchowning commentedon Dec 20, 2019
Although this issue is only currently causing us trouble in
react-native-svg, we should probably lock down the RN version for all of our forked RN libraries so they don't cause us similar problems in the future (for example).cameronvoell commentedon Dec 20, 2019
We have at least one report (thanks @kmdupr33) that after
react-native-svgis fixed that we run into a problem withreact-native-videoalmost immediately afterwards. Our fork for that video library already has thesafeExtGetcode mentioned above in its gradle file.So basically I agree @mchowning we should try and address the unspecified versions all at once, and likely using
safeExtGet, but double check how ourreactNativeVersionis being populated.Upgrade the SVG lib to fix #1703