diff --git a/packages/expo-gl-cpp/android/dist/arm64-v8a/libexpo-gl.so b/packages/expo-gl-cpp/android/dist/arm64-v8a/libexpo-gl.so index aed71322310939..6a0a61441eb0c0 100755 Binary files a/packages/expo-gl-cpp/android/dist/arm64-v8a/libexpo-gl.so and b/packages/expo-gl-cpp/android/dist/arm64-v8a/libexpo-gl.so differ diff --git a/packages/expo-gl-cpp/android/dist/armeabi-v7a/libexpo-gl.so b/packages/expo-gl-cpp/android/dist/armeabi-v7a/libexpo-gl.so index d14dd3e594de76..ab4fb73c3e4cc8 100755 Binary files a/packages/expo-gl-cpp/android/dist/armeabi-v7a/libexpo-gl.so and b/packages/expo-gl-cpp/android/dist/armeabi-v7a/libexpo-gl.so differ diff --git a/packages/expo-gl-cpp/android/dist/x86/libexpo-gl.so b/packages/expo-gl-cpp/android/dist/x86/libexpo-gl.so index c67b207b812cdd..a483f47478f81d 100755 Binary files a/packages/expo-gl-cpp/android/dist/x86/libexpo-gl.so and b/packages/expo-gl-cpp/android/dist/x86/libexpo-gl.so differ diff --git a/packages/expo-gl-cpp/android/dist/x86_64/libexpo-gl.so b/packages/expo-gl-cpp/android/dist/x86_64/libexpo-gl.so index 3a5a27712d0727..4170b12d94fbbd 100755 Binary files a/packages/expo-gl-cpp/android/dist/x86_64/libexpo-gl.so and b/packages/expo-gl-cpp/android/dist/x86_64/libexpo-gl.so differ diff --git a/packages/expo-gl-cpp/cpp/EXGLContext.cpp b/packages/expo-gl-cpp/cpp/EXGLContext.cpp index 433622b1d5bf54..7fdc8d83b0a961 100644 --- a/packages/expo-gl-cpp/cpp/EXGLContext.cpp +++ b/packages/expo-gl-cpp/cpp/EXGLContext.cpp @@ -48,9 +48,7 @@ UEXGLContextId EXGLContext::ContextCreate(JSGlobalContextRef jsCtx) { jsEXGLContextMap = JSObjectMake(jsCtx, nullptr, nullptr); EXJSObjectSetValueWithUTF8CStringName(jsCtx, jsGlobal, "__EXGLContexts", jsEXGLContextMap); } - std::stringstream ss; - ss << exglCtxId; - auto exglCtxIdStr = ss.str(); + auto exglCtxIdStr = std::to_string(exglCtxId); EXJSObjectSetValueWithUTF8CStringName(jsCtx, jsEXGLContextMap, exglCtxIdStr.c_str(), exglCtx->getJSObject()); diff --git a/packages/expo-gl/CHANGELOG.md b/packages/expo-gl/CHANGELOG.md index 03ae51adec324d..9b14b7a21da204 100644 --- a/packages/expo-gl/CHANGELOG.md +++ b/packages/expo-gl/CHANGELOG.md @@ -10,5 +10,6 @@ ### 🐛 Bug fixes +- Fix crash in React Native 0.62 when creating a context. ([#8352](https://github.com/expo/expo/pull/8352) by [@wkozyra95](https://github.com/wkozyra95)) - Allow createElement & unstable_createElement usage for web. ([#7995](https://github.com/expo/expo/pull/7995) by [@wood1986](https://github.com/wood1986)) - Fix depth/stencil buffers not working correctly with `three.js`. ([#7543](https://github.com/expo/expo/pull/7543) by [@tsapeta](https://github.com/tsapeta))