Skip to content

Commit

Permalink
Remove warning about undefined native version
Browse files Browse the repository at this point in the history
  • Loading branch information
piaskowyk committed Jan 25, 2024
1 parent afb9360 commit 641eda2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-reanimated",
"version": "3.6.1",
"version": "3.6.2",
"description": "More powerful alternative to Animated library for React Native.",
"scripts": {
"test": "yarn run format:js && yarn run lint:js && yarn run test:unit",
Expand Down
4 changes: 0 additions & 4 deletions src/reanimated2/platform-specific/checkCppVersion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ import { jsVersion } from './jsVersion';
export function checkCppVersion() {
const cppVersion = global._REANIMATED_VERSION_CPP;
if (cppVersion === undefined) {
console.warn(
`[Reanimated] Couldn't determine the version of the native part of Reanimated.
See \`https://docs.swmansion.com/react-native-reanimated/docs/guides/troubleshooting#couldnt-determine-the-version-of-the-native-part-of-reanimated\` for more details.`
);
return;
}
const ok = matchVersion(jsVersion, cppVersion);
Expand Down
2 changes: 1 addition & 1 deletion src/reanimated2/platform-specific/jsVersion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
* with the version used to build the native part of the library in runtime.
* Remember to keep this in sync with the version declared in `package.json`
*/
export const jsVersion = '3.6.1';
export const jsVersion = '3.6.2';

0 comments on commit 641eda2

Please sign in to comment.